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§
source§impl 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§
source§impl Clone for FormatProperties
impl Clone for FormatProperties
source§fn clone(&self) -> FormatProperties
fn clone(&self) -> FormatProperties
Returns a copy 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 more