Class UniformBuffer
A uniform buffer object.
class UniformBuffer(T)
if (isStruct!T);
Constructors
Name | Description |
---|---|
this
(bindingLocation, shaderStage, value)
|
Initialize a new uniform buffer. |
this
(name, bindingLocation, shaderStage, value)
|
Initialize a new named uniform buffer. |
Methods
Name | Description |
---|---|
update
(value)
|
Update the uniform value. |