Defines at compile time a permutation dimension made of int32 from 0 to N -1. 更多...
#include <ShaderPermutation.h>
Public 类型 | |
| using | Type = TType |
| Setup the dimension's type in permutation domain as integer. | |
静态 Public 成员函数 | |
| static Type | FromDimensionValueId (int32 PermutationId) |
| Converts dimension's value id to dimension's integer value (exact reciprocal of ToDimensionValueId). | |
| static int32 | ToDefineValue (Type E) |
| Pass down a int32 to FShaderCompilerEnvironment::SetDefine() even for contiguous enum classes. | |
| static int32 | ToDimensionValueId (Type E) |
| Converts dimension's integer value to dimension's value id. | |
静态 Public 属性 | |
| static constexpr bool | IsMultiDimensional = false |
| Setup the dimension as non multi-dimensional, so that the ModifyCompilationEnvironement's define can conventily be set up in SHADER_PERMUTATION_INT. | |
| static constexpr Type | MinValue = static_cast<Type>(TFirstValue) |
| Min and max values. | |
| static constexpr int32 | PermutationCount = TDimensionSize |
| Setup the dimension's number of permutation. | |
Defines at compile time a permutation dimension made of int32 from 0 to N -1.