![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ShaderPermutation.h>
Public Types | |
| using | Type = int32 |
Static Public Member Functions | |
| static int32 | ToDimensionValueId (Type E) |
| static Type | FromDimensionValueId (int32 PermutationId) |
Static Public Attributes | |
| static constexpr int32 | PermutationCount = 0 |
| static constexpr bool | IsMultiDimensional = false |
Defines at compile time a permutation dimension made of specific int32.
| using TShaderPermutationSparseInt< Ts >::Type = int32 |
Setup the dimension's type in permutation domain as integer.
|
inlinestatic |
Converts dimension's value id to dimension's integer value (exact reciprocal of ToDimensionValueId).
|
inlinestatic |
Converts dimension's integer value to dimension's value id, bu in this case fail because the dimension value was wrong.
|
staticconstexpr |
Setup the dimension as non multi-dimensional, so that the ModifyCompilationEnvironement's define can conventily be set up in SHADER_PERMUTATION_SPARSE_INT.
|
staticconstexpr |
Setup the dimension's number of permutation.