ReadTextureBuffer Data Member Function

Reads an image from the GPU.

Prototype

int32 ReadTextureBuffer( Image p_oImage, Texture p_oTexture, int32 p_nLevel )

Parameters

Parameter Type Parameter Name Documentation
<Image>p_oImageA pointer to the destination <Image>.
<Texture>p_oTextureA pointer to the <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.