pub struct PerMaterialArchetypeInterface<M> {
pub bgl: BindGroupLayout,
/* private fields */
}
Expand description
Interface which has all per-material-archetype data: the object output buffer and the gpu material buffer.
Fields§
§bgl: BindGroupLayout
Implementations§
Source§impl<M: Material> PerMaterialArchetypeInterface<M>
impl<M: Material> PerMaterialArchetypeInterface<M>
pub fn new(device: &Device, profile: RendererProfile) -> Self
Auto Trait Implementations§
impl<M> Freeze for PerMaterialArchetypeInterface<M>
impl<M> !RefUnwindSafe for PerMaterialArchetypeInterface<M>
impl<M> Send for PerMaterialArchetypeInterface<M>where
M: Send,
impl<M> Sync for PerMaterialArchetypeInterface<M>where
M: Sync,
impl<M> Unpin for PerMaterialArchetypeInterface<M>where
M: Unpin,
impl<M> !UnwindSafe for PerMaterialArchetypeInterface<M>
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