Describes a constant param passed into a shader.
More...
|
std::string | nameInShader |
|
std::string | type |
|
std::string | role |
|
std::string | attribute |
|
std::string | attributeIndex |
|
Describes a constant param passed into a shader.
-
nameInShader: The name written from the codegen into the shader file for the param.
-
type: Type of the param within the shader file.
-
role: Optionally a role can be specified, like position, uv, color.
-
attribute: Optionally an attribute can be specified, like versions or addresses.
-
attributeIndex: Used in metal, to specify indicies of attributes.
Definition at line 126 of file shaderFunctionDesc.h.
The documentation for this struct was generated from the following file: