summaryrefslogtreecommitdiff
path: root/include/dolphin/gx/GXExtra.h
blob: afd29caa6d47955efadd4f9351994e36dbbf7ffc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef _DOLPHIN_GXEXTRA
#define _DOLPHIN_GXEXTRA

// Extra types for PC
#ifdef TARGET_PC
#include <dolphin/gx/GXStruct.h>
#include <dolphin/types.h>

#ifdef __cplusplus
extern "C" {
#endif

typedef struct {
  float r;
  float g;
  float b;
  float a;
} GXColorF32;

typedef enum {
  GX_TF_R8_PC = 0x60,
  GX_TF_RGBA8_PC = 0x61,
} GXPCTexFmt;

void GXDestroyTexObj(GXTexObj* obj);
void GXDestroyTlutObj(GXTlutObj* obj);

void GXColor4f32(float r, float g, float b, float a);

#ifdef __cplusplus
}
#endif

#endif // TARGET_PC

#endif // _DOLPHIN_GXEXTRA