Struct gfx_hal::format::Properties [−][src]
pub struct Properties { pub linear_tiling: ImageFeature, pub optimal_tiling: ImageFeature, pub buffer_features: BufferFeature, }
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
impl Clone for Properties
[src]
impl Clone for Properties
[src]fn clone(&self) -> Properties
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Properties
[src]
impl Copy for Properties
[src]impl Default for Properties
[src]
impl Default for Properties
[src]fn default() -> Properties
[src]
impl Eq for Properties
[src]
impl Eq for Properties
[src]impl Hash for Properties
[src]
impl Hash for Properties
[src]impl PartialEq<Properties> for Properties
[src]
impl PartialEq<Properties> for Properties
[src]fn eq(&self, other: &Properties) -> bool
[src]
fn ne(&self, other: &Properties) -> bool
[src]
impl StructuralEq for Properties
[src]
impl StructuralEq for Properties
[src]impl StructuralPartialEq for Properties
[src]
impl StructuralPartialEq for Properties
[src]Auto Trait Implementations
impl RefUnwindSafe for Properties
impl RefUnwindSafe for Properties
impl Send for Properties
impl Send for Properties
impl Sync for Properties
impl Sync for Properties
impl Unpin for Properties
impl Unpin for Properties
impl UnwindSafe for Properties
impl UnwindSafe for Properties