This commit is contained in:
GaryOderNichts 2026-04-08 15:22:59 +00:00 committed by GitHub
commit 749195f3ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 1 deletions

View File

@ -1,5 +1,6 @@
#pragma once
#include <wut.h>
#include "gx2/enum.h"
/**
* \defgroup gx2_context Context State
@ -49,7 +50,7 @@ WUT_CHECK_SIZE(GX2ContextState, 0xa100);
void
GX2SetupContextStateEx(GX2ContextState *state,
BOOL unk1);
GX2ContextStateFlags flags);
void
GX2GetContextStateDisplayList(const GX2ContextState *state,

View File

@ -167,6 +167,15 @@ typedef enum GX2ChannelMask
GX2_CHANNEL_MASK_RGBA = 15,
} GX2ChannelMask;
typedef enum GX2ContextStateFlags
{
GX2_CONTEXT_STATE_FLAGS_NONE = 0,
GX2_CONTEXT_STATE_FLAGS_PROFILING_ENABLED = 1 << 0,
GX2_CONTEXT_STATE_FLAGS_NO_SHADOW_DISPLAY_LIST = 1 << 1,
} GX2ContextStateFlags;
WUT_ENUM_BITMASK_TYPE(GX2ContextStateFlags)
typedef enum GX2ClearFlags
{
GX2_CLEAR_FLAGS_DEPTH = 1,