Struct vulkano::format::FormatProperties
source · pub struct FormatProperties {
pub linear_tiling_features: FormatFeatures,
pub optimal_tiling_features: FormatFeatures,
pub buffer_features: FormatFeatures,
pub _ne: NonExhaustive,
}
Expand description
The properties of a format that are supported by a physical device.
Fields
linear_tiling_features: FormatFeatures
Features available for images with linear tiling.
optimal_tiling_features: FormatFeatures
Features available for images with optimal tiling.
buffer_features: FormatFeatures
Features available for buffers.
_ne: NonExhaustive
Implementations
sourceimpl FormatProperties
impl FormatProperties
sourcepub fn potential_format_features(&self) -> FormatFeatures
pub fn potential_format_features(&self) -> FormatFeatures
Returns the potential format features, following the definition of https://registry.khronos.org/vulkan/specs/1.3-extensions/html/chap43.html#potential-format-features.
Trait Implementations
sourceimpl Clone for FormatProperties
impl Clone for FormatProperties
sourcefn clone(&self) -> FormatProperties
fn clone(&self) -> FormatProperties
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 FormatProperties
impl Debug for FormatProperties
sourceimpl Default for FormatProperties
impl Default for FormatProperties
sourceimpl Hash for FormatProperties
impl Hash for FormatProperties
sourceimpl PartialEq<FormatProperties> for FormatProperties
impl PartialEq<FormatProperties> for FormatProperties
sourcefn eq(&self, other: &FormatProperties) -> bool
fn eq(&self, other: &FormatProperties) -> bool
impl Copy for FormatProperties
impl Eq for FormatProperties
impl StructuralEq for FormatProperties
impl StructuralPartialEq for FormatProperties
Auto Trait Implementations
impl RefUnwindSafe for FormatProperties
impl Send for FormatProperties
impl Sync for FormatProperties
impl Unpin for FormatProperties
impl UnwindSafe for FormatProperties
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