Skip to content

LiteFX::Rendering::ICommandQueue::beginDebugRegion

Starts a new debug region.

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, dllexport]] virtual void beginDebugRegion(
    String const& label,
    Vectors::ByteVector3 const& color = DEFAULT_DEBUG_COLOR) const noexcept;

Description

This method is a debug helper, that is not required to be implemented. In the built-in backends, it will no-op by default in non-debug builds.

Parameters

NameDescription
labelThe name of the debug region.
colorThe color of the debug region.