ReadTextureImage Data Member Function

Reads a <Texture> back from the GPU.

Prototype

int32 ReadTextureImage( Render3D p_oDst, Image p_oSrc )

Parameters

Parameter Type Parameter Name Documentation
<Render3D>p_oDstA pointer to the destination <Image> object. This must match the size and pixel format of the source <Texture>.
<Image>p_oSrcA pointer to the source <Texture> object that has been bound to the GPU.

Examples

Copy Text To Clipboard

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