RwSetTextureFrame(RwTexture *texture, RwInt32 index);
Description
Sets the current frame of the texture.
Arguments
texture Pointer to the texture.
index Frame number.
Return Value
The argument texture if successful, and NULL otherwise.
Comments
For those textures which consist of a sequence of frames this function will set the current frame to be the one with the given sequence number. Sequence numbers are in the range 0 n - 1, where n is the number of frames in the texture.
The current frame of a texture is the one used in all rendering of polygons associated with the texture.
See Also