pub struct PhysicalDeviceVulkan11Properties<'a> {Show 17 fields
pub s_type: StructureType,
pub p_next: *mut c_void,
pub device_uuid: [u8; 16],
pub driver_uuid: [u8; 16],
pub device_luid: [u8; 8],
pub device_node_mask: u32,
pub device_luid_valid: Bool32,
pub subgroup_size: u32,
pub subgroup_supported_stages: ShaderStageFlags,
pub subgroup_supported_operations: SubgroupFeatureFlags,
pub subgroup_quad_operations_in_all_stages: Bool32,
pub point_clipping_behavior: PointClippingBehavior,
pub max_multiview_view_count: u32,
pub max_multiview_instance_index: u32,
pub protected_no_fault: Bool32,
pub max_per_set_descriptors: u32,
pub max_memory_allocation_size: DeviceSize,
/* private fields */
}Expand description
Native structure VkPhysicalDeviceVulkan11Properties.
Fields§
§s_type: StructureTypeNative field sType.
p_next: *mut c_voidNative field pNext.
device_uuid: [u8; 16]Native field deviceUUID.
driver_uuid: [u8; 16]Native field driverUUID.
device_luid: [u8; 8]Native field deviceLUID.
device_node_mask: u32Native field deviceNodeMask.
device_luid_valid: Bool32Native field deviceLUIDValid.
subgroup_size: u32Native field subgroupSize.
subgroup_supported_stages: ShaderStageFlagsNative field subgroupSupportedStages.
subgroup_supported_operations: SubgroupFeatureFlagsNative field subgroupSupportedOperations.
subgroup_quad_operations_in_all_stages: Bool32Native field subgroupQuadOperationsInAllStages.
point_clipping_behavior: PointClippingBehaviorNative field pointClippingBehavior.
max_multiview_view_count: u32Native field maxMultiviewViewCount.
max_multiview_instance_index: u32Native field maxMultiviewInstanceIndex.
protected_no_fault: Bool32Native field protectedNoFault.
max_per_set_descriptors: u32Native field maxPerSetDescriptors.
max_memory_allocation_size: DeviceSizeNative field maxMemoryAllocationSize.
Implementations§
Source§impl<'a> PhysicalDeviceVulkan11Properties<'a>
impl<'a> PhysicalDeviceVulkan11Properties<'a>
Sourcepub fn new() -> Self
pub fn new() -> Self
Construct the record with its canonical sType tag and default native state.
Sourcepub fn set_device_uuid(self, value: [u8; 16]) -> Self
pub fn set_device_uuid(self, value: [u8; 16]) -> Self
Set native field deviceUUID without native effects.
Sourcepub fn set_driver_uuid(self, value: [u8; 16]) -> Self
pub fn set_driver_uuid(self, value: [u8; 16]) -> Self
Set native field driverUUID without native effects.
Sourcepub fn set_device_luid(self, value: [u8; 8]) -> Self
pub fn set_device_luid(self, value: [u8; 8]) -> Self
Set native field deviceLUID without native effects.
Sourcepub fn set_device_node_mask(self, value: u32) -> Self
pub fn set_device_node_mask(self, value: u32) -> Self
Set native field deviceNodeMask without native effects.
Sourcepub fn set_device_luid_valid(self, value: Bool32) -> Self
pub fn set_device_luid_valid(self, value: Bool32) -> Self
Set native field deviceLUIDValid without native effects.
Sourcepub fn set_subgroup_size(self, value: u32) -> Self
pub fn set_subgroup_size(self, value: u32) -> Self
Set native field subgroupSize without native effects.
Sourcepub fn set_subgroup_supported_stages(self, value: ShaderStageFlags) -> Self
pub fn set_subgroup_supported_stages(self, value: ShaderStageFlags) -> Self
Set native field subgroupSupportedStages without native effects.
Sourcepub fn set_subgroup_supported_operations(
self,
value: SubgroupFeatureFlags,
) -> Self
pub fn set_subgroup_supported_operations( self, value: SubgroupFeatureFlags, ) -> Self
Set native field subgroupSupportedOperations without native effects.
Sourcepub fn set_subgroup_quad_operations_in_all_stages(self, value: Bool32) -> Self
pub fn set_subgroup_quad_operations_in_all_stages(self, value: Bool32) -> Self
Set native field subgroupQuadOperationsInAllStages without native effects.
Sourcepub fn set_point_clipping_behavior(self, value: PointClippingBehavior) -> Self
pub fn set_point_clipping_behavior(self, value: PointClippingBehavior) -> Self
Set native field pointClippingBehavior without native effects.
Sourcepub fn set_max_multiview_view_count(self, value: u32) -> Self
pub fn set_max_multiview_view_count(self, value: u32) -> Self
Set native field maxMultiviewViewCount without native effects.
Sourcepub fn set_max_multiview_instance_index(self, value: u32) -> Self
pub fn set_max_multiview_instance_index(self, value: u32) -> Self
Set native field maxMultiviewInstanceIndex without native effects.
Sourcepub fn set_protected_no_fault(self, value: Bool32) -> Self
pub fn set_protected_no_fault(self, value: Bool32) -> Self
Set native field protectedNoFault without native effects.
Sourcepub fn set_max_per_set_descriptors(self, value: u32) -> Self
pub fn set_max_per_set_descriptors(self, value: u32) -> Self
Set native field maxPerSetDescriptors without native effects.
Sourcepub fn set_max_memory_allocation_size(self, value: DeviceSize) -> Self
pub fn set_max_memory_allocation_size(self, value: DeviceSize) -> Self
Set native field maxMemoryAllocationSize without native effects.
Sourcepub fn push_next<T: Extends<Self>>(
self,
next: &'a mut T,
) -> Result<Self, ConstructionError>
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
§Errors
Returns a construction error for a changed structure tag or already-linked node.