mirror of
https://github.com/patchzyy/wiicompiled
synced 2026-09-13 01:55:57 -04:00
41 lines
1.4 KiB
C
41 lines
1.4 KiB
C
#ifndef DOLPHIN_GXGET_H
|
|
#define DOLPHIN_GXGET_H
|
|
|
|
#include <dolphin/gx/GXEnum.h>
|
|
#include <dolphin/gx/GXStruct.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void GXGetVtxDesc(GXAttr attr, GXAttrType* type);
|
|
void GXGetVtxDescv(GXVtxDescList* vcd);
|
|
void GXGetVtxAttrFmtv(GXVtxFmt fmt, GXVtxAttrFmtList* vat);
|
|
void GXGetLineWidth(u8* width, GXTexOffset* texOffsets);
|
|
void GXGetPointSize(u8* pointSize, GXTexOffset* texOffsets);
|
|
void GXGetCullMode(GXCullMode* mode);
|
|
GXBool GXGetTexObjMipMap(GXTexObj* tex_obj);
|
|
GXTexFmt GXGetTexObjFmt(GXTexObj* tex_obj);
|
|
u16 GXGetTexObjHeight(GXTexObj* tex_obj);
|
|
u16 GXGetTexObjWidth(GXTexObj* tex_obj);
|
|
GXTexWrapMode GXGetTexObjWrapS(GXTexObj* tex_obj);
|
|
GXTexWrapMode GXGetTexObjWrapT(GXTexObj* tex_obj);
|
|
void* GXGetTexObjData(GXTexObj* tex_obj);
|
|
void GXGetProjectionv(f32* p);
|
|
void GXGetLightAttnA(GXLightObj* lt_obj, f32* a0, f32* a1, f32* a2);
|
|
void GXGetLightAttnK(GXLightObj* lt_obj, f32* k0, f32* k1, f32* k2);
|
|
void GXGetLightPos(GXLightObj* lt_obj, f32* x, f32* y, f32* z);
|
|
void GXGetLightDir(GXLightObj* lt_obj, f32* nx, f32* ny, f32* nz);
|
|
void GXGetLightColor(GXLightObj* lt_obj, GXColor* color);
|
|
void GXGetVtxAttrFmt(GXVtxFmt idx, GXAttr attr, GXCompCnt* compCnt, GXCompType* compType, u8* shift);
|
|
u32 GXGetTexObjTlut(const GXTexObj* tex_obj);
|
|
|
|
void GXGetViewportv(f32* vp);
|
|
void GXGetScissor(u32* left, u32* top, u32* wd, u32* ht);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|