RenderWare V2.1

Previous Page Index Next Page

RwInt32

RwGetTextureFrame(RwTexture *texture);

Description

Gets the texture’s current frame index.

Arguments

texture Pointer to the texture.

Return Value

The current frame index (an integer greater than or equal to zero) if successful, and -1 otherwise.

See Also

RwGetTextureFrameStep()

RwGetTextureNumFrames()

RwSetTextureFrame()

RwTextureNextFrame()