Enum spirq::prelude::DescriptorType
source · pub enum DescriptorType {
Sampler(),
CombinedImageSampler(),
SampledImage(),
StorageImage(AccessType),
UniformTexelBuffer(),
StorageTexelBuffer(AccessType),
UniformBuffer(),
StorageBuffer(AccessType),
InputAttachment(u32),
AccelStruct(),
}
Expand description
Descriptor type matching VkDescriptorType
.
Variants§
Sampler()
VK_DESCRIPTOR_TYPE_SAMPLER
CombinedImageSampler()
VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER
SampledImage()
VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE
StorageImage(AccessType)
VK_DESCRIPTOR_TYPE_STORAGE_IMAGE
UniformTexelBuffer()
VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER
.
StorageTexelBuffer(AccessType)
VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER
.
UniformBuffer()
VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER
or
VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC
depending on how you gonna
use it.
StorageBuffer(AccessType)
VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
or
VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC
depending on how you gonna
use it.
InputAttachment(u32)
VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT
and its input attachment index.
AccelStruct()
VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR
Trait Implementations§
source§impl Clone for DescriptorType
impl Clone for DescriptorType
source§fn clone(&self) -> DescriptorType
fn clone(&self) -> DescriptorType
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 moresource§impl Debug for DescriptorType
impl Debug for DescriptorType
source§impl Hash for DescriptorType
impl Hash for DescriptorType
source§impl PartialEq for DescriptorType
impl PartialEq for DescriptorType
source§fn eq(&self, other: &DescriptorType) -> bool
fn eq(&self, other: &DescriptorType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DescriptorType
impl StructuralPartialEq for DescriptorType
Auto Trait Implementations§
impl Freeze for DescriptorType
impl RefUnwindSafe for DescriptorType
impl Send for DescriptorType
impl Sync for DescriptorType
impl Unpin for DescriptorType
impl UnwindSafe for DescriptorType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)