UpdateUniformBuffer Data Member Function

Sets the size and usage flag for the buffer.

Prototype

int32 UpdateUniformBuffer( int32 p_iBufferSize, int32 p_eUsage )

Parameters

Parameter Type Parameter Name Documentation
int32p_iBufferSizeThe size in bytes of the buffer.
int32p_eUsageRefers to the RenderBufferUsage enumeration. Please see TYPE_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information.or glBufferData.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.