Describes shader variable. More...
#include <PipelineState.h>
Public Member Functions | |
bool | operator== (const ShaderResourceVariableDesc &RHS) const noexcept |
Comparison operator tests if two structures are equivalent. | |
Public Attributes | |
const Char * | Name = nullptr |
Shader variable name. | |
SHADER_TYPE | ShaderStages = SHADER_TYPE_UNKNOWN |
Shader stages this resources variable applies to. | |
SHADER_RESOURCE_VARIABLE_TYPE | Type = SHADER_RESOURCE_VARIABLE_TYPE_STATIC |
Shader variable type. See Diligent::SHADER_RESOURCE_VARIABLE_TYPE for a list of allowed types. | |
Describes shader variable.
|
inlinenoexcept |
Comparison operator tests if two structures are equivalent.
[in] | RHS | - reference to the structure to perform comparison with |
SHADER_TYPE Diligent::ShaderResourceVariableDesc::ShaderStages = SHADER_TYPE_UNKNOWN |
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.