Struct ash::vk::PerformanceCounterKHRBuilder
source · #[repr(transparent)]pub struct PerformanceCounterKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PerformanceCounterKHRBuilder<'a>
impl<'a> PerformanceCounterKHRBuilder<'a>
pub fn unit(self, unit: PerformanceCounterUnitKHR) -> Self
pub fn scope(self, scope: PerformanceCounterScopeKHR) -> Self
pub fn storage(self, storage: PerformanceCounterStorageKHR) -> Self
pub fn uuid(self, uuid: [u8; 16]) -> Self
sourcepub fn build(self) -> PerformanceCounterKHR
pub fn build(self) -> PerformanceCounterKHR
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.