pub fn insert_buffer(
        &self,
        buffer: VkBuffer,
    ) -> ResourceArc<BufferResource> {
        //let raw_buffer = ManuallyDrop::into_inner(buffer).take_raw().unwrap();
        self.insert_raw_buffer(buffer.take_raw().unwrap())
    }
// A key difference between this insert_buffer and the insert_buffer in a DynResourceAllocator
// is that these can be retrieved. However, a mutable reference is required. This one is
// more appropriate to use with loaded assets, and DynResourceAllocator with runtime assets
A key difference between this insert_buffer and the insert_buffer in a DynResourceAllocator
is that these can be retrieved. However, a mutable reference is required. This one is
more appropriate to use with loaded assets, and DynResourceAllocator with runtime assets
A key difference between this insert_buffer and the insert_buffer in a DynResourceAllocator is that these can be retrieved . However a mutable reference is required . This one is more appropriate to use with loaded assets and DynResourceAllocator with runtime assets
pub fn insert_buffer(
        &self,
        buffer: VkBuffer,
    ) -> ResourceArc<BufferResource> {
        //let raw_buffer = ManuallyDrop::into_inner(buffer).take_raw().unwrap();
        self.insert_raw_buffer(buffer.take_raw().unwrap())
    }
pub fn insert_buffer ( & self , buffer : VkBuffer , ) -> ResourceArc < BufferResource > { //let raw_buffer = ManuallyDrop::into_inner(buffer).take_raw().unwrap(); self . insert_raw_buffer ( buffer . take_raw ( ) . unwrap ( ) ) }
A key difference between this insert_buffer and the insert_buffer in a DynResourceAllocator
is that these can be retrieved.
A key difference between this insert_buffer and the insert_buffer in a DynResourceAllocator is that these can be retrieved .
&self
buffer
VkBuffer
&self
buffer
VkBuffer