#[non_exhaustive]#[repr(u32)]pub enum VkDescriptorType {
Show 18 variants
VK_DESCRIPTOR_TYPE_SAMPLER = 0,
VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER = 1,
VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE = 2,
VK_DESCRIPTOR_TYPE_STORAGE_IMAGE = 3,
VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER = 4,
VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER = 5,
VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER = 6,
VK_DESCRIPTOR_TYPE_STORAGE_BUFFER = 7,
VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC = 8,
VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC = 9,
VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT = 10,
VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK = 1_000_138_000,
VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR = 1_000_150_000,
VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_NV = 1_000_165_000,
VK_DESCRIPTOR_TYPE_SAMPLE_WEIGHT_IMAGE_QCOM = 1_000_440_000,
VK_DESCRIPTOR_TYPE_BLOCK_MATCH_IMAGE_QCOM = 1_000_440_001,
VK_DESCRIPTOR_TYPE_MUTABLE_EXT = 1_000_351_000,
VK_DESCRIPTOR_TYPE_MAX_ENUM = 2_147_483_647,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
VK_DESCRIPTOR_TYPE_SAMPLER = 0
VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER = 1
VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE = 2
VK_DESCRIPTOR_TYPE_STORAGE_IMAGE = 3
VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER = 4
VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER = 5
VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER = 6
VK_DESCRIPTOR_TYPE_STORAGE_BUFFER = 7
VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC = 8
VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC = 9
VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT = 10
VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK = 1_000_138_000
VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR = 1_000_150_000
VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_NV = 1_000_165_000
VK_DESCRIPTOR_TYPE_SAMPLE_WEIGHT_IMAGE_QCOM = 1_000_440_000
VK_DESCRIPTOR_TYPE_BLOCK_MATCH_IMAGE_QCOM = 1_000_440_001
VK_DESCRIPTOR_TYPE_MUTABLE_EXT = 1_000_351_000
VK_DESCRIPTOR_TYPE_MAX_ENUM = 2_147_483_647
Implementations§
Source§impl VkDescriptorType
impl VkDescriptorType
pub const VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT: VkDescriptorType = VkDescriptorType::VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK
Source§impl VkDescriptorType
impl VkDescriptorType
pub const VK_DESCRIPTOR_TYPE_MUTABLE_VALVE: VkDescriptorType = VkDescriptorType::VK_DESCRIPTOR_TYPE_MUTABLE_EXT
Trait Implementations§
Source§impl Clone for VkDescriptorType
impl Clone for VkDescriptorType
Source§fn clone(&self) -> VkDescriptorType
fn clone(&self) -> VkDescriptorType
Returns a duplicate 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 VkDescriptorType
impl Debug for VkDescriptorType
Source§impl Hash for VkDescriptorType
impl Hash for VkDescriptorType
Source§impl PartialEq for VkDescriptorType
impl PartialEq for VkDescriptorType
impl Copy for VkDescriptorType
impl Eq for VkDescriptorType
impl StructuralPartialEq for VkDescriptorType
Auto Trait Implementations§
impl Freeze for VkDescriptorType
impl RefUnwindSafe for VkDescriptorType
impl Send for VkDescriptorType
impl Sync for VkDescriptorType
impl Unpin for VkDescriptorType
impl UnwindSafe for VkDescriptorType
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