SelectTextureUnit Data Member Function

Selects a <Texture> into the specified texture unit of the rendering device. To determine the maximum number of texture units supported by the rendering device, call the GetMaximumTextureUnits function.

Prototype

int32 SelectTextureUnit( Texture p_oNewTexture, int32 p_nTextureUnit )

Parameters

Parameter Type Parameter Name Documentation
<Texture>p_oNewTextureA pointer to the <Texture> to select.
int32p_nTextureUnitThe zero-based texture unit to select the new texture into.

Examples

Copy Text To Clipboard

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