Struct comfy_core::DrawParams
source · pub struct DrawParams<'a> {
pub aspect_ratio: f32,
pub projection: Mat4,
pub white_px: TextureHandle,
pub clear_color: Color,
pub lights: Vec<Light>,
pub lighting: &'a mut GlobalLightingParams,
pub config: &'a mut GameConfig,
pub frame: FrameParams,
pub mesh_queue: Vec<MeshDraw>,
pub particle_queue: Vec<ParticleDraw>,
pub egui: &'a Context,
}Fields§
§aspect_ratio: f32§projection: Mat4§white_px: TextureHandle§clear_color: Color§lights: Vec<Light>§lighting: &'a mut GlobalLightingParams§config: &'a mut GameConfig§frame: FrameParams§mesh_queue: Vec<MeshDraw>§particle_queue: Vec<ParticleDraw>§egui: &'a ContextAuto Trait Implementations§
impl<'a> !RefUnwindSafe for DrawParams<'a>
impl<'a> Send for DrawParams<'a>
impl<'a> Sync for DrawParams<'a>
impl<'a> Unpin for DrawParams<'a>
impl<'a> !UnwindSafe for DrawParams<'a>
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