Struct gfx_hal::format::Properties
source · pub struct Properties {
pub linear_tiling: ImageFeature,
pub optimal_tiling: ImageFeature,
pub buffer_features: BufferFeature,
}
Expand description
Format properties of the physical device.
Fields
linear_tiling: ImageFeature
A bitmask of the features supported when an image with linear tiling is requested. Linear tiling has a known layout in-memory so data can be copied to and from host memory.
optimal_tiling: ImageFeature
A bitmask of the features supported when an image with optimal tiling is requested. Optimal tiling is arranged however the GPU wants; its exact layout is undefined.
buffer_features: BufferFeature
The features supported by buffers.
Trait Implementations
sourceimpl Clone for Properties
impl Clone for Properties
sourcefn clone(&self) -> Properties
fn clone(&self) -> Properties
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 Properties
impl Debug for Properties
sourceimpl Default for Properties
impl Default for Properties
sourcefn default() -> Properties
fn default() -> Properties
Returns the “default value” for a type. Read more
sourceimpl Hash for Properties
impl Hash for Properties
sourceimpl PartialEq<Properties> for Properties
impl PartialEq<Properties> for Properties
sourcefn eq(&self, other: &Properties) -> bool
fn eq(&self, other: &Properties) -> bool
impl Copy for Properties
impl Eq for Properties
impl StructuralEq for Properties
impl StructuralPartialEq for Properties
Auto Trait Implementations
impl RefUnwindSafe for Properties
impl Send for Properties
impl Sync for Properties
impl Unpin for Properties
impl UnwindSafe for Properties
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