Struct ash::vk::HdrMetadataEXTBuilder [−][src]
#[repr(transparent)]pub struct HdrMetadataEXTBuilder<'a> { /* fields omitted */ }
Implementations
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 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>
pub fn push_next<T: ExtendsHdrMetadataEXT>(
self,
next: &'a mut T
) -> HdrMetadataEXTBuilder<'a>
pub fn push_next<T: ExtendsHdrMetadataEXT>(
self,
next: &'a mut T
) -> HdrMetadataEXTBuilder<'a>
Prepends the given extension struct between the root and the first pointer. This
method only exists on structs that can be passed to a function directly. Only
valid extension structs can be pushed into the chain.
If the chain looks like A -> B -> C
, and you call builder.push_next(&mut D)
, then the
chain will look like A -> D -> B -> C
.
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.
Methods from Deref<Target = HdrMetadataEXT>
Trait Implementations
type Target = HdrMetadataEXT
type Target = HdrMetadataEXT
The resulting type after dereferencing.