Struct comfy_wgpu::LightingState
source · pub struct LightingState {
pub lights: Vec<Light, Global>,
}Fields§
§lights: Vec<Light, Global>Implementations§
source§impl LightingState
impl LightingState
pub fn begin_frame()
pub fn take_lights() -> Vec<Light, Global>
Trait Implementations§
source§impl Default for LightingState
impl Default for LightingState
source§fn default() -> LightingState
fn default() -> LightingState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for LightingState
impl Send for LightingState
impl Sync for LightingState
impl Unpin for LightingState
impl UnwindSafe for LightingState
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