pub struct DecalContextManager {
pub decal_instances: Vec<DecalInstances>,
/* private fields */
}
Fields§
§decal_instances: Vec<DecalInstances>
Implementations§
Source§impl DecalContextManager
impl DecalContextManager
pub fn new( device: &Device, queue: &Queue, bind_group_layout: &BindGroupLayout, spr: (&[u8], (u32, u32)), ) -> (Self, CommandBuffer)
pub fn add_instance(&mut self, decal: DecalInstances)
pub fn update_main_texture(&mut self, queue: &Queue, data: &[u8])
Auto Trait Implementations§
impl !Freeze for DecalContextManager
impl !RefUnwindSafe for DecalContextManager
impl Send for DecalContextManager
impl Sync for DecalContextManager
impl Unpin for DecalContextManager
impl !UnwindSafe for DecalContextManager
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