mirror of
https://github.com/devkitPro/wut.git
synced 2026-05-06 13:25:37 -05:00
Merge 309024b049 into 3e864b10e7
This commit is contained in:
commit
749195f3ec
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user