Provides script language access to C++ objects of this type.
Function members are as follows:
| Return Type | Function Name | Documentation |
|---|---|---|
| int32 | Bind | Binds the <UniformBufferNode> to the specified rendering device information object at the specified index. Before binding, you must activate the uniform buffer on the rendering device by calling the <UniformBufferNode>::Select data interface. |
| string | GetDeclarationString | Returns the <UniformBufferNode> object's declaration string. For example 'uniform MyUniformBuffer'. |
| <UniformBufferParams> | GetParams | Returns a pointer to this object's <UniformBufferParams> object. |
| int32 | IsResident | Returns true if the uniform buffer is resident on the GPU. |
| int32 | Select | Creates the uniform buffer on the specified rendering device. This should be done before binding the uniform buffer. |
Object members are as follows:
| Type Name | Accessor Name | Documentation |
|---|---|---|
| <BlockParams> | Block | Returns a pointer to the <UniformBufferNode> object's underlying <BlockParams> object. |
| <QualifierList> | QualifierList | Returns a pointer to the <UniformBufferNode> object's underlying <QualifierList> object. |
| uint32 | BufferSize | Gets or sets the buffer size. |