Reads an <Image> back from the GPU.
int32 ReadTextureBufferToArray( MemoryPointer p_oPtr, int32 p_nSize, Image p_oImage, Texture p_oTex, int32 p_nLevel )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<MemoryPointer> | p_oPtr | A pointer to the destination. |
int32 | p_nSize | The size in bytes to read. |
<Image> | p_oImage | A pointer to the destination <Image>. |
<Texture> | p_oTex | A pointer to the source <Texture> that has been bound to the GPU. |
int32 | p_nLevel | The MIP map level to read. |
None published. Please look for an example in the Scenome Scripting Language code base.