pub struct Properties {
pub linear_tiling: ImageFeature,
pub optimal_tiling: ImageFeature,
pub buffer_features: BufferFeature,
pub drm_format_properties: Vec<DrmFormatProperties>,
}
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.
drm_format_properties: Vec<DrmFormatProperties>
Drm format properties
Trait Implementations§
Source§impl Clone for Properties
impl Clone for Properties
Source§fn clone(&self) -> Properties
fn clone(&self) -> Properties
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 moreSource§impl Debug for Properties
impl Debug for Properties
Source§impl Default for Properties
impl Default for Properties
Source§fn default() -> Properties
fn default() -> Properties
Returns the “default value” for a type. Read more
Source§impl Hash for Properties
impl Hash for Properties
Source§impl PartialEq for Properties
impl PartialEq for Properties
impl Eq for Properties
impl StructuralPartialEq for Properties
Auto Trait Implementations§
impl Freeze for Properties
impl RefUnwindSafe for Properties
impl Send for Properties
impl Sync for Properties
impl Unpin for Properties
impl UnwindSafe for Properties
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more