21 template <
typename T>
class UT_Array;
146 #define VOP_BASE_TYPE(type) ((VOP_Type)(type&(VOP_TYPE_UNIFORM_MODIFIER-1)))
147 #define VOP_GET_MODIFIER(type) ((VOP_Type)(type&VOP_TYPE_UNIFORM_MODIFIER))
148 #define VOP_INVALID_TYPE(type) ((type)==VOP_TYPE_UNDEF||(type)==VOP_TYPE_ERROR)
149 #define VOP_VALID_TYPE(type) (!VOP_INVALID_TYPE(type))
178 #define VOP_CONTEXT_TYPE_INVALID 0
VOP_API const char * VOPgetContextTypeName(VOP_ContextType context_type, VOP_LanguageType language)
VOP_API const char * VOPgetContextTypeLabel(VOP_ContextType context_type, VOP_LanguageType language)
VOP_API RSL_ContextType VOPconvertToRslContextType(VOP_Type shader_type)
Utility function to convert between lowel level contexts and shader type.
VOP_API VOP_Type VOPgetArrayTypeFromElement(VOP_Type element_type)
VOP_API VOP_Type VOPgetShaderType(const char *name)
VOP_API const char * VOPgetShaderTypeName(VOP_Type type)
VOP_API VEX_ContextType VOPconvertToVexContextType(VOP_Type shader_type)
Utility function to convert between lowel level contexts and shader type.
VOP_API void VOPgetShaderTypes(UT_Array< VOP_Type > &types)
UT_Array< VOP_ContextType > VOP_ContextTypeList
A definition of the context type list.
VOP_API OSL_ContextType VOPconvertToOslContextType(VOP_Type shader_type)
Utility function to convert between lowel level contexts and shader type.
VOP_API const char * VOPgetShaderTypeLabel(VOP_Type type)
VOP_API bool VOPisArrayType(VOP_Type type)
Returns true if the type is some kind of an array, and false otherwise.
GLuint const GLchar * name
OSL_ContextType
RenderMan shader context types.
VOP_API bool isValidPassThroughType(VOP_Type type)
VOP_Type
Enumeration of the built-in (basic) VOP data types.
RSL_ContextType
RenderMan shader context types.
GLsizei GLenum GLenum * types
UT_Array< VOP_Type > VOP_ShaderTypeList
VOP_API VOP_Type VOPgetElementTypeFromArray(VOP_Type array_type)
VOP_API VOP_ContextType VOPconvertToContextType(VOP_Type shader_type, VOP_LanguageType language)
VOP_API VOP_Type VOPconvertToShaderType(VEX_ContextType type)
Utility function to convert between lowel level contexts and shader type.