Diligent::ShaderResourceVariableDesc struct

Describes shader variable.

Contents

Public variables

SHADER_TYPE ShaderStages
Shader stages this resources variable applies to. If more than one shader stage is specified, the variable will be shared between these stages. Shader stages used by different variables with the same name must not overlap.
const Char* Name
Shader variable name.
SHADER_RESOURCE_VARIABLE_TYPE Type
Shader variable type. See Diligent::SHADER_RESOURCE_VARIABLE_TYPE for a list of allowed types.