Navigation
API > API/Runtime > API/Runtime/RenderCore
Defines at compile time a boolean permutation dimension.
| Name | FShaderPermutationBool |
| Type | struct |
| Header File | /Engine/Source/Runtime/RenderCore/Public/ShaderPermutation.h |
| Include Path | #include "ShaderPermutation.h" |
Syntax
struct FShaderPermutationBool
Derived Classes
FShaderPermutationBool derived class hierarchy
- FBinkDrawICtCpPS::FALPHA
- FBinkDrawICtCpPS::FST2084
- FBinkDrawICtCpPS::FTONEMAP
- FBinkDrawYCbCrPS::FALPHA
- FBinkDrawYCbCrPS::FSRGB
- FCopyCompressCS::FDestSrgb
- FCopyCompressCS::FSourceTextureSelector
- FCopyResidentBricksCS::FHasSkyBentNormal
- FCubemapTexturePropertiesPS::FCubeArray
- FCubemapTexturePropertiesPS::FHDROutput
- FPixelShaderUtils::FRasterizeToRectsVS::FRectUV
- FRibbonHasFullRibbonID
- FRibbonHasHighSliceComplexity
- FRibbonHasRibbonID
- FRibbonHasTwist
- FRibbonLinkIsFloat
- FRibbonWantsAutomaticTessellation
- FRibbonWantsConstantTessellation
- TOneColorPixelShaderMRT::TOneColorPixelShader128bitRT
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Type | bool | Setup the dimension's type in permutation domain as boolean. | ShaderPermutation.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| IsMultiDimensional | bool | Setup the dimension as non multi-dimensional, so that the ModifyCompilationEnvironement's define can conventily be set up in SHADER_PERMUTATION_BOOL. | ShaderPermutation.h |
| PermutationCount | int32 | Setup the dimension's number of permutation. | ShaderPermutation.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static Type FromDimensionValueId
(
int32 PermutationId |
Converts dimension's value id to dimension boolean value (exact reciprocal of ToDimensionValueId). | ShaderPermutation.h | |
static bool ToDefineValue
(
Type E |
Pass down a boolean to FShaderCompilerEnvironment::SetDefine(). | ShaderPermutation.h | |
static int32 ToDimensionValueId
(
Type E |
Converts dimension boolean value to dimension's value id. | ShaderPermutation.h |