2022-07-27 15:25:25 +00:00
|
|
|
#ifndef DOLPHIN_GXEXTRA_H
|
|
|
|
#define DOLPHIN_GXEXTRA_H
|
|
|
|
// 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);
|
2022-08-09 22:26:53 +00:00
|
|
|
void GXDestroyTlutObj(GXTlutObj* obj);
|
2022-07-27 15:25:25 +00:00
|
|
|
|
|
|
|
void GXColor4f32(float r, float g, float b, float a);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|