pub struct DebugPassDesc {Show 15 fields
pub width: u32,
pub height: u32,
pub output_format: TextureFormat,
pub output_debug: ResourceId,
pub input_depth: ResourceId,
pub draw_wireframe: bool,
pub draw_normals: bool,
pub draw_bounding_boxes: bool,
pub draw_light_volumes: bool,
pub draw_nav_mesh: bool,
pub draw_physics_shapes: bool,
pub draw_frustums: bool,
pub line_color: Vec4,
pub max_lines: u32,
pub max_debug_primitives: u32,
}Fields§
§width: u32§height: u32§output_format: TextureFormat§output_debug: ResourceId§input_depth: ResourceId§draw_wireframe: bool§draw_normals: bool§draw_bounding_boxes: bool§draw_light_volumes: bool§draw_physics_shapes: bool§draw_frustums: bool§line_color: Vec4§max_lines: u32§max_debug_primitives: u32Implementations§
Source§impl DebugPassDesc
impl DebugPassDesc
Trait Implementations§
Source§impl Clone for DebugPassDesc
impl Clone for DebugPassDesc
Auto Trait Implementations§
impl Freeze for DebugPassDesc
impl RefUnwindSafe for DebugPassDesc
impl Send for DebugPassDesc
impl Sync for DebugPassDesc
impl Unpin for DebugPassDesc
impl UnsafeUnpin for DebugPassDesc
impl UnwindSafe for DebugPassDesc
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.