Struct wgpu_core::device::descriptor::DescriptorAllocator [−][src]
pub struct DescriptorAllocator<B: Backend>(_);
Implementations
pub fn allocate(
&mut self,
device: &B::Device,
layout: &B::DescriptorSetLayout,
layout_descriptor_count: &DescriptorTotalCount,
count: u32
) -> Result<Vec<DescriptorSet<B>>, DeviceError>Trait Implementations
impl<B: Debug + Backend> Debug for DescriptorAllocator<B> where
B::DescriptorPool: Debug,
B::DescriptorSet: Debug,
impl<B: Debug + Backend> Debug for DescriptorAllocator<B> where
B::DescriptorPool: Debug,
B::DescriptorSet: Debug, Auto Trait Implementations
impl<B> RefUnwindSafe for DescriptorAllocator<B> where
<B as Backend>::DescriptorPool: RefUnwindSafe,
<B as Backend>::DescriptorSet: RefUnwindSafe, impl<B> Send for DescriptorAllocator<B>impl<B> Sync for DescriptorAllocator<B>impl<B> Unpin for DescriptorAllocator<B> where
<B as Backend>::DescriptorPool: Unpin,
<B as Backend>::DescriptorSet: Unpin, impl<B> UnwindSafe for DescriptorAllocator<B> where
<B as Backend>::DescriptorPool: UnwindSafe,
<B as Backend>::DescriptorSet: UnwindSafe,