wut
v1.7.0
Wii U Toolchain
|
Data Structures | |
struct | GX2DebugCaptureInterface |
Typedefs | |
typedef struct GX2DebugCaptureInterface | GX2DebugCaptureInterface |
typedef enum GX2DebugCaptureInterfaceVersion | GX2DebugCaptureInterfaceVersion |
typedef enum GX2DebugCaptureStartFlags | GX2DebugCaptureStartFlags |
Options for GX2DebugCaptureStart. More... | |
typedef enum GX2DebugCaptureEndFlags | GX2DebugCaptureEndFlags |
Options for GX2DebugCaptureEnd. More... | |
Enumerations | |
enum | GX2DebugCaptureInterfaceVersion { GX2_DEBUG_CAPTURE_INTERFACE_VERSION = 1 } |
enum | GX2DebugCaptureStartFlags { GX2_DEBUG_CAPTURE_START_FLAGS_NONE = 0 , GX2_DEBUG_CAPTURE_START_FLAGS_DISABLE_GX2DRAWDONE = 1 } |
Options for GX2DebugCaptureStart. More... | |
enum | GX2DebugCaptureEndFlags { GX2_DEBUG_CAPTURE_END_FLAGS_NONE = 0 , GX2_DEBUG_CAPTURE_END_FLAGS_DISABLE_GX2FLUSH = 1 } |
Options for GX2DebugCaptureEnd. More... | |
Functions | |
BOOL | _GX2DebugSetCaptureInterface (GX2DebugCaptureInterface *interface) |
void | GX2DebugCaptureStart (const char *filename, GX2DebugCaptureStartFlags flags) |
Starts a debug capture. More... | |
void | GX2DebugCaptureEnd (GX2DebugCaptureEndFlags flags) |
Ends a debug capture. More... | |
void | GX2DebugCaptureFrame (const char *filename) |
Will capture the next frame. More... | |
void | GX2DebugCaptureFrames (const char *filename, uint32_t count) |
Will capture count frames. More... | |
typedef struct GX2DebugCaptureInterface GX2DebugCaptureInterface |
typedef enum GX2DebugCaptureStartFlags GX2DebugCaptureStartFlags |
Options for GX2DebugCaptureStart.
typedef enum GX2DebugCaptureEndFlags GX2DebugCaptureEndFlags |
Options for GX2DebugCaptureEnd.
Options for GX2DebugCaptureStart.
Enumerator | |
---|---|
GX2_DEBUG_CAPTURE_START_FLAGS_NONE | When set GX2DebugCaptureStart will call GX2DrawDone before the capture is started. |
GX2_DEBUG_CAPTURE_START_FLAGS_DISABLE_GX2DRAWDONE | When set GX2DebugCaptureStart will NOT call GX2DrawDone. |
Options for GX2DebugCaptureEnd.
Enumerator | |
---|---|
GX2_DEBUG_CAPTURE_END_FLAGS_NONE | When set GX2DebugCaptureEnd will call GX2Flush before the capture is completed. |
GX2_DEBUG_CAPTURE_END_FLAGS_DISABLE_GX2FLUSH | When set GX2DebugCaptureEnd will NOT call GX2Flush. |
BOOL _GX2DebugSetCaptureInterface | ( | GX2DebugCaptureInterface * | interface | ) |
void GX2DebugCaptureStart | ( | const char * | filename, |
GX2DebugCaptureStartFlags | flags | ||
) |
Starts a debug capture.
User must have set interface first via _GX2DebugSetCaptureInterface.
Note this doesn't write to filename, that is up to the implementor of the GX2DebugCaptureInterface. This argument might not even be filename but I at least know it is a string because GX2DebugCaptureFrame does a strncpy on it.
filename | This is passed as first argument to GX2DebugCaptureInterface.onCaptureStart |
flags | A GX2DebugCaptureStartFlags option. |
void GX2DebugCaptureEnd | ( | GX2DebugCaptureEndFlags | flags | ) |
Ends a debug capture.
flags | A GX2DebugCaptureEndFlags option. |
void GX2DebugCaptureFrame | ( | const char * | filename | ) |
Will capture the next frame.
Capture begins during the next call to GX2SwapScanBuffers, and will end at the next GX2SwapScanBuffers.
Equivalent to calling GX2DebugCaptureFrames(filename, 1)
void GX2DebugCaptureFrames | ( | const char * | filename, |
uint32_t | count | ||
) |
Will capture count frames.
Capture begins during the next call to GX2SwapScanBuffers, and will end after count frames have been swapped in GX2SwapScanBuffers.
Capture begins and ends during GX2SwapScanBuffers.