Struct gpu_descriptor_ash::AshDescriptorDevice
source · pub struct AshDescriptorDevice { /* private fields */ }
Implementations§
Trait Implementations§
source§impl DescriptorDevice<DescriptorSetLayout, DescriptorPool, DescriptorSet> for AshDescriptorDevice
impl DescriptorDevice<DescriptorSetLayout, DescriptorPool, DescriptorSet> for AshDescriptorDevice
source§unsafe fn create_descriptor_pool(
&self,
descriptor_count: &DescriptorTotalCount,
max_sets: u32,
flags: DescriptorPoolCreateFlags
) -> Result<DescriptorPool, CreatePoolError>
unsafe fn create_descriptor_pool( &self, descriptor_count: &DescriptorTotalCount, max_sets: u32, flags: DescriptorPoolCreateFlags ) -> Result<DescriptorPool, CreatePoolError>
Creates a new descriptor pool. Read more
source§unsafe fn destroy_descriptor_pool(&self, pool: DescriptorPool)
unsafe fn destroy_descriptor_pool(&self, pool: DescriptorPool)
Destroys descriptor pool. Read more
source§unsafe fn alloc_descriptor_sets<'a>(
&self,
pool: &mut DescriptorPool,
layouts: impl ExactSizeIterator<Item = &'a DescriptorSetLayout>,
sets: &mut impl Extend<DescriptorSet>
) -> Result<(), DeviceAllocationError>
unsafe fn alloc_descriptor_sets<'a>( &self, pool: &mut DescriptorPool, layouts: impl ExactSizeIterator<Item = &'a DescriptorSetLayout>, sets: &mut impl Extend<DescriptorSet> ) -> Result<(), DeviceAllocationError>
Allocates descriptor sets. Read more
source§unsafe fn dealloc_descriptor_sets<'a>(
&self,
pool: &mut DescriptorPool,
sets: impl Iterator<Item = DescriptorSet>
)
unsafe fn dealloc_descriptor_sets<'a>( &self, pool: &mut DescriptorPool, sets: impl Iterator<Item = DescriptorSet> )
Deallocates descriptor sets. Read more
Auto Trait Implementations§
impl Freeze for AshDescriptorDevice
impl RefUnwindSafe for AshDescriptorDevice
impl Send for AshDescriptorDevice
impl Sync for AshDescriptorDevice
impl Unpin for AshDescriptorDevice
impl UnwindSafe for AshDescriptorDevice
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