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;
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)
struct triColor3 triColor3
RGB float color (96bit)
struct triColor3i triColor3i
RGB int color (96bit)
union triColor5650 triColor5650
RGBA5650 color (16bit)
union triColor8888 triColor4b
RGBA8888 color (32bit)
union triColor4444 triColor4444
RGBA4444 color (16bit)
struct triColor8880 triColor3b
RGBA8880 color (24bit)
union triColor5551 triColor5551
RGBA5551 color (16bit)
union triMat3 triMat3
3D (3x3) Matrix
struct triVec2S16 triVec2S16
2D signed short Vector
struct triVec2U8 triVec2U8
2D unsigned char Vector
struct triVec2 triVec2
2D float Vector
struct triVec2S8 triVec2S8
2D signed char Vector
struct triVec2S32 triVec2S32
2D signed int Vector
struct triVec2U16 triVec2U16
2D unsigned short Vector
struct triVec2U32 triVec2U32
2D unsigned int Vector
struct triVec3S16 triVec3S16
3D signed short Vector
struct triVec3U32 triVec3U32
3D unsigned int Vector
struct triVec3S32 triVec3S32
3D signed int Vector
struct triVec3S8 triVec3S8
3D signed char Vector
struct triVec3U16 triVec3U16
3D unsigned short Vector
struct triVec3 triVec3
3D float Vector
struct triVec3U8 triVec3U8
3D unsigned char Vector
struct triVec4U8 triVec4U8
4D unsigned char Vector
struct triVec4S8 triVec4S8
4D signed char Vector
struct triVec4U32 triVec4U32
4D unsigned int Vector
struct triVec4S16 triVec4S16
4D signed short Vector
struct triVec4S32 triVec4S32
4D signed int Vector (quaternion)
struct triVec4U16 triVec4U16
4D unsigned short Vector
struct triVertFastUVNf triVertFastUVNf
Vertex with texture coordinates and normale, optimized.
struct triVertC triVertC
Vertex with color.
struct triVertFastUVCNf triVertFastUVCNf
Vertex with texture coordinates, color and normale, optimized.
struct triVertUVC triVertUVC
Vertex with texture coordinates and color.
struct triVertFastUV triVertFastUV
Vertex with texture coordinates and color, optimized.
struct triVertCN triVertCN
Vertex with color and normale.
struct triVertFastUVN triVertFastUVN
Vertex with texture coordinates and normale, optimized.
struct triVertUV triVertUV
Vertex with texture coordinates.
struct triVertFastUVCf triVertFastUVCf
Vertex with texture coordinates and color, optimized.
struct triVertFastUVC triVertFastUVC
Vertex with texture coordinates and color, optimized.
struct triVertFastUVf triVertFastUVf
Vertex with texture coordinates and color, optimized.
struct triVertFastUVCN triVertFastUVCN
Vertex with texture coordinates, color and normale, optimized.
struct triVertUVCN triVertUVCN
Vertex with texture coordinates, color and normale.
struct triVertUVN triVertUVN
Vertex with texture coordinates and normale.
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