Struct vulkano::descriptor::descriptor_set::FixedSizeDescriptorSet
[−]
[src]
pub struct FixedSizeDescriptorSet<L, R> { /* fields omitted */ }
A descriptor set created from a FixedSizeDescriptorSetsPool
.
Trait Implementations
impl<L, R> DescriptorSet for FixedSizeDescriptorSet<L, R> where
L: PipelineLayoutAbstract,
R: PersistentDescriptorSetResources,
[src]
L: PipelineLayoutAbstract,
R: PersistentDescriptorSetResources,
fn inner(&self) -> &UnsafeDescriptorSet
[src]
Returns the inner UnsafeDescriptorSet
.
fn num_buffers(&self) -> usize
[src]
Returns the number of buffers within this descriptor set.
fn buffer(&self, index: usize) -> Option<(&BufferAccess, u32)>
[src]
Returns the index
th buffer of this descriptor set, or None
if out of range. Also returns the index of the descriptor that uses this buffer. Read more
fn num_images(&self) -> usize
[src]
Returns the number of images within this descriptor set.
fn image(&self, index: usize) -> Option<(&ImageViewAccess, u32)>
[src]
Returns the index
th image of this descriptor set, or None
if out of range. Also returns the index of the descriptor that uses this image. Read more
impl<L, R> DescriptorSetDesc for FixedSizeDescriptorSet<L, R> where
L: PipelineLayoutAbstract,
[src]
L: PipelineLayoutAbstract,
fn num_bindings(&self) -> usize
[src]
Returns the number of binding slots in the set.
fn descriptor(&self, binding: usize) -> Option<DescriptorDesc>
[src]
Returns a description of a descriptor, or None
if out of range.
impl<L, R> DeviceOwned for FixedSizeDescriptorSet<L, R> where
L: DeviceOwned,
[src]
L: DeviceOwned,
Auto Trait Implementations
impl<L, R> Send for FixedSizeDescriptorSet<L, R> where
L: Send,
R: Send,
L: Send,
R: Send,
impl<L, R> Sync for FixedSizeDescriptorSet<L, R> where
L: Sync,
R: Sync,
L: Sync,
R: Sync,