Struct zaplib::CxDebugFlags
source · [−]pub struct CxDebugFlags {
pub draw_tree: CxDebugDrawTree,
pub disable_draw_call_batching: bool,
pub enable_layout_debugger: bool,
}Expand description
Flags that can be set that enable debug functionality. See Cx::debug_flags_mut for an example.
Fields
draw_tree: CxDebugDrawTreeSee CxDebugDrawTree.
disable_draw_call_batching: boolMakes it so every call to Cx::add_instances gets a fresh DrawCall. This is useful for debugging,
since the batching of draw calls can be confusing sometimes (and you should never rely on it happening).
enable_layout_debugger: boolEnables overlay with borders of CxLayoutBox rects
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for CxDebugFlags
impl Send for CxDebugFlags
impl Sync for CxDebugFlags
impl Unpin for CxDebugFlags
impl UnwindSafe for CxDebugFlags
Blanket Implementations
Mutably borrows from an owned value. Read more