跳至内容

ShaderResourceInfo

struct ShaderResourceInfo

定义要导出的着色器反射数据元素的结构。

公共接口

公共成员

std::string name

std::string name

资源绑定点名称。

来源: sdk/tools/ffx_shader_compiler/src/compiler.h (第 83 行, 第 17 列)

uint32_t binding

uint32_t binding

绑定寄存器索引。

来源: sdk/tools/ffx_shader_compiler/src/compiler.h (第 84 行, 第 17 列)

uint32_t count

uint32_t count

索引处的资源绑定计数。

来源: sdk/tools/ffx_shader_compiler/src/compiler.h (第 85 行, 第 17 列)

uint32_t space

uint32_t space

绑定空间索引。

来源: sdk/tools/ffx_shader_compiler/src/compiler.h (第 86 行, 第 17 列)

由...使用: IReflectionData

来源: sdk/tools/ffx_shader_compiler/src/compiler.h (第 81 行, 第 1 列)

© . This site is unofficial and not affiliated with AMD.