GetScriptTexture()

Syntax

Result = GetScriptTexture(#Texture, Name$)
Description
Get a texture defined in an OGRE script file. Scripts are loaded and parsed when calling Parse3DScripts().

Parameters

#Texture A number to identify the new texture. #PB_Any can be used to auto-generate this number.
Name$ The name of the texture in the script files.

Return value

Nonzero if the texture was successfully created, zero otherwise. If #PB_Any was used for the #Texture parameter then the generated number is returned on success.

Supported OS

All

<- FreeTexture() - Texture Index - IsTexture() ->