Permutation

A structure defining a shader permutation representation. Each permutation compiled generates this structure for export.

File location: sdk/tools/ffx_shader_compiler/src/compiler.h

Detailed description

A structure defining a shader permutation representation. Each permutation compiled generates this structure for export.

Data fields

Type

Description

uint32_t

key
Shader permutation key identifier.

std::string

hashDigest
Shader permutation hash key.

std::string

name
Shader permutation name.

std::string

headerFileName
Shader permutation header file name.

std::vector<std::wstring>

defines
Shader permutation defines.

std::shared_ptr<IShaderBinary >

shaderBinary
Shader permutation compiled binary data.

std::shared_ptr<IReflectionData >

reflectionData
Shader permutation “IReflectionData“ data.

fs::path

sourcePath
Shader source file path for this permutation.

std::unordered_set<std::string>

dependencies
List of shader dependencies for this permutation.

std::optional<uint32_t>

identicalTo
Key of other permutation that this one is identical to.