Trait vulkano::descriptor::descriptor_set::DescriptorSet
[−]
[src]
pub unsafe trait DescriptorSet: DescriptorSetDesc { fn inner(&self) -> &UnsafeDescriptorSet; fn buffers_list<'a>(&'a self) -> Box<Iterator<Item = &'a BufferAccess> + 'a>; fn images_list<'a>(&'a self) -> Box<Iterator<Item = &'a ImageAccess> + 'a>; }
Trait for objects that contain a collection of resources that will be accessible by shaders.
Objects of this type can be passed when submitting a draw command.
Required Methods
fn inner(&self) -> &UnsafeDescriptorSet
Returns the inner UnsafeDescriptorSet
.
fn buffers_list<'a>(&'a self) -> Box<Iterator<Item = &'a BufferAccess> + 'a>
Returns the list of buffers used by this descriptor set. Includes buffer views.
fn images_list<'a>(&'a self) -> Box<Iterator<Item = &'a ImageAccess> + 'a>
Returns the list of images used by this descriptor set. Includes image views.
Implementors
impl<R, P> DescriptorSet for PersistentDescriptorSet<R, P> where
P: DescriptorPoolAlloc,impl<R, P> DescriptorSet for SimpleDescriptorSet<R, P> where
P: DescriptorPool,impl<T> DescriptorSet for T where
T: SafeDeref,
T::Target: DescriptorSet,