#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 96 of file VOP_Types.h.
| #define VOP_CONTEXT_TYPE_INVALID 0 |
Definition at line 118 of file VOP_Types.h.
Definition at line 97 of file VOP_Types.h.
Definition at line 98 of file VOP_Types.h.
Definition at line 99 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 117 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 125 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 and the language type.
| 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.
1.5.9