Module |
|
Header |
/Engine/Source/Runtime/RenderCore/Public/ShaderPermutation.h |
Include |
#include "ShaderPermutation.h" |
struct FShaderPermutationBool
Defines at compile time a boolean permutation dimension.
Name | Description | ||
---|---|---|---|
|
FromDimensionValueId ( |
Converts dimension's value id to dimension boolean value (exact reciprocal of ToDimensionValueId). |
|
|
ToDefineValue ( |
Pass down a boolean to FShaderCompilerEnvironment::SetDefine(). |
|
|
ToDimensionValueId ( |
Converts dimension boolean value to dimension's value id. |
Name |
Description |
---|---|
Type |
Setup the dimension's type in permutation domain as boolean. |
Name |
Description |
---|---|
IsMultiDimensional |
Setup the dimension as non multi-dimensional, so that the ModifyCompilationEnvironement's define can conventily be set up in SHADER_PERMUTATION_BOOL. |
PermutationCount |
Setup the dimension's number of permutation. |