GXInitTexObjWrapMode

Syntax

#include <revolution/gx.h>

void GXInitTexObjWrapMode(
    GXTexObj*      obj,
    GXTexWrapMode  wrap_s,
    GXTexWrapMode  wrap_t );

Arguments

obj Pointer to a texture object.
wrap_s Describes how texture coordinates will be wrapped in the s direction. Accepted values are:
Name Wrap Mode
GX_CLAMP Clamping within the bounds of the image
GX_REPEAT Simple repeating
GX_MIRROR Repeating with mirroring
wrap_t Describes how texture coordinates will be wrapped in the t direction. Accepted values are:
Name Wrap Mode
GX_CLAMP Clamping within the bounds of the image
GX_REPEAT Simple repeating
GX_MIRROR Repeating with mirroring

Return Values

None.

Description

This function allows one to modify the texture coordinate wrap mode for an existing texture object. 

See Also

GXInitTexObj, GXInitTexObjCI, GXGetTexObjWrapS, GXGetTexObjWrapT, GXTexObj Initialization Flow

Revision History

2006/03/01 Initial version.


CONFIDENTIAL