Struct ash::vk::HdrMetadataEXTBuilder
source · pub struct HdrMetadataEXTBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> HdrMetadataEXTBuilder<'a>
impl<'a> HdrMetadataEXTBuilder<'a>
pub fn display_primary_red(self, display_primary_red: XYColorEXT) -> Self
pub fn display_primary_green(self, display_primary_green: XYColorEXT) -> Self
pub fn display_primary_blue(self, display_primary_blue: XYColorEXT) -> Self
pub fn white_point(self, white_point: XYColorEXT) -> Self
pub fn max_luminance(self, max_luminance: f32) -> Self
pub fn min_luminance(self, min_luminance: f32) -> Self
pub fn max_content_light_level(self, max_content_light_level: f32) -> Self
pub fn max_frame_average_light_level( self, max_frame_average_light_level: f32 ) -> Self
sourcepub fn build(self) -> HdrMetadataEXT
pub fn build(self) -> HdrMetadataEXT
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
source§impl<'a> Deref for HdrMetadataEXTBuilder<'a>
impl<'a> Deref for HdrMetadataEXTBuilder<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for HdrMetadataEXTBuilder<'a>
impl<'a> !Send for HdrMetadataEXTBuilder<'a>
impl<'a> !Sync for HdrMetadataEXTBuilder<'a>
impl<'a> Unpin for HdrMetadataEXTBuilder<'a>
impl<'a> UnwindSafe for HdrMetadataEXTBuilder<'a>
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