A class used to represent the binding between a shader variable name and information about its usage.
More...
#include <omGraphicsShaderBinding.h>
A class used to represent the binding between a shader variable name and information about its usage.
om::graphics::materials::ShaderBinding::ShaderBinding |
( |
| ) |
|
|
inline |
Create a shader binding with no name and the default flags.
Create a shader binding with the given name and flags.
Return a string representing the name of the shader binding's variable.
void om::graphics::materials::ShaderBinding::setName |
( |
const ShaderSourceString & |
newName | ) |
|
|
inline |
Set a string representing the name of the shader binding's variable.
Return a reference to an object that contains boolean parameters of the shader binding.
Return an object that contains boolean parameters of the shader binding.
void om::graphics::materials::ShaderBinding::setFlags |
( |
const ShaderBindingFlags & |
newFlags | ) |
|
|
inline |
Set an object that contains boolean parameters of the shader binding.
Return whether or not the specified boolan flag is set for this shader binding.
Set whether or not the specified boolan flag is set for this shader binding.
Bool om::graphics::materials::ShaderBinding::getIsDynamicInput |
( |
| ) |
const |
|
inline |
Return whether or not this shader binding is a dynamic input.
If so, the renderer can provide dynamic scene information for this binding (such as nearby lights, textures, etc) that aren't explicitly part of this binding. By default, all bindings are inputs.
void om::graphics::materials::ShaderBinding::setIsDynamicInput |
( |
Bool |
newIsInput | ) |
|
|
inline |
Set whether or not this shader binding is a dynamic input.
If so, the renderer can provide dynamic scene information for this binding (such as nearby lights, textures, etc) that aren't explicitly part of this binding.
A string representing the name of the shader binding.
An object that contains boolean configuration information for the binding.
The documentation for this class was generated from the following file: