ShaderResourceVariableDesc struct
Describes shader variable.
Contents
- Reference
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.