pub enum DescriptorBindingResources {
None(SmallVec<[Option<()>; 1]>),
Buffer(SmallVec<[Option<DescriptorBufferInfo>; 1]>),
BufferView(SmallVec<[Option<Arc<BufferView>>; 1]>),
ImageView(SmallVec<[Option<DescriptorImageViewInfo>; 1]>),
ImageViewSampler(SmallVec<[Option<(DescriptorImageViewInfo, Arc<Sampler>)>; 1]>),
Sampler(SmallVec<[Option<Arc<Sampler>>; 1]>),
InlineUniformBlock,
AccelerationStructure(SmallVec<[Option<Arc<AccelerationStructure>>; 1]>),
}
Expand description
The resources that are bound to a single descriptor set binding.
Variants§
None(SmallVec<[Option<()>; 1]>)
Buffer(SmallVec<[Option<DescriptorBufferInfo>; 1]>)
BufferView(SmallVec<[Option<Arc<BufferView>>; 1]>)
ImageView(SmallVec<[Option<DescriptorImageViewInfo>; 1]>)
ImageViewSampler(SmallVec<[Option<(DescriptorImageViewInfo, Arc<Sampler>)>; 1]>)
Sampler(SmallVec<[Option<Arc<Sampler>>; 1]>)
InlineUniformBlock
AccelerationStructure(SmallVec<[Option<Arc<AccelerationStructure>>; 1]>)
Trait Implementations§
source§impl Clone for DescriptorBindingResources
impl Clone for DescriptorBindingResources
source§fn clone(&self) -> DescriptorBindingResources
fn clone(&self) -> DescriptorBindingResources
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for DescriptorBindingResources
impl Send for DescriptorBindingResources
impl Sync for DescriptorBindingResources
impl Unpin for DescriptorBindingResources
impl !UnwindSafe for DescriptorBindingResources
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