ReadUniformSubBuffer Data Member Function

Reads a sub-region of memory from a uniform buffer at the specified offset.

Prototype

int32 ReadUniformSubBuffer( int32 p_nOffset, int32 p_nSize, MemoryPointer p_oPtr )

Parameters

Parameter Type Parameter Name Documentation
int32p_nOffsetThe offset at which to start reading. 0 for the start of the buffer.
int32p_nSizeThe size in bytes of the region to read.
<MemoryPointer>p_oPtrA pointer to the destination.

Examples

Copy Text To Clipboard

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