vk · Structs · P4
16 public declarations with native signatures and source-owned contracts.
Stvk::PhysicalDeviceAttachmentFeedbackLoopLayoutFeaturesEXT
Contract
Native structure VkPhysicalDeviceAttachmentFeedbackLoopLayoutFeaturesEXT.
Khronos reference: VkPhysicalDeviceAttachmentFeedbackLoopLayoutFeaturesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
attachment_feedback_loop_layout
attachment_feedback_loop_layout: Bool32Native field attachmentFeedbackLoopLayout.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_attachment_feedback_loop_layout
Set native field attachmentFeedbackLoopLayout without native effects.
push_next
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.
default
Stvk::PhysicalDeviceBlendOperationAdvancedFeaturesEXT
Contract
Native structure VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.
Khronos reference: VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
advanced_blend_coherent_operations
advanced_blend_coherent_operations: Bool32Native field advancedBlendCoherentOperations.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_advanced_blend_coherent_operations
Set native field advancedBlendCoherentOperations without native effects.
push_next
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.
default
Stvk::PhysicalDeviceBlendOperationAdvancedPropertiesEXT
pub struct PhysicalDeviceBlendOperationAdvancedPropertiesEXT<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub advanced_blend_max_color_attachments: u32,
pub advanced_blend_independent_blend: Bool32,
pub advanced_blend_non_premultiplied_src_color: Bool32,
pub advanced_blend_non_premultiplied_dst_color: Bool32,
pub advanced_blend_correlated_overlap: Bool32,
pub advanced_blend_all_operations: Bool32,
/* private fields */
}Contract
Native structure VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.
Khronos reference: VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
advanced_blend_max_color_attachments
advanced_blend_max_color_attachments: u32Native field advancedBlendMaxColorAttachments.
advanced_blend_independent_blend
advanced_blend_independent_blend: Bool32Native field advancedBlendIndependentBlend.
advanced_blend_non_premultiplied_src_color
advanced_blend_non_premultiplied_src_color: Bool32Native field advancedBlendNonPremultipliedSrcColor.
advanced_blend_non_premultiplied_dst_color
advanced_blend_non_premultiplied_dst_color: Bool32Native field advancedBlendNonPremultipliedDstColor.
advanced_blend_correlated_overlap
advanced_blend_correlated_overlap: Bool32Native field advancedBlendCorrelatedOverlap.
advanced_blend_all_operations
advanced_blend_all_operations: Bool32Native field advancedBlendAllOperations.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_advanced_blend_max_color_attachments
Set native field advancedBlendMaxColorAttachments without native effects.
set_advanced_blend_independent_blend
Set native field advancedBlendIndependentBlend without native effects.
set_advanced_blend_non_premultiplied_src_color
Set native field advancedBlendNonPremultipliedSrcColor without native effects.
set_advanced_blend_non_premultiplied_dst_color
Set native field advancedBlendNonPremultipliedDstColor without native effects.
set_advanced_blend_correlated_overlap
Set native field advancedBlendCorrelatedOverlap without native effects.
set_advanced_blend_all_operations
Set native field advancedBlendAllOperations without native effects.
push_next
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.
default
Stvk::PhysicalDeviceBorderColorSwizzleFeaturesEXT
Contract
Native structure VkPhysicalDeviceBorderColorSwizzleFeaturesEXT.
Khronos reference: VkPhysicalDeviceBorderColorSwizzleFeaturesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
border_color_swizzle
border_color_swizzle: Bool32Native field borderColorSwizzle.
border_color_swizzle_from_image
border_color_swizzle_from_image: Bool32Native field borderColorSwizzleFromImage.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_border_color_swizzle
Set native field borderColorSwizzle without native effects.
set_border_color_swizzle_from_image
Set native field borderColorSwizzleFromImage without native effects.
push_next
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.
default
Stvk::PhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE
Contract
Native structure VkPhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE.
Khronos reference: VkPhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
buffer_device_address_allocation_alignment
buffer_device_address_allocation_alignment: Bool32Native field bufferDeviceAddressAllocationAlignment.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_buffer_device_address_allocation_alignment
Set native field bufferDeviceAddressAllocationAlignment without native effects.
push_next
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.
default
Stvk::PhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE
Contract
Native structure VkPhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE.
Khronos reference: VkPhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
max_buffer_device_address_allocation_alignment
max_buffer_device_address_allocation_alignment: u32Native field maxBufferDeviceAddressAllocationAlignment.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_max_buffer_device_address_allocation_alignment
Set native field maxBufferDeviceAddressAllocationAlignment without native effects.
push_next
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.
default
Stvk::PhysicalDeviceBufferDeviceAddressFeatures
Contract
Native structure VkPhysicalDeviceBufferDeviceAddressFeatures.
Khronos reference: VkPhysicalDeviceBufferDeviceAddressFeatures
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
buffer_device_address
buffer_device_address: Bool32Native field bufferDeviceAddress.
buffer_device_address_capture_replay
buffer_device_address_capture_replay: Bool32Native field bufferDeviceAddressCaptureReplay.
buffer_device_address_multi_device
buffer_device_address_multi_device: Bool32Native field bufferDeviceAddressMultiDevice.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_buffer_device_address
Set native field bufferDeviceAddress without native effects.
set_buffer_device_address_capture_replay
Set native field bufferDeviceAddressCaptureReplay without native effects.
set_buffer_device_address_multi_device
Set native field bufferDeviceAddressMultiDevice without native effects.
push_next
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.
default
Stvk::PhysicalDeviceBufferDeviceAddressFeaturesEXT
Contract
Native structure VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.
Khronos reference: VkPhysicalDeviceBufferDeviceAddressFeaturesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
buffer_device_address
buffer_device_address: Bool32Native field bufferDeviceAddress.
buffer_device_address_capture_replay
buffer_device_address_capture_replay: Bool32Native field bufferDeviceAddressCaptureReplay.
buffer_device_address_multi_device
buffer_device_address_multi_device: Bool32Native field bufferDeviceAddressMultiDevice.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_buffer_device_address
Set native field bufferDeviceAddress without native effects.
set_buffer_device_address_capture_replay
Set native field bufferDeviceAddressCaptureReplay without native effects.
set_buffer_device_address_multi_device
Set native field bufferDeviceAddressMultiDevice without native effects.
push_next
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.
default
Stvk::PhysicalDeviceClusterAccelerationStructureFeaturesNV
Contract
Native structure VkPhysicalDeviceClusterAccelerationStructureFeaturesNV.
Khronos reference: VkPhysicalDeviceClusterAccelerationStructureFeaturesNV
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
cluster_acceleration_structure
cluster_acceleration_structure: Bool32Native field clusterAccelerationStructure.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_cluster_acceleration_structure
Set native field clusterAccelerationStructure without native effects.
push_next
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.
default
Stvk::PhysicalDeviceClusterAccelerationStructurePropertiesNV
pub struct PhysicalDeviceClusterAccelerationStructurePropertiesNV<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub max_vertices_per_cluster: u32,
pub max_triangles_per_cluster: u32,
pub cluster_scratch_byte_alignment: u32,
pub cluster_byte_alignment: u32,
pub cluster_template_byte_alignment: u32,
pub cluster_bottom_level_byte_alignment: u32,
pub cluster_template_bounds_byte_alignment: u32,
pub max_cluster_geometry_index: u32,
/* private fields */
}Contract
Native structure VkPhysicalDeviceClusterAccelerationStructurePropertiesNV.
Khronos reference: VkPhysicalDeviceClusterAccelerationStructurePropertiesNV
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
max_vertices_per_cluster
max_vertices_per_cluster: u32Native field maxVerticesPerCluster.
max_triangles_per_cluster
max_triangles_per_cluster: u32Native field maxTrianglesPerCluster.
cluster_scratch_byte_alignment
cluster_scratch_byte_alignment: u32Native field clusterScratchByteAlignment.
cluster_byte_alignment
cluster_byte_alignment: u32Native field clusterByteAlignment.
cluster_template_byte_alignment
cluster_template_byte_alignment: u32Native field clusterTemplateByteAlignment.
cluster_bottom_level_byte_alignment
cluster_bottom_level_byte_alignment: u32Native field clusterBottomLevelByteAlignment.
cluster_template_bounds_byte_alignment
cluster_template_bounds_byte_alignment: u32Native field clusterTemplateBoundsByteAlignment.
max_cluster_geometry_index
max_cluster_geometry_index: u32Native field maxClusterGeometryIndex.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_max_vertices_per_cluster
Set native field maxVerticesPerCluster without native effects.
set_max_triangles_per_cluster
Set native field maxTrianglesPerCluster without native effects.
set_cluster_scratch_byte_alignment
Set native field clusterScratchByteAlignment without native effects.
set_cluster_byte_alignment
Set native field clusterByteAlignment without native effects.
set_cluster_template_byte_alignment
Set native field clusterTemplateByteAlignment without native effects.
set_cluster_bottom_level_byte_alignment
Set native field clusterBottomLevelByteAlignment without native effects.
set_cluster_template_bounds_byte_alignment
Set native field clusterTemplateBoundsByteAlignment without native effects.
set_max_cluster_geometry_index
Set native field maxClusterGeometryIndex without native effects.
push_next
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.
default
Stvk::PhysicalDeviceClusterCullingShaderFeaturesHUAWEI
Contract
Native structure VkPhysicalDeviceClusterCullingShaderFeaturesHUAWEI.
Khronos reference: VkPhysicalDeviceClusterCullingShaderFeaturesHUAWEI
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
clusterculling_shader
clusterculling_shader: Bool32Native field clustercullingShader.
multiview_cluster_culling_shader
multiview_cluster_culling_shader: Bool32Native field multiviewClusterCullingShader.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_clusterculling_shader
Set native field clustercullingShader without native effects.
set_multiview_cluster_culling_shader
Set native field multiviewClusterCullingShader without native effects.
push_next
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.
default
Stvk::PhysicalDeviceClusterCullingShaderPropertiesHUAWEI
Contract
Native structure VkPhysicalDeviceClusterCullingShaderPropertiesHUAWEI.
Khronos reference: VkPhysicalDeviceClusterCullingShaderPropertiesHUAWEI
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
max_work_group_count
max_work_group_count: [u32; 3]Native field maxWorkGroupCount.
max_work_group_size
max_work_group_size: [u32; 3]Native field maxWorkGroupSize.
max_output_cluster_count
max_output_cluster_count: u32Native field maxOutputClusterCount.
indirect_buffer_offset_alignment
indirect_buffer_offset_alignment: DeviceSizeNative field indirectBufferOffsetAlignment.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_max_work_group_count
Set native field maxWorkGroupCount without native effects.
set_max_work_group_size
Set native field maxWorkGroupSize without native effects.
set_max_output_cluster_count
Set native field maxOutputClusterCount without native effects.
set_indirect_buffer_offset_alignment
Set native field indirectBufferOffsetAlignment without native effects.
push_next
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.
default
Stvk::PhysicalDeviceClusterCullingShaderVrsFeaturesHUAWEI
Contract
Native structure VkPhysicalDeviceClusterCullingShaderVrsFeaturesHUAWEI.
Khronos reference: VkPhysicalDeviceClusterCullingShaderVrsFeaturesHUAWEI
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
cluster_shading_rate
cluster_shading_rate: Bool32Native field clusterShadingRate.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_cluster_shading_rate
Set native field clusterShadingRate without native effects.
push_next
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.
default
Stvk::PhysicalDeviceCoherentMemoryFeaturesAMD
Contract
Native structure VkPhysicalDeviceCoherentMemoryFeaturesAMD.
Khronos reference: VkPhysicalDeviceCoherentMemoryFeaturesAMD
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
device_coherent_memory
device_coherent_memory: Bool32Native field deviceCoherentMemory.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_device_coherent_memory
Set native field deviceCoherentMemory without native effects.
push_next
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.
default
Stvk::PhysicalDeviceColorWriteEnableFeaturesEXT
Contract
Native structure VkPhysicalDeviceColorWriteEnableFeaturesEXT.
Khronos reference: VkPhysicalDeviceColorWriteEnableFeaturesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
color_write_enable
color_write_enable: Bool32Native field colorWriteEnable.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_color_write_enable
Set native field colorWriteEnable without native effects.
push_next
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.
default
Stvk::PhysicalDeviceCommandBufferInheritanceFeaturesNV
Contract
Native structure VkPhysicalDeviceCommandBufferInheritanceFeaturesNV.
Khronos reference: VkPhysicalDeviceCommandBufferInheritanceFeaturesNV
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
command_buffer_inheritance
command_buffer_inheritance: Bool32Native field commandBufferInheritance.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_command_buffer_inheritance
Set native field commandBufferInheritance without native effects.
push_next
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.