bgfx_set_debug

Set debug flags.

  1. void bgfx_set_debug(uint _debug)
    version(BindBgfx_Static)
    extern (C) @nogc nothrow
    void
    bgfx_set_debug
    (
    uint _debug
    )
  2. da_bgfx_set_debug bgfx_set_debug;

Parameters

_debug uint

Available flags: - BGFX_DEBUG_IFH - Infinitely fast hardware. When this flag is set all rendering calls will be skipped. This is useful when profiling to quickly assess potential bottlenecks between CPU and GPU. - BGFX_DEBUG_PROFILER - Enable profiler. - BGFX_DEBUG_STATS - Display internal statistics. - BGFX_DEBUG_TEXT - Display debug text. - BGFX_DEBUG_WIREFRAME - Wireframe rendering. All rendering primitives will be rendered as lines.

Meta