Sets the size and usage flag for the buffer.
int32 UpdateUniformBuffer( int32 p_iBufferSize, int32 p_eUsage )
Parameter Type | Parameter Name | Documentation |
---|---|---|
int32 | p_iBufferSize | The size in bytes of the buffer. |
int32 | p_eUsage | Refers to the RenderBufferUsage enumeration. Please see APP_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information.or glBufferData. |
None published. Please look for an example in the Simdify Scripting Language code base.