Struct vulkano::descriptor::descriptor_set::FixedSizeDescriptorSet [−][src]
pub struct FixedSizeDescriptorSet<R> { /* fields omitted */ }
A descriptor set created from a FixedSizeDescriptorSetsPool
.
Trait Implementations
impl<R> DescriptorSet for FixedSizeDescriptorSet<R> where
R: PersistentDescriptorSetResources,
[src]
impl<R> DescriptorSet for FixedSizeDescriptorSet<R> where
R: PersistentDescriptorSetResources,
[src]fn inner(&self) -> &UnsafeDescriptorSet
[src]
fn inner(&self) -> &UnsafeDescriptorSet
[src]Returns the inner UnsafeDescriptorSet
.
fn num_buffers(&self) -> usize
[src]
fn num_buffers(&self) -> usize
[src]Returns the number of buffers within this descriptor set.
fn buffer(&self, index: usize) -> Option<(&dyn BufferAccess, u32)>
[src]
fn buffer(&self, index: usize) -> Option<(&dyn 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]
fn num_images(&self) -> usize
[src]Returns the number of images within this descriptor set.
impl<R> DescriptorSetDesc for FixedSizeDescriptorSet<R>
[src]
impl<R> DescriptorSetDesc for FixedSizeDescriptorSet<R>
[src]fn num_bindings(&self) -> usize
[src]
fn num_bindings(&self) -> usize
[src]Returns the number of binding slots in the set.
fn descriptor(&self, binding: usize) -> Option<DescriptorDesc>
[src]
fn descriptor(&self, binding: usize) -> Option<DescriptorDesc>
[src]Returns a description of a descriptor, or None
if out of range.
impl<R> DeviceOwned for FixedSizeDescriptorSet<R>
[src]
impl<R> DeviceOwned for FixedSizeDescriptorSet<R>
[src]impl<R> Hash for FixedSizeDescriptorSet<R> where
R: PersistentDescriptorSetResources,
[src]
impl<R> Hash for FixedSizeDescriptorSet<R> where
R: PersistentDescriptorSetResources,
[src]impl<R> PartialEq<FixedSizeDescriptorSet<R>> for FixedSizeDescriptorSet<R> where
R: PersistentDescriptorSetResources,
[src]
impl<R> PartialEq<FixedSizeDescriptorSet<R>> for FixedSizeDescriptorSet<R> where
R: PersistentDescriptorSetResources,
[src]impl<R> Eq for FixedSizeDescriptorSet<R> where
R: PersistentDescriptorSetResources,
[src]
R: PersistentDescriptorSetResources,
Auto Trait Implementations
impl<R> RefUnwindSafe for FixedSizeDescriptorSet<R> where
R: RefUnwindSafe,
R: RefUnwindSafe,
impl<R> Send for FixedSizeDescriptorSet<R> where
R: Send,
R: Send,
impl<R> Sync for FixedSizeDescriptorSet<R> where
R: Sync,
R: Sync,
impl<R> Unpin for FixedSizeDescriptorSet<R> where
R: Unpin,
R: Unpin,
impl<R> UnwindSafe for FixedSizeDescriptorSet<R> where
R: UnwindSafe,
R: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Content for T
[src]
impl<T> Content for T
[src]pub fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
pub fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]Builds a pointer to this type from a raw pointer.
pub fn is_size_suitable(usize) -> bool
[src]
pub fn is_size_suitable(usize) -> bool
[src]Returns true if the size is suitable to store a type like this.
pub fn indiv_size() -> usize
[src]
pub fn indiv_size() -> usize
[src]Returns the size of an individual element.
impl<T> DescriptorSetsCollection for T where
T: DescriptorSet + Send + Sync + 'static,
[src]
impl<T> DescriptorSetsCollection for T where
T: DescriptorSet + Send + Sync + 'static,
[src]pub fn into_vec(
Self
) -> Vec<Box<dyn DescriptorSet + 'static + Sync + Send, Global>, Global>
[src]
Self
) -> Vec<Box<dyn DescriptorSet + 'static + Sync + Send, Global>, Global>
pub fn num_bindings_in_set(&Self, usize) -> Option<usize>
[src]
pub fn num_bindings_in_set(&Self, usize) -> Option<usize>
[src]Returns the number of descriptors in the set. Includes possibly empty descriptors. Read more
pub fn descriptor(&Self, usize, usize) -> Option<DescriptorDesc>
[src]
pub fn descriptor(&Self, usize, usize) -> Option<DescriptorDesc>
[src]Returns the descriptor for the given binding of the given set. Read more