GXInitTexObjData

C Specification

#include <revolution/gx.h>
void GXInitTexObjData(
GXTexObj*      obj,
void*          image_ptr );

Arguments

obj Pointer to a texture object
image_ptr Pointer to the texture's image data in main memory

Return Values

None.

Description

This function allows you to modify the image data pointer for an existing texture object. The image format and size for the new data must match when the texture object was first initialized using GXInitTexObj or GXInitTexObjCI.

See Also

GXLoadTexObj
GXInitTexObj
GXInitTexObjCI
GXGetTexObjData

GXTexObj Initialization Flow

Revision History

03/01/2006 Initial version.