47#define ALIGN16 __attribute__((aligned(16)))
51typedef unsigned char triUChar;
52typedef signed int triSInt;
53typedef unsigned int triUInt;
55typedef signed long long triS64;
56typedef unsigned long long triU64;
57typedef signed long triS32;
58typedef unsigned long triU32;
59typedef signed short triS16;
60typedef unsigned short triU16;
61typedef signed char triS8;
62typedef unsigned char triU8;
63typedef unsigned char triBool;
64typedef float triFloat;
68typedef double triDouble;
70typedef float triDouble;
230}
triVec4 ALIGN16, triVec4f ALIGN16, triQuat ALIGN16;
365 triU16 r:4, g:4, b:4, a:4;
379 triU16 r:5, g:5, b:5, a:1;
393 triU16 r:5, g:6, b:5;
446#define TRI_VERTC_FORMAT (GU_COLOR_8888|GU_VERTEX_32BITF)
457#define TRI_VERTCN_FORMAT (GU_NORMAL_32BITF|GU_COLOR_8888|GU_VERTEX_32BITF)
469#define TRI_VERTUV_FORMAT (GU_TEXTURE_32BITF|GU_VERTEX_32BITF)
480#define TRI_VERTUVC_FORMAT (GU_TEXTURE_32BITF|GU_COLOR_8888|GU_VERTEX_32BITF)
493#define TRI_VERTUVN_FORMAT (GU_NORMAL_32BITF|GU_TEXTURE_32BITF|GU_VERTEX_32BITF)
505#define TRI_VERTUVCN_FORMAT (GU_NORMAL_32BITF|GU_TEXTURE_32BITF|GU_COLOR_8888|GU_VERTEX_32BITF)
520#define TRI_VERTFASTUV_FORMAT (GU_TEXTURE_8BIT|GU_VERTEX_16BIT)
531#define TRI_VERTFASTUVF_FORMAT (GU_TEXTURE_8BIT|GU_VERTEX_32BITF)
542#define TRI_VERTFASTUVC_FORMAT (GU_TEXTURE_8BIT|GU_COLOR_5650|GU_VERTEX_16BIT)
554#define TRI_VERTFASTUVCF_FORMAT (GU_TEXTURE_8BIT|GU_COLOR_4444|GU_VERTEX_32BITF)
566#define TRI_VERTFASTUVN_FORMAT (GU_NORMAL_8BIT|GU_TEXTURE_8BIT|GU_VERTEX_16BIT)
578#define TRI_VERTFASTUVNF_FORMAT (GU_NORMAL_16BIT|GU_TEXTURE_8BIT|GU_VERTEX_32BITF)
590#define TRI_VERTFASTUVCN_FORMAT (GU_NORMAL_8BIT|GU_TEXTURE_8BIT|GU_COLOR_5650|GU_VERTEX_16BIT)
603#define TRI_VERTFASTUVCNF_FORMAT (GU_NORMAL_8BIT|GU_TEXTURE_8BIT|GU_COLOR_5650|GU_VERTEX_32BITF)
union triColor8888 triColor4b
RGBA8888 color (32bit)
struct triColor8880 triColor3b
RGBA8880 color (24bit)
RGB float color (96bit)
Definition triTypes.h:301
RGB int color (96bit)
Definition triTypes.h:310
RGBA float color (128bit)
Definition triTypes.h:319
RGBA int color (128bit)
Definition triTypes.h:328
RGBA8880 color (24bit)
Definition triTypes.h:338
2D signed short Vector
Definition triTypes.h:112
2D signed int Vector
Definition triTypes.h:94
2D signed char Vector
Definition triTypes.h:131
2D unsigned short Vector
Definition triTypes.h:121
2D unsigned int Vector
Definition triTypes.h:103
2D unsigned char Vector
Definition triTypes.h:140
2D float Vector
Definition triTypes.h:85
3D signed short Vector
Definition triTypes.h:183
3D signed int Vector
Definition triTypes.h:165
3D signed char Vector
Definition triTypes.h:202
3D unsigned short Vector
Definition triTypes.h:192
3D unsigned int Vector
Definition triTypes.h:174
3D unsigned char Vector
Definition triTypes.h:211
3D float Vector
Definition triTypes.h:156
4D signed short Vector
Definition triTypes.h:256
4D signed int Vector (quaternion)
Definition triTypes.h:237
4D signed char Vector
Definition triTypes.h:275
4D unsigned short Vector
Definition triTypes.h:265
4D unsigned int Vector
Definition triTypes.h:246
4D unsigned char Vector
Definition triTypes.h:284
4D float Vector (quaternion)
Definition triTypes.h:228
Vertex with color and normale.
Definition triTypes.h:462
Vertex with color.
Definition triTypes.h:451
Vertex with texture coordinates, color and normale, optimized.
Definition triTypes.h:595
Vertex with texture coordinates, color and normale, optimized.
Definition triTypes.h:608
Vertex with texture coordinates and color, optimized.
Definition triTypes.h:547
Vertex with texture coordinates and color, optimized.
Definition triTypes.h:559
Vertex with texture coordinates and normale, optimized.
Definition triTypes.h:571
Vertex with texture coordinates and normale, optimized.
Definition triTypes.h:583
Vertex with texture coordinates and color, optimized.
Definition triTypes.h:525
Vertex with texture coordinates and color, optimized.
Definition triTypes.h:536
Vertex with texture coordinates, color and normale.
Definition triTypes.h:510
Vertex with texture coordinates and color.
Definition triTypes.h:485
Vertex with texture coordinates and normale.
Definition triTypes.h:498
Vertex with texture coordinates.
Definition triTypes.h:474
RGBA4444 color (16bit)
Definition triTypes.h:362
RGBA5551 color (16bit)
Definition triTypes.h:376
RGBA5650 color (16bit)
Definition triTypes.h:390
RGBA8888 color (32bit)
Definition triTypes.h:348
3D (3x3) Matrix
Definition triTypes.h:411
4D (4x4) Matrix
Definition triTypes.h:426