RenderWare V2.1

Previous Page Index Next Page

RwInt32

RwGetNumNamedTextures(void);

Description

Retrieves the number of named textures in either the current texture dictionary or in all dictionaries in the texture dictionary stack.

Arguments

None.

Return Value

The number of named textures if successful, and -1 otherwise.

Comments

If the texture dictionary search mode is rwLOCAL, the number of textures in the current texture dictionary is returned. If the search mode is rwGLOBAL the number of textures in all dictionaries on the texture dictionary stack is returned.

See Also

RwDestroyTexture()

RwFindNamedTexture()

RwGetNamedTexture()

RwReadNamedTexture()

RwSetTextureDictSearchMode()

RwTextureDictBegin()

RwTextureDictEnd()