Function bgfx_sys::bgfx_set_debug
source · [−]pub unsafe extern "C" fn bgfx_set_debug(_debug: u32)
Expand description
Set debug flags.
@param[in] _debug 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.