GXInitTexObjEdgeLOD

Syntax

#include <revolution/gx.h>

void GXInitTexObjEdgeLOD(
    GXTexObj*      obj,
    GXBool         do_edge_lod );

Arguments

obj Pointer to a texture object.
do_edge_lod Computes LOD using adjacent texels when GX_ENABLE is set; otherwise, it uses diagonal texels. If using bias clamp (the bias_clamp argument of the GXInitTexObjLOD function is GX_ENABLE), or performing anisotropic filtering (the max_aniso argument of the GXInitTexObjLOD function is GX_ANISO_2 or GX_ANISO_4), you must set this to GX_ENABLE.

Return Values

None.

Description

This function allows modification of the edge LOD mode for an existing texture object. This parameter is initially set by the GXInitTexObjLOD function.

See Also

GXInitTexObjLOD, GXGetTexObjLODAll, GXTexObj Initialization Flow

Revision History

2006/03/01 Initial version.


CONFIDENTIAL