Struct ash::vk::PerformanceCounterDescriptionKHRBuilder
source · #[repr(transparent)]pub struct PerformanceCounterDescriptionKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PerformanceCounterDescriptionKHRBuilder<'a>
impl<'a> PerformanceCounterDescriptionKHRBuilder<'a>
pub fn flags(self, flags: PerformanceCounterDescriptionFlagsKHR) -> Self
pub fn name(self, name: [c_char; 256]) -> Self
pub fn category(self, category: [c_char; 256]) -> Self
pub fn description(self, description: [c_char; 256]) -> Self
sourcepub fn build(self) -> PerformanceCounterDescriptionKHR
pub fn build(self) -> PerformanceCounterDescriptionKHR
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.