FreeTexture()

Syntax

FreeTexture(#Texture)
Description
Frees the specified texture. All its associated memory is released and this object can't be used anymore.

Parameters

#Texture The texture to free. If #PB_All is specified, all the remaining textures are freed.

Return value

None.

Remarks

All remaining textures are automatically freed when the program ends.

Supported OS

All

<- EntityCubeMapTexture() - Texture Index - GetScriptTexture() ->