#[repr(C)]pub struct HdrMetadataEXT {
pub s_type: StructureType,
pub p_next: *const c_void,
pub display_primary_red: XYColorEXT,
pub display_primary_green: XYColorEXT,
pub display_primary_blue: XYColorEXT,
pub white_point: XYColorEXT,
pub max_luminance: f32,
pub min_luminance: f32,
pub max_content_light_level: f32,
pub max_frame_average_light_level: f32,
}Expand description
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_HDR_METADATA_EXT.
p_next: *const c_voidOptional, may be null.
display_primary_red: XYColorEXT§display_primary_green: XYColorEXT§display_primary_blue: XYColorEXT§white_point: XYColorEXT§max_luminance: f32§min_luminance: f32§max_content_light_level: f32§max_frame_average_light_level: f32Implementations§
Source§impl HdrMetadataEXT
impl HdrMetadataEXT
Sourcepub fn builder<'a>() -> HdrMetadataEXTBuilder<'a>
pub fn builder<'a>() -> HdrMetadataEXTBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for HdrMetadataEXT
impl Clone for HdrMetadataEXT
Source§fn clone(&self) -> HdrMetadataEXT
fn clone(&self) -> HdrMetadataEXT
Returns a duplicate 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 HdrMetadataEXT
impl Debug for HdrMetadataEXT
Source§impl Default for HdrMetadataEXT
impl Default for HdrMetadataEXT
impl Copy for HdrMetadataEXT
Auto Trait Implementations§
impl Freeze for HdrMetadataEXT
impl RefUnwindSafe for HdrMetadataEXT
impl !Send for HdrMetadataEXT
impl !Sync for HdrMetadataEXT
impl Unpin for HdrMetadataEXT
impl UnsafeUnpin for HdrMetadataEXT
impl UnwindSafe for HdrMetadataEXT
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