Page 1 of 1

GX_SetTevOrder behavior

Posted: Wed Jun 03, 2009 7:33 pm
by ozzyyzzo
Hello guys,

I've noticed a missing enumeration that would be used to disable texturing and which should be passed to GX_SetTevOrder as the u8 texcoord parameter.

From another 4Th dimension it is called : GX_TEXCOORD_NULL with an immediate value of 0xff

typedef enum _GXTexCoordID
{
GX_TEXCOORD0 = 0x0, // generated texture coordinate 0
GX_TEXCOORD1, // generated texture coordinate 1
GX_TEXCOORD2, // generated texture coordinate 2
GX_TEXCOORD3, // generated texture coordinate 3
GX_TEXCOORD4, // generated texture coordinate 4
GX_TEXCOORD5, // generated texture coordinate 5
GX_TEXCOORD6, // generated texture coordinate 6
GX_TEXCOORD7, // generated texture coordinate 7
GX_MAX_TEXCOORD = 8,
GX_TEXCOORD_NULL = 0xff

} GXTexCoordID;

#define GX_MAX_TEXCOORDGEN GX_MAX_TEXCOORD

what should i consider to properly disable texturing?
(cannot run or either test for the moment sorry..)

Re: GX_SetTevOrder behavior

Posted: Thu Jun 04, 2009 11:53 am
by ozzyyzzo
sorry i'm lazy : #define GX_TEXCOORDNULL 0xff