nCine::RHI::GS::GsDebug class

Debug-output and object-labelling stub of the GS backend.

The Graphics Synthesizer is driven by raw GIF packets and has no device-side debug facility of any kind - not even an error register a draw could be checked against - so every entry point is a no-op. The class exists only to satisfy the RHI::Debug contract alias (debug groups, message insertion and object labels used by the render pipeline). What debugging there is comes from outside: PCSX2's GS dumps and its EE console, which the engine reaches through the ordinary logger.

Public types

class ScopedGroup
RAII scope for a debug message group (a no-op for the GS 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 GS 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