#[repr(C)]pub struct PhysicalDeviceProperties {
pub api_version: u32,
pub driver_version: u32,
pub vendor_id: u32,
pub device_id: u32,
pub device_type: PhysicalDeviceType,
pub device_name: [c_char; 256],
pub pipeline_cache_uuid: [u8; 16],
pub limits: PhysicalDeviceLimits,
pub sparse_properties: PhysicalDeviceSparseProperties,
}Expand description
Native structure VkPhysicalDeviceProperties.
Fields§
§api_version: u32Native field apiVersion.
driver_version: u32Native field driverVersion.
vendor_id: u32Native field vendorID.
device_id: u32Native field deviceID.
device_type: PhysicalDeviceTypeNative field deviceType.
device_name: [c_char; 256]Native field deviceName.
pipeline_cache_uuid: [u8; 16]Native field pipelineCacheUUID.
limits: PhysicalDeviceLimitsNative field limits.
sparse_properties: PhysicalDeviceSparsePropertiesNative field sparseProperties.
Implementations§
Source§impl PhysicalDeviceProperties
impl PhysicalDeviceProperties
Sourcepub fn set_api_version(self, value: u32) -> Self
pub fn set_api_version(self, value: u32) -> Self
Set native field apiVersion without native effects.
Sourcepub fn set_driver_version(self, value: u32) -> Self
pub fn set_driver_version(self, value: u32) -> Self
Set native field driverVersion without native effects.
Sourcepub fn set_vendor_id(self, value: u32) -> Self
pub fn set_vendor_id(self, value: u32) -> Self
Set native field vendorID without native effects.
Sourcepub fn set_device_id(self, value: u32) -> Self
pub fn set_device_id(self, value: u32) -> Self
Set native field deviceID without native effects.
Sourcepub fn set_device_type(self, value: PhysicalDeviceType) -> Self
pub fn set_device_type(self, value: PhysicalDeviceType) -> Self
Set native field deviceType without native effects.
Sourcepub fn set_device_name(self, value: [c_char; 256]) -> Self
pub fn set_device_name(self, value: [c_char; 256]) -> Self
Set native field deviceName without native effects.
Sourcepub fn set_pipeline_cache_uuid(self, value: [u8; 16]) -> Self
pub fn set_pipeline_cache_uuid(self, value: [u8; 16]) -> Self
Set native field pipelineCacheUUID without native effects.
Sourcepub fn set_limits(self, value: PhysicalDeviceLimits) -> Self
pub fn set_limits(self, value: PhysicalDeviceLimits) -> Self
Set native field limits without native effects.
Sourcepub fn set_sparse_properties(
self,
value: PhysicalDeviceSparseProperties,
) -> Self
pub fn set_sparse_properties( self, value: PhysicalDeviceSparseProperties, ) -> Self
Set native field sparseProperties without native effects.
Trait Implementations§
Source§impl Clone for PhysicalDeviceProperties
impl Clone for PhysicalDeviceProperties
impl Copy for PhysicalDeviceProperties
Auto Trait Implementations§
impl Forget for PhysicalDeviceProperties
impl Freeze for PhysicalDeviceProperties
impl Move for PhysicalDeviceProperties
impl RefUnwindSafe for PhysicalDeviceProperties
impl Send for PhysicalDeviceProperties
impl Sync for PhysicalDeviceProperties
impl Unpin for PhysicalDeviceProperties
impl UnsafeUnpin for PhysicalDeviceProperties
impl UnwindSafe for PhysicalDeviceProperties
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more