Struct screen_13::prelude::vk::DebugUtilsLabelEXTBuilder
source · pub struct DebugUtilsLabelEXTBuilder<'a> { /* private fields */ }Implementations§
source§impl<'a> DebugUtilsLabelEXTBuilder<'a>
impl<'a> DebugUtilsLabelEXTBuilder<'a>
pub fn label_name(self, label_name: &'a CStr) -> DebugUtilsLabelEXTBuilder<'a>
pub fn color(self, color: [f32; 4]) -> DebugUtilsLabelEXTBuilder<'a>
sourcepub fn build(self) -> DebugUtilsLabelEXT
pub fn build(self) -> DebugUtilsLabelEXT
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 DebugUtilsLabelEXTBuilder<'a>
impl<'a> Deref for DebugUtilsLabelEXTBuilder<'a>
§type Target = DebugUtilsLabelEXT
type Target = DebugUtilsLabelEXT
The resulting type after dereferencing.