pub struct WholeFrameInterfaces {
pub depth_uniform_bgl: BindGroupLayout,
pub forward_uniform_bgl: BindGroupLayout,
}
Expand description
Interfaces which are used throughout the whole frame.
Contains the samplers, per frame uniforms, and directional light information.
Fields§
§depth_uniform_bgl: BindGroupLayout
Includes everything excluding the directional light information to prevent cycles when rendering to shadow maps.
forward_uniform_bgl: BindGroupLayout
Includes everything.
Implementations§
Auto Trait Implementations§
impl Freeze for WholeFrameInterfaces
impl !RefUnwindSafe for WholeFrameInterfaces
impl Send for WholeFrameInterfaces
impl Sync for WholeFrameInterfaces
impl Unpin for WholeFrameInterfaces
impl !UnwindSafe for WholeFrameInterfaces
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