mirror of
https://github.com/zeldaret/ss
synced 2026-05-31 01:15:38 -04:00
1180e1f486
* Initial M3d Pass * `m_bmdl` and `m_bline` left --------- Co-authored-by: elijah-thomas774 <elijahthomas774@gmail.com> Co-authored-by: Elijah Thomas <42302100+elijah-thomas774@users.noreply.github.com>
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>
|
|
|
|
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
|