Struct pilka_lib::ash::vk::PhysicalDevicePropertiesBuilder [−]
#[repr(transparent)]pub struct PhysicalDevicePropertiesBuilder<'a> { /* fields omitted */ }
Implementations
impl<'a> PhysicalDevicePropertiesBuilder<'a>
impl<'a> PhysicalDevicePropertiesBuilder<'a>
pub fn api_version(
self,
api_version: u32
) -> PhysicalDevicePropertiesBuilder<'a>
pub fn driver_version(
self,
driver_version: u32
) -> PhysicalDevicePropertiesBuilder<'a>
pub fn vendor_id(self, vendor_id: u32) -> PhysicalDevicePropertiesBuilder<'a>
pub fn device_id(self, device_id: u32) -> PhysicalDevicePropertiesBuilder<'a>
pub fn device_type(
self,
device_type: PhysicalDeviceType
) -> PhysicalDevicePropertiesBuilder<'a>
pub fn device_name(
self,
device_name: [i8; 256]
) -> PhysicalDevicePropertiesBuilder<'a>
pub fn pipeline_cache_uuid(
self,
pipeline_cache_uuid: [u8; 16]
) -> PhysicalDevicePropertiesBuilder<'a>
pub fn limits(
self,
limits: PhysicalDeviceLimits
) -> PhysicalDevicePropertiesBuilder<'a>
pub fn sparse_properties(
self,
sparse_properties: PhysicalDeviceSparseProperties
) -> PhysicalDevicePropertiesBuilder<'a>
pub 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.
Methods from Deref<Target = PhysicalDeviceProperties>
Trait Implementations
impl<'a> Deref for PhysicalDevicePropertiesBuilder<'a>
impl<'a> Deref for PhysicalDevicePropertiesBuilder<'a>
type Target = PhysicalDeviceProperties
type Target = PhysicalDeviceProperties
The resulting type after dereferencing.
pub fn deref(&self) -> &<PhysicalDevicePropertiesBuilder<'a> as Deref>::Target
pub fn deref(&self) -> &<PhysicalDevicePropertiesBuilder<'a> as Deref>::Target
Dereferences the value.
impl<'a> DerefMut for PhysicalDevicePropertiesBuilder<'a>
impl<'a> DerefMut for PhysicalDevicePropertiesBuilder<'a>
pub fn deref_mut(
&mut self
) -> &mut <PhysicalDevicePropertiesBuilder<'a> as Deref>::Target
pub fn deref_mut(
&mut self
) -> &mut <PhysicalDevicePropertiesBuilder<'a> as Deref>::Target
Mutably dereferences the value.