Struct screen_13::prelude::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 ) -> HdrMetadataEXTBuilder<'a>
pub fn display_primary_green( self, display_primary_green: XYColorEXT ) -> HdrMetadataEXTBuilder<'a>
pub fn display_primary_blue( self, display_primary_blue: XYColorEXT ) -> HdrMetadataEXTBuilder<'a>
pub fn white_point(self, white_point: XYColorEXT) -> HdrMetadataEXTBuilder<'a>
pub fn max_luminance(self, max_luminance: f32) -> HdrMetadataEXTBuilder<'a>
pub fn min_luminance(self, min_luminance: f32) -> HdrMetadataEXTBuilder<'a>
pub fn max_content_light_level( self, max_content_light_level: f32 ) -> HdrMetadataEXTBuilder<'a>
pub fn max_frame_average_light_level( self, max_frame_average_light_level: f32 ) -> HdrMetadataEXTBuilder<'a>
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>
§type Target = HdrMetadataEXT
type Target = HdrMetadataEXT
The resulting type after dereferencing.
source§impl<'a> DerefMut for HdrMetadataEXTBuilder<'a>
impl<'a> DerefMut 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