GXInitTexObjData

Syntax

#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 those the texture had when it was first initialized using the GXInitTexObj or GXInitTexObjCI function.

See Also

GXLoadTexObj, GXInitTexObj, GXInitTexObjCI, GXGetTexObjData, GXTexObj Initialization Flow

Revision History

2006/03/01 Initial version.


CONFIDENTIAL