pub struct ResourcePoolCreateInfo<A: Allocator = DefaultAllocator> {
pub device: Device,
pub allocator: A,
pub scratch_size: u64,
}Expand description
Information needed to create a resource pool
Fields§
§device: DeviceVulkan device object
allocator: AGPU memory allocated
scratch_size: u64Size of scratch allocators in this pool
Auto Trait Implementations§
impl<A> Freeze for ResourcePoolCreateInfo<A>where
A: Freeze,
impl<A> RefUnwindSafe for ResourcePoolCreateInfo<A>where
A: RefUnwindSafe,
impl<A> Send for ResourcePoolCreateInfo<A>
impl<A> Sync for ResourcePoolCreateInfo<A>
impl<A> Unpin for ResourcePoolCreateInfo<A>where
A: Unpin,
impl<A> UnwindSafe for ResourcePoolCreateInfo<A>where
A: UnwindSafe,
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