Struct ash::vk::PhysicalDevicePropertiesBuilder
source · #[repr(transparent)]pub struct PhysicalDevicePropertiesBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PhysicalDevicePropertiesBuilder<'a>
impl<'a> PhysicalDevicePropertiesBuilder<'a>
pub fn api_version(self, api_version: u32) -> Self
pub fn driver_version(self, driver_version: u32) -> Self
pub fn vendor_id(self, vendor_id: u32) -> Self
pub fn device_id(self, device_id: u32) -> Self
pub fn device_type(self, device_type: PhysicalDeviceType) -> Self
pub fn device_name(self, device_name: [c_char; 256]) -> Self
pub fn pipeline_cache_uuid(self, pipeline_cache_uuid: [u8; 16]) -> Self
pub fn limits(self, limits: PhysicalDeviceLimits) -> Self
pub fn sparse_properties( self, sparse_properties: PhysicalDeviceSparseProperties ) -> Self
sourcepub fn build(self) -> PhysicalDeviceProperties
pub fn build(self) -> PhysicalDeviceProperties
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.