SelectTextureFrameBuffer Data Member Function

Selects a color buffer attached to the specified frame buffer into the specified texture unit. At present, the first color buffer is used.

Prototype

int32 SelectTextureFrameBuffer( int32 p_oFrameBufferHandle, int32 p_nTextureUnit, int32 p_nIndex )

Parameters

Parameter Type Parameter Name Documentation
int32p_oFrameBufferHandleThe frame buffer to be selected.
int32p_nTextureUnitThe zero-based texture unit to select the new texture into.
int32p_nIndexReserved. This value must be 0 at present.

Examples

Copy Text To Clipboard

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