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.
int32 SelectTextureUnit( Texture p_oNewTexture, int32 p_nTextureUnit )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<Texture> | p_oNewTexture | A pointer to the <Texture> to select. |
int32 | p_nTextureUnit | The zero-based texture unit to select the new texture into. |
None published. Please look for an example in the Scenome Scripting Language code base.