GXInitTexObjUserData

Syntax

#include <revolution/gx.h>

void GXInitTexObjUserData(
    GXTexObj*     obj,
    void*         user_data );

Arguments

obj Pointer to a texture object.
user_data Pointer to user data

Return Values

None.

Description

This function sets a pointer to user data in the GXTexObj structure. This pointer can be retrieved using the GXGetTexObjUserData function. Use this mechanism to attach private data structures to the texture object.

See Also

GXInitTexObjCI, GXInitTexObjLOD, GXLoadTexObj, GXSetTexRegionCallBack, GXTexObj Initialization Flow

Revision History

2006/03/01 Initial version.


CONFIDENTIAL