Gx2Debug class
#include <nCine/Graphics/RHI/GX2/Gx2Debug.h>
Debug-output and object-labelling facade of the GX2 backend.
Inert: GX2 has debug tags (GX2DebugTagUserString()), but they are only seen by Nintendo's GPU profiler, and the backend's resources are plain structures in memory rather than driver-side named objects. The class is kept so the render pipeline's RHI::Debug calls compile unchanged; every call is an empty inline function.
Public types
- class ScopedGroup
- RAII scope for a debug message group (inert on this backend).
- enum class LabelTypes { Buffer, Shader, Program, VertexArray, Query, ProgramPipeline, TransformFeedback, Sampler, Texture, RenderBuffer, FrameBuffer }
- Object types that can be labelled (values are irrelevant for the GX2 backend).
Public static functions
- static void Init(const IRhiCapabilities& caps)
- static void Reset()
- static auto IsAvailable() -> bool
- static void PushGroup(StringView message)
- static void PopGroup()
- static void MessageInsert(StringView message)
-
static void SetObjectLabel(LabelTypes identifier,
std::
uint32_t name, StringView label) -
static void GetObjectLabel(LabelTypes identifier,
std::
uint32_t name, std:: int32_t bufSize, std:: int32_t* length, char* label) -
static auto GetMaxLabelLength() -> std::
int32_t