[−][src]Enum vulkano::descriptor::descriptor::DescriptorDescTy
Describes the content and layout of each array element of a descriptor.
Variants
CombinedImageSampler(DescriptorImageDesc)
Image(DescriptorImageDesc)
Fields of TexelBuffer
storage: bool
If true
, this describes a storage texel buffer.
format: Option<Format>
The format of the content, or None
if the format is unknown. Depending on the
context, it may be invalid to have a None
value here. If the format is Some
, only
buffer views that have this exact format can be attached to this descriptor.
Fields of InputAttachment
multisampled: bool
If true
, the input attachment is multisampled. Only multisampled images can be
attached to this descriptor. If false
, only single-sampled images can be attached.
array_layers: DescriptorImageDescArray
Buffer(DescriptorBufferDesc)
Implementations
impl DescriptorDescTy
[src]
pub fn ty(&self) -> Option<DescriptorType>
[src]
Returns the type of descriptor.
Returns None
if there's not enough info to determine the type.
pub fn is_superset_of(
&self,
other: &DescriptorDescTy
) -> Result<(), DescriptorDescSupersetError>
[src]
&self,
other: &DescriptorDescTy
) -> Result<(), DescriptorDescSupersetError>
Checks whether we are a superset of another descriptor type.
Trait Implementations
impl Clone for DescriptorDescTy
[src]
fn clone(&self) -> DescriptorDescTy
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DescriptorDescTy
[src]
impl Eq for DescriptorDescTy
[src]
impl PartialEq<DescriptorDescTy> for DescriptorDescTy
[src]
fn eq(&self, other: &DescriptorDescTy) -> bool
[src]
fn ne(&self, other: &DescriptorDescTy) -> bool
[src]
impl StructuralEq for DescriptorDescTy
[src]
impl StructuralPartialEq for DescriptorDescTy
[src]
Auto Trait Implementations
impl RefUnwindSafe for DescriptorDescTy
impl Send for DescriptorDescTy
impl Sync for DescriptorDescTy
impl Unpin for DescriptorDescTy
impl UnwindSafe for DescriptorDescTy
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Content for T
[src]
fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
fn is_size_suitable(usize) -> bool
[src]
fn indiv_size() -> usize
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,