A class used to represent the binding between a constant shader variable and its value and usage.
More...
|
| | ConstantBinding () |
| | Create a new constant binding object with no name, UNDEFINED usage, and no value. More...
|
| |
| | ConstantBinding (const ShaderSourceString &newName, const ShaderBindingFlags &newFlags, const ConstantUsage &newUsage, const AttributeType &newType, Size newArraySize, Index newByteOffset) |
| | Create a new constant binding with the specified name, flags, usage, type, array size, and offset in the constant storage. More...
|
| |
| const ConstantUsage & | getUsage () const |
| | Return the semantic usage for this shader attribute binding. More...
|
| |
| void | setUsage (const ConstantUsage &newUsage) |
| | Set an enum value indicating the semantic usage of this constant binding. More...
|
| |
| const AttributeType & | getType () const |
| | Return the type of attribute stored by this constant binding. More...
|
| |
| void | setUsage (const AttributeType &newType) |
| | Set the type of attribute stored by this constant binding. More...
|
| |
| Index | getArraySize () const |
| | Return the number of values of the attribute type that are part of this binding's array. More...
|
| |
| void | setArraySize (Size newArraySize) |
| | Set the number of values of the attribute type that are part of this binding's array. More...
|
| |
| Index | getOffset () const |
| | Return the offset in bytes for this binding's value in its shader pass's constant storage buffer. More...
|
| |
| void | setOffset (Index newByteOffset) |
| | Set the offset in bytes for this binding's value in its shader pass's constant storage buffer. More...
|
| |
| | ShaderBinding () |
| | Create a shader binding with no name and the default flags. More...
|
| |
| | ShaderBinding (const ShaderSourceString &newName, const ShaderBindingFlags &newFlags) |
| | Create a shader binding with the given name and flags. More...
|
| |
| const ShaderSourceString & | getName () const |
| | Return a string representing the name of the shader binding's variable. More...
|
| |
| void | setName (const ShaderSourceString &newName) |
| | Set a string representing the name of the shader binding's variable. More...
|
| |
| ShaderBindingFlags & | getFlags () |
| | Return a reference to an object that contains boolean parameters of the shader binding. More...
|
| |
| const ShaderBindingFlags & | getFlags () const |
| | Return an object that contains boolean parameters of the shader binding. More...
|
| |
| void | setFlags (const ShaderBindingFlags &newFlags) |
| | Set an object that contains boolean parameters of the shader binding. More...
|
| |
| Bool | flagIsSet (ShaderBindingFlags::Flag flag) const |
| | Return whether or not the specified boolan flag is set for this shader binding. More...
|
| |
| void | setFlag (ShaderBindingFlags::Flag flag, Bool newIsSet=true) |
| | Set whether or not the specified boolan flag is set for this shader binding. More...
|
| |
| Bool | getIsDynamicInput () const |
| | Return whether or not this shader binding is a dynamic input. More...
|
| |
| void | setIsDynamicInput (Bool newIsInput) |
| | Set whether or not this shader binding is a dynamic input. More...
|
| |
A class used to represent the binding between a constant shader variable and its value and usage.