FShaderPermutationBool

Defines at compile time a boolean permutation dimension.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/ShaderPermutation.h

Include

#include "ShaderPermutation.h"

Syntax

struct FShaderPermutationBool

Remarks

Defines at compile time a boolean permutation dimension.

Functions

Name Description

Public function Static

Type

 

FromDimensionValueId

(
    int32 PermutationId
)

Converts dimension's value id to dimension boolean value (exact reciprocal of ToDimensionValueId).

Public function Static

bool

 

ToDefineValue

(
    Type E
)

Pass down a boolean to FShaderCompilerEnvironment::SetDefine().

Public function Static

int32

 

ToDimensionValueId

(
    Type E
)

Converts dimension boolean value to dimension's value id.

Typedefs

Name

Description

Type

Setup the dimension's type in permutation domain as boolean.

Constants

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss