Struct vulkano::format::FormatFeatures [−][src]
pub struct FormatFeatures {}Show fields
pub sampled_image: bool, pub storage_image: bool, pub storage_image_atomic: bool, pub uniform_texel_buffer: bool, pub storage_texel_buffer: bool, pub storage_texel_buffer_atomic: bool, pub vertex_buffer: bool, pub color_attachment: bool, pub color_attachment_blend: bool, pub depth_stencil_attachment: bool, pub blit_src: bool, pub blit_dst: bool, pub sampled_image_filter_linear: bool, pub transfer_src: bool, pub transfer_dst: bool, pub midpoint_chroma_samples: bool, pub sampled_image_ycbcr_conversion_linear_filter: bool, pub sampled_image_ycbcr_conversion_separate_reconstruction_filter: bool, pub sampled_image_ycbcr_conversion_chroma_reconstruction_explicit: bool, pub sampled_image_ycbcr_conversion_chroma_reconstruction_explicit_forceable: bool, pub disjoint: bool, pub cosited_chroma_samples: bool, pub sampled_image_filter_minmax: bool, pub img_sampled_image_filter_cubic: bool, pub khr_acceleration_structure_vertex_buffer: bool, pub ext_fragment_density_map: bool,
The features supported by images with a particular format.
Fields
sampled_image: bool
storage_image: bool
storage_image_atomic: bool
uniform_texel_buffer: bool
storage_texel_buffer: bool
storage_texel_buffer_atomic: bool
vertex_buffer: bool
color_attachment: bool
color_attachment_blend: bool
depth_stencil_attachment: bool
blit_src: bool
blit_dst: bool
sampled_image_filter_linear: bool
transfer_src: bool
transfer_dst: bool
midpoint_chroma_samples: bool
sampled_image_ycbcr_conversion_linear_filter: bool
sampled_image_ycbcr_conversion_separate_reconstruction_filter: bool
sampled_image_ycbcr_conversion_chroma_reconstruction_explicit: bool
sampled_image_ycbcr_conversion_chroma_reconstruction_explicit_forceable: bool
disjoint: bool
cosited_chroma_samples: bool
sampled_image_filter_minmax: bool
img_sampled_image_filter_cubic: bool
khr_acceleration_structure_vertex_buffer: bool
ext_fragment_density_map: bool
Trait Implementations
impl Clone for FormatFeatures
[src]
impl Clone for FormatFeatures
[src]fn clone(&self) -> FormatFeatures
[src]
fn clone(&self) -> FormatFeatures
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for FormatFeatures
[src]
impl Debug for FormatFeatures
[src]impl Default for FormatFeatures
[src]
impl Default for FormatFeatures
[src]fn default() -> FormatFeatures
[src]
fn default() -> FormatFeatures
[src]Returns the “default value” for a type. Read more
impl From<u32> for FormatFeatures
[src]
impl From<u32> for FormatFeatures
[src]fn from(val: FormatFeatureFlags) -> FormatFeatures
[src]
fn from(val: FormatFeatureFlags) -> FormatFeatures
[src]Performs the conversion.
impl Hash for FormatFeatures
[src]
impl Hash for FormatFeatures
[src]impl PartialEq<FormatFeatures> for FormatFeatures
[src]
impl PartialEq<FormatFeatures> for FormatFeatures
[src]fn eq(&self, other: &FormatFeatures) -> bool
[src]
fn eq(&self, other: &FormatFeatures) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &FormatFeatures) -> bool
[src]
fn ne(&self, other: &FormatFeatures) -> bool
[src]This method tests for !=
.
impl Copy for FormatFeatures
[src]
impl Eq for FormatFeatures
[src]
impl StructuralEq for FormatFeatures
[src]
impl StructuralPartialEq for FormatFeatures
[src]
Auto Trait Implementations
impl RefUnwindSafe for FormatFeatures
impl Send for FormatFeatures
impl Sync for FormatFeatures
impl Unpin for FormatFeatures
impl UnwindSafe for FormatFeatures
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Content for T
[src]
impl<T> Content for T
[src]pub fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
pub fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]Builds a pointer to this type from a raw pointer.
pub fn is_size_suitable(usize) -> bool
[src]
pub fn is_size_suitable(usize) -> bool
[src]Returns true if the size is suitable to store a type like this.
pub fn indiv_size() -> usize
[src]
pub fn indiv_size() -> usize
[src]Returns the size of an individual element.
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more