ActiveTextures()

Parameters

None.

Description

Returns the total number of textures currently in video memory. Use this to keep track of your resources.

See also: CreateTexture, LoadTexture.

Example

; ActiveTextures

Graphics3D 640,480,0,2

tex1=CreateTexture(100,100)
tex2=CreateTexture(100,100)
tex3=CreateTexture(100,100)

Print "Textures="+(ActiveTextures())

FreeTexture tex2

Print "Textures="+(ActiveTextures())

WaitKey()
End

Index

Click here to view the latest version of this page online