RenderWare V2.1

Previous Page Index Next Page

RwInt32

RwGetTextureNumFrames(RwTexture *texture);

Description

Retrieves the number of frames in the texture.

Arguments

texture Pointer to the texture.

Return Value

Number of frames in the texture if successful, and -1 otherwise.

See Also

RwGetTextureFrame()

RwGetTextureFrameStep()

RwSetTextureFrame()

RwSetTextureFrameStep()

RwTextureNextFrame()