Enum vulkano::descriptor::descriptor::DescriptorType
source · #[repr(u32)]
pub enum DescriptorType {
Sampler,
CombinedImageSampler,
SampledImage,
StorageImage,
UniformTexelBuffer,
StorageTexelBuffer,
UniformBuffer,
StorageBuffer,
UniformBufferDynamic,
StorageBufferDynamic,
InputAttachment,
}
Expand description
Describes what kind of resource may later be bound to a descriptor.
This is mostly the same as a DescriptorDescTy
but with less precise information.
Variants
Sampler
CombinedImageSampler
SampledImage
StorageImage
UniformTexelBuffer
StorageTexelBuffer
UniformBuffer
StorageBuffer
UniformBufferDynamic
StorageBufferDynamic
InputAttachment
Trait Implementations
sourceimpl Clone for DescriptorType
impl Clone for DescriptorType
sourcefn clone(&self) -> DescriptorType
fn clone(&self) -> DescriptorType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DescriptorType
impl Debug for DescriptorType
sourceimpl PartialEq<DescriptorType> for DescriptorType
impl PartialEq<DescriptorType> for DescriptorType
sourcefn eq(&self, other: &DescriptorType) -> bool
fn eq(&self, other: &DescriptorType) -> bool
impl Copy for DescriptorType
impl Eq for DescriptorType
impl StructuralEq for DescriptorType
impl StructuralPartialEq for DescriptorType
Auto Trait Implementations
impl RefUnwindSafe for DescriptorType
impl Send for DescriptorType
impl Sync for DescriptorType
impl Unpin for DescriptorType
impl UnwindSafe for DescriptorType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Content for T
impl<T> Content for T
sourcefn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
fn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
Builds a pointer to this type from a raw pointer.
sourcefn is_size_suitable(size: usize) -> bool
fn is_size_suitable(size: usize) -> bool
Returns true if the size is suitable to store a type like this.
sourcefn indiv_size() -> usize
fn indiv_size() -> usize
Returns the size of an individual element.