#include "VOP_API.h"#include <VEX/VEX_VexTypes.h>#include <VEX/VEX_RslTypes.h>Go to the source code of this file.
Definition at line 105 of file VOP_Types.h.
| #define VOP_CONTEXT_TYPE_INVALID 0 |
Definition at line 133 of file VOP_Types.h.
Definition at line 106 of file VOP_Types.h.
Definition at line 107 of file VOP_Types.h.
Definition at line 108 of file VOP_Types.h.
| typedef int VOP_ContextType |
A generic shader context type that can be interpreted as VEX_ContextType or RSL_ContextType
Definition at line 132 of file VOP_Types.h.
| enum VOP_LanguageType |
Defines the known languages. Each of the languages has own set of context types.
Definition at line 140 of file VOP_Types.h.
| enum VOP_Type |
Definition at line 30 of file VOP_Types.h.
| VOP_API bool isValidPassThroughType | ( | VOP_Type | type | ) |
| VOP_API VOP_ContextType VOPconvertToContextType | ( | RSL_ContextType | type | ) |
Utility function to turn RSL_ContextType into VOP_ContextType.
| VOP_API VOP_ContextType VOPconvertToContextType | ( | VEX_ContextType | type | ) |
Utility function to turn VEX_ContextType into VOP_ContextType.
| VOP_API VOP_ContextType VOPconvertToContextType | ( | const char * | context_name, | |
| VOP_LanguageType | language | |||
| ) |
Utility function to find out the context type based on the token name (plus the language type), and vice versa.
| VOP_API VOP_ContextType VOPconvertToContextType | ( | VOP_Type | shader_type, | |
| VOP_LanguageType | language | |||
| ) |
Converts the 'shader_type' based on a language to a VEX or RSL context type encoded into the returned value of VOP_ContextType.
| VOP_API RSL_ContextType VOPconvertToRslContextType | ( | VOP_ContextType | type | ) |
Utility function to turn VOP_ContextType into RSL_ContextType.
| VOP_API RSL_ContextType VOPconvertToRslContextType | ( | VOP_Type | shader_type | ) |
Converts a VOP shader type to a corresponding RSL context type.
| VOP_API VOP_Type VOPconvertToShaderType | ( | VOP_ContextType | type, | |
| VOP_LanguageType | language | |||
| ) |
Converts the context type to a 'shader type'.
| VOP_API VOP_Type VOPconvertToShaderType | ( | RSL_ContextType | type | ) |
Converts a RSL context type to a corresponding VOP shader type.
| VOP_API VOP_Type VOPconvertToShaderType | ( | VEX_ContextType | type | ) |
Converts a VEX context type to a corresponding VOP shader type.
| VOP_API VEX_ContextType VOPconvertToVexContextType | ( | VOP_ContextType | type | ) |
Utility function to turn VOP_ContextType into VEX_ContextType.
| VOP_API VEX_ContextType VOPconvertToVexContextType | ( | VOP_Type | shader_type | ) |
Converts a VOP shader type to a corresponding VEX context type.
| VOP_API const char* VOPgetContextTypeLabel | ( | VOP_ContextType | context_type, | |
| VOP_LanguageType | language | |||
| ) |
Utility function to find out the context type based on the token name (plus the language type), and vice versa.
| VOP_API const char* VOPgetContextTypeName | ( | VOP_ContextType | context_type, | |
| VOP_LanguageType | language | |||
| ) |
Utility function to find out the context type based on the token name (plus the language type), and vice versa.
| VOP_API int VOPgetTypeSize | ( | VOP_Type | type | ) |
Returns the approximate number of fields in a type. For float, for example, returns 1, for color - 3. For arrays and strings returns 1.
| VOP_API bool VOPisArrayType | ( | VOP_Type | type | ) |
Returns true if the type is some kind of an array, and false otherwise.
1.5.9