#include <revolution/gx.h>
void GXGetTexObjLODAll(
const GXTexObj* obj,
GXTexFilter* min_filt,
GXTexFilter* mag_filt,
f32* min_lod,
f32* max_lod,
f32* lod_bias,
GXBool* bias_clamp,
GXBool* do_edge_lod,
GXAnisotropy* max_aniso );
GXTexFilter GXGetTexObjMinFilt ( const GXTexObj* tex_obj );
GXTexFilter GXGetTexObjMagFilt ( const GXTexObj* tex_obj );
f32 GXGetTexObjMinLOD ( const GXTexObj* tex_obj );
f32 GXGetTexObjMaxLOD ( const GXTexObj* tex_obj );
f32 GXGetTexObjLODBias ( const GXTexObj* tex_obj );
GXBool GXGetTexObjBiasClamp( const GXTexObj* tex_obj );
GXBool GXGetTexObjEdgeLOD ( const GXTexObj* tex_obj );
GXAnisotropy GXGetTexObjMaxAniso ( const GXTexObj* tex_obj );
tex_obj |
pointer to a GXTexObj structure |
min_filt |
returns the reduction filter from the texture object |
mag_filt |
returns the magnification filter |
min_lod |
returns the minimum LOD value |
max_lod |
returns the maximum LOD value |
lod_bias |
returns the LOD bias |
bias_clamp |
returns the LOD bias clamping parameter |
do_edge_lod |
returns edge LOD status |
max_aniso |
returns anisotropic filtering setting |
Returns void. The other functions return data values as indicated by their names.
This function returns the LOD-related parameters described by a texture object. Also listed are functions to get each data item individually. Texture objects are used to describe all the parameters associated with a texture, including size, format, wrap modes, filter modes, etc. Texture objects are initialized using either GXInitTexObj or, for color index format textures, GXInitTexObjCI. The LOD-related parameters are set using GXInitTexObjLOD.
GXInitTexObj
GXGetTexObjAll
GXInitTexObjLOD
03/01/2006 Initial version.