Import SDK Types
This commit is contained in:
parent
84b3e69630
commit
4fe4c38e0d
86 changed files with 6528 additions and 27 deletions
36
include/dolphin/gx/GXExtra.h
Normal file
36
include/dolphin/gx/GXExtra.h
Normal file
|
|
@ -0,0 +1,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
|
||||
Loading…
Add table
Add a link
Reference in a new issue