Struct ash::vk::PhysicalDeviceDriverPropertiesBuilder
source · #[repr(transparent)]pub struct PhysicalDeviceDriverPropertiesBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PhysicalDeviceDriverPropertiesBuilder<'a>
impl<'a> PhysicalDeviceDriverPropertiesBuilder<'a>
pub fn driver_id(self, driver_id: DriverId) -> Self
pub fn driver_name(self, driver_name: [c_char; 256]) -> Self
pub fn driver_info(self, driver_info: [c_char; 256]) -> Self
pub fn conformance_version(self, conformance_version: ConformanceVersion) -> Self
sourcepub fn build(self) -> PhysicalDeviceDriverProperties
pub fn build(self) -> PhysicalDeviceDriverProperties
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.