|
HDK
|
Include dependency graph for VEX_VexTypes.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | ENUM_TO_MASK(TOKEN) TOKEN = (1 << TOKEN##_ENUM) |
| #define | VEX_SHADING_CONTEXT |
| #define | VEX_OP_CONTEXT |
| #define | VEX_ALL_CONTEXT |
Typedefs | |
| using | VEX_ContextTypeList = UT_Array< VEX_ContextType > |
Functions | |
| SYS_STATIC_ASSERT (VEX_MAX_CONTEXT_ENUM<=32) | |
| SYS_STATIC_ASSERT (VEX_CG_MAX_ENUMS<=32) | |
| SYS_STATIC_ASSERT (VEX_SPECIALIZE_MAX_ENUMS<=32) | |
| #define ENUM_TO_MASK | ( | TOKEN | ) | TOKEN = (1 << TOKEN##_ENUM) |
VEX is used in various contexts. Each context has its own set of functions and variables available. The enum::VEX_ContextType can be used to limit the VEX operator to a specific set of contexts. Contexts can be or'ed together.
Definition at line 60 of file VEX_VexTypes.h.
| #define VEX_ALL_CONTEXT |
Definition at line 94 of file VEX_VexTypes.h.
| #define VEX_OP_CONTEXT |
Definition at line 88 of file VEX_VexTypes.h.
| #define VEX_SHADING_CONTEXT |
Definition at line 80 of file VEX_VexTypes.h.
| using VEX_ContextTypeList = UT_Array<VEX_ContextType> |
Definition at line 77 of file VEX_VexTypes.h.
| enum VEX_CodeGenFlags |
VEX code generation flags when calling VEX_VexResolver::getVflCode.
| Enumerator | |
|---|---|
| VEX_CG_DEFAULT | |
| ENUM_TO_MASK | |
| ENUM_TO_MASK | |
| ENUM_TO_MASK | |
| ENUM_TO_MASK | |
| ENUM_TO_MASK | |
| ENUM_TO_MASK | |
| ENUM_TO_MASK | |
| ENUM_TO_MASK | |
| ENUM_TO_MASK | |
| ENUM_TO_MASK | |
Definition at line 143 of file VEX_VexTypes.h.
| enum VEX_CodeGenFlagsEnum |
| Enumerator | |
|---|---|
| VEX_CG_OMIT_PRAGMAS_ENUM |
Don't write out #pragmas. |
| VEX_CG_ADD_NODE_LINE_HINTS_ENUM |
Add line hints for determining the generator node of each code section. |
| VEX_CG_OMIT_COMMENTS_ENUM |
Don't add extra comments to the code (header, origin markers, etc.) |
| VEX_CG_CALL_ENCAPSULATED_SHADERS_ENUM |
Generate shader calls for encapsulated shaders. The encapsulated shaders are not a part of the resulting code from VEX_VexResolver::getVflCode. Instead, call VEX_VexResolver::getDependencies to get the list of shaders that will be called. If this flag is not used, the encapsulated code will be embedded in the resulting code and a direct function call used instead. |
| VEX_CG_NO_EMPTY_CODE_ENUM |
Don't output empty boilerplate code if the real code generation failed. |
| VEX_CG_OMIT_HEADER_COMMENT_ENUM |
Don't add any header comment to the code. |
| VEX_CG_OMIT_SHADER_DEFINES_ENUM |
Don't add any shader #defines to the code. |
| VEX_CG_IGNORE_ERRORS_ENUM |
Ignore any errors in the VOP network when generating the code. |
| VEX_CG_NO_SHADER_IMPORT_CHECK_ENUM |
Don't check if the imported shader actually exists. |
| VEX_CG_AUTO_PROMOTE_FILE_VARS_ENUM |
Promote any file path literals to a shader function parameter. |
| VEX_CG_MAX_ENUMS | |
Definition at line 101 of file VEX_VexTypes.h.
| enum VEX_ContextType |
| Enumerator | |
|---|---|
| VEX_INVALID_CONTEXT | |
| ENUM_TO_MASK | |
| ENUM_TO_MASK | |
| ENUM_TO_MASK | |
| ENUM_TO_MASK | |
| ENUM_TO_MASK | |
| ENUM_TO_MASK | |
| ENUM_TO_MASK | |
| ENUM_TO_MASK | |
| ENUM_TO_MASK | |
| ENUM_TO_MASK | |
Definition at line 61 of file VEX_VexTypes.h.
| enum VEX_ContextTypeEnum |
Definition at line 38 of file VEX_VexTypes.h.
| enum VEX_SpecializeFlags |
| Enumerator | |
|---|---|
| VEX_SPECIALIZE_NONE | |
| ENUM_TO_MASK | |
| ENUM_TO_MASK | |
| ENUM_TO_MASK | |
| ENUM_TO_MASK | |
| ENUM_TO_MASK | |
| ENUM_TO_MASK | |
| ENUM_TO_MASK | |
Definition at line 180 of file VEX_VexTypes.h.
Definition at line 166 of file VEX_VexTypes.h.
| enum VEX_Type |
VEX variable types.
Definition at line 18 of file VEX_VexTypes.h.
| SYS_STATIC_ASSERT | ( | VEX_MAX_CONTEXT_ENUM<= | 32 | ) |
| SYS_STATIC_ASSERT | ( | VEX_CG_MAX_ENUMS<= | 32 | ) |
| SYS_STATIC_ASSERT | ( | VEX_SPECIALIZE_MAX_ENUMS<= | 32 | ) |