RenderWare V2.1

Previous Page Index Next Page

RwTexture *

RwTextureNextFrame(RwTexture *texture);

Description

Increments or decrements the current frame index by the current frame step.

Arguments

texture Pointer to the texture.

Return Value

The argument texture if successful, and NULL otherwise.

Comments

Note that the current frame index will not go outside the range 0 … n-1 (where n is the number of frames in the texture), instead the index will "wrap around" in either direction.

See Also

RwSetTextureFrame()

RwSetTextureFrameStep()

RwTextureNextFrame()