mirror of
https://github.com/zeldaret/ss
synced 2026-06-02 02:00:06 -04:00
26af4db82d
* update from dtk-template and start work towards using clangd * include <a> -> "a" * Update build.yml * remove/add non-trivial class in union warning
46 lines
1.1 KiB
C++
46 lines
1.1 KiB
C++
#ifndef EGG_STATE_GX_H
|
|
#define EGG_STATE_GX_H
|
|
|
|
#include "common.h"
|
|
#include "rvl/GX.h" // IWYU pragma: export
|
|
|
|
namespace EGG {
|
|
|
|
class StateGX {
|
|
public:
|
|
static void initialize(u16, u16, GXColor, GXPixelFmt);
|
|
static void frameInit();
|
|
static void textureInit(); // Guess for 804b4810
|
|
|
|
static void resetGX();
|
|
static void resetVtx();
|
|
static void resetColorChannel();
|
|
static void resetIndirect();
|
|
static void resetTexture();
|
|
static void resetTexGen();
|
|
static void resetTev();
|
|
static void resetPE();
|
|
|
|
static void resetGXCache();
|
|
|
|
static void GXSetPixelFmt(GXPixelFmt pixelFmt, GXZFmt16 zFmt);
|
|
|
|
static void invalidateTexAllGX();
|
|
|
|
static bool GXSetColorUpdate(bool);
|
|
static bool GXSetAlphaUpdate(bool);
|
|
static bool GXSetDither();
|
|
static void GXCopyTex();
|
|
static bool GXSetDstAlpha();
|
|
// Unk func here
|
|
static void GXSetProjection(Mtx44, int);
|
|
static void GXSetProjectionv(const f32 *);
|
|
static void GXSetViewport(f32, f32, f32, f32, f32, f32);
|
|
static void GZSetScissor(u32, u32, u32, u32);
|
|
static void GZSetScissorBoxOffset(s32, s32);
|
|
};
|
|
|
|
} // namespace EGG
|
|
|
|
#endif
|