ReadTextureBufferToArray Data Member Function

Reads an <Image> back from the GPU.

Prototype

int32 ReadTextureBufferToArray( MemoryPointer p_oPtr, int32 p_nSize, Image p_oImage, Texture p_oTex, int32 p_nLevel )

Parameters

Parameter Type Parameter Name Documentation
<MemoryPointer>p_oPtrA pointer to the destination.
int32p_nSizeThe size in bytes to read.
<Image>p_oImageA pointer to the destination <Image>.
<Texture>p_oTexA pointer to the source <Texture> that has been bound to the GPU.
int32p_nLevelThe MIP map level to read.

Examples

Copy Text To Clipboard

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