IReflectionData

A structure defining the reflection data to be exported. ReflectionData is composed of a number of ShaderResourceInfo structs for all required resource types.

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

Construction

Return type

Description

IReflectionData ()

Detailed description

A structure defining the reflection data to be exported. ReflectionData is composed of a number of ShaderResourceInfo structs for all required resource types.

Data fields

Type

Description

std::vector<ShaderResourceInfo >

constantBuffers
Constant buffer resource reflection data representation.

std::vector<ShaderResourceInfo >

srvTextures
SRV-based texture resource reflection data representation.

std::vector<ShaderResourceInfo >

uavTextures
UAV-based texture resource reflection data representation.

std::vector<ShaderResourceInfo >

srvBuffers
SRV-based buffer resource reflection data representation.

std::vector<ShaderResourceInfo >

uavBuffers
UAV-based buffer resource reflection data representation.

std::vector<ShaderResourceInfo >

samplers
Sampler resource reflection data representation (currently unused).

std::vector<ShaderResourceInfo >

rtAccelerationStructures
Acceleration structure resource reflection data representation.