Function bgfx_rs::static_lib::set_debug
source · pub fn set_debug(debug: u32)
Expand description
debug
: Available flags:- DebugFlags::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.
- DebugFlags::PROFILER - Enable profiler.
- DebugFlags::STATS - Display internal statistics.
- DebugFlags::TEXT - Display debug text.
- DebugFlags::WIREFRAME - Wireframe rendering. All rendering primitives will be rendered as lines.