vk · Structs · P27
16 public declarations with native signatures and source-owned contracts.
Stvk::PhysicalDeviceSparseImageFormatInfo2
Contract
Native structure VkPhysicalDeviceSparseImageFormatInfo2.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
format
format: FormatNative field format.
type
type: ImageTypeNative field type.
samples
samples: SampleCountFlagBitsNative field samples.
usage
usage: ImageUsageFlagsNative field usage.
tiling
tiling: ImageTilingNative field tiling.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_format
Set native field format without native effects.
set_type
Set native field type without native effects.
set_samples
Set native field samples without native effects.
set_usage
Set native field usage without native effects.
set_tiling
Set native field tiling 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::PhysicalDeviceSparseProperties
Contract
Native structure VkPhysicalDeviceSparseProperties.
Fields
residency_standard2_d_block_shape
residency_standard2_d_block_shape: Bool32Native field residencyStandard2DBlockShape.
residency_standard2_d_multisample_block_shape
residency_standard2_d_multisample_block_shape: Bool32Native field residencyStandard2DMultisampleBlockShape.
residency_standard3_d_block_shape
residency_standard3_d_block_shape: Bool32Native field residencyStandard3DBlockShape.
residency_aligned_mip_size
residency_aligned_mip_size: Bool32Native field residencyAlignedMipSize.
residency_non_resident_strict
residency_non_resident_strict: Bool32Native field residencyNonResidentStrict.
Methods and associated items
new
Construct the record with its default native state.
set_residency_standard2_d_block_shape
Set native field residencyStandard2DBlockShape without native effects.
set_residency_standard2_d_multisample_block_shape
Set native field residencyStandard2DMultisampleBlockShape without native effects.
set_residency_standard3_d_block_shape
Set native field residencyStandard3DBlockShape without native effects.
set_residency_aligned_mip_size
Set native field residencyAlignedMipSize without native effects.
set_residency_non_resident_strict
Set native field residencyNonResidentStrict without native effects.
clone
default
Stvk::PhysicalDeviceSubgroupProperties
Contract
Native structure VkPhysicalDeviceSubgroupProperties.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
subgroup_size
subgroup_size: u32Native field subgroupSize.
supported_stages
supported_stages: ShaderStageFlagsNative field supportedStages.
supported_operations
supported_operations: SubgroupFeatureFlagsNative field supportedOperations.
quad_operations_in_all_stages
quad_operations_in_all_stages: Bool32Native field quadOperationsInAllStages.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_subgroup_size
Set native field subgroupSize without native effects.
set_supported_stages
Set native field supportedStages without native effects.
set_supported_operations
Set native field supportedOperations without native effects.
set_quad_operations_in_all_stages
Set native field quadOperationsInAllStages 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::PhysicalDeviceSubgroupSizeControlFeatures
Contract
Native structure VkPhysicalDeviceSubgroupSizeControlFeatures.
Khronos reference: VkPhysicalDeviceSubgroupSizeControlFeatures
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
subgroup_size_control
subgroup_size_control: Bool32Native field subgroupSizeControl.
compute_full_subgroups
compute_full_subgroups: Bool32Native field computeFullSubgroups.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_subgroup_size_control
Set native field subgroupSizeControl without native effects.
set_compute_full_subgroups
Set native field computeFullSubgroups 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::PhysicalDeviceSubgroupSizeControlProperties
Contract
Native structure VkPhysicalDeviceSubgroupSizeControlProperties.
Khronos reference: VkPhysicalDeviceSubgroupSizeControlProperties
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
min_subgroup_size
min_subgroup_size: u32Native field minSubgroupSize.
max_subgroup_size
max_subgroup_size: u32Native field maxSubgroupSize.
max_compute_workgroup_subgroups
max_compute_workgroup_subgroups: u32Native field maxComputeWorkgroupSubgroups.
required_subgroup_size_stages
required_subgroup_size_stages: ShaderStageFlagsNative field requiredSubgroupSizeStages.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_min_subgroup_size
Set native field minSubgroupSize without native effects.
set_max_subgroup_size
Set native field maxSubgroupSize without native effects.
set_max_compute_workgroup_subgroups
Set native field maxComputeWorkgroupSubgroups without native effects.
set_required_subgroup_size_stages
Set native field requiredSubgroupSizeStages 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::PhysicalDeviceSubpassMergeFeedbackFeaturesEXT
Contract
Native structure VkPhysicalDeviceSubpassMergeFeedbackFeaturesEXT.
Khronos reference: VkPhysicalDeviceSubpassMergeFeedbackFeaturesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
subpass_merge_feedback
subpass_merge_feedback: Bool32Native field subpassMergeFeedback.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_subpass_merge_feedback
Set native field subpassMergeFeedback 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::PhysicalDeviceSubpassShadingFeaturesHUAWEI
Contract
Native structure VkPhysicalDeviceSubpassShadingFeaturesHUAWEI.
Khronos reference: VkPhysicalDeviceSubpassShadingFeaturesHUAWEI
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
subpass_shading
subpass_shading: Bool32Native field subpassShading.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_subpass_shading
Set native field subpassShading 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::PhysicalDeviceSubpassShadingPropertiesHUAWEI
Contract
Native structure VkPhysicalDeviceSubpassShadingPropertiesHUAWEI.
Khronos reference: VkPhysicalDeviceSubpassShadingPropertiesHUAWEI
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
max_subpass_shading_workgroup_size_aspect_ratio
max_subpass_shading_workgroup_size_aspect_ratio: u32Native field maxSubpassShadingWorkgroupSizeAspectRatio.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_max_subpass_shading_workgroup_size_aspect_ratio
Set native field maxSubpassShadingWorkgroupSizeAspectRatio 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::PhysicalDeviceSurfaceInfo2KHR
Contract
Native structure VkPhysicalDeviceSurfaceInfo2KHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
surface
surface: SurfaceKHRNative field surface.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_surface
Set native field surface 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::PhysicalDeviceSwapchainMaintenance1FeaturesKHR
Contract
Native structure VkPhysicalDeviceSwapchainMaintenance1FeaturesKHR.
Khronos reference: VkPhysicalDeviceSwapchainMaintenance1FeaturesKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
swapchain_maintenance1
swapchain_maintenance1: Bool32Native field swapchainMaintenance1.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_swapchain_maintenance1
Set native field swapchainMaintenance1 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::PhysicalDeviceSynchronization2Features
Contract
Native structure VkPhysicalDeviceSynchronization2Features.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
synchronization2
synchronization2: Bool32Native field synchronization2.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_synchronization2
Set native field synchronization2 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::PhysicalDeviceTensorFeaturesARM
pub struct PhysicalDeviceTensorFeaturesARM<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub tensor_non_packed: Bool32,
pub shader_tensor_access: Bool32,
pub shader_storage_tensor_array_dynamic_indexing: Bool32,
pub shader_storage_tensor_array_non_uniform_indexing: Bool32,
pub descriptor_binding_storage_tensor_update_after_bind: Bool32,
pub tensors: Bool32,
/* private fields */
}Contract
Native structure VkPhysicalDeviceTensorFeaturesARM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
tensor_non_packed
tensor_non_packed: Bool32Native field tensorNonPacked.
shader_tensor_access
shader_tensor_access: Bool32Native field shaderTensorAccess.
shader_storage_tensor_array_dynamic_indexing
shader_storage_tensor_array_dynamic_indexing: Bool32Native field shaderStorageTensorArrayDynamicIndexing.
shader_storage_tensor_array_non_uniform_indexing
shader_storage_tensor_array_non_uniform_indexing: Bool32Native field shaderStorageTensorArrayNonUniformIndexing.
descriptor_binding_storage_tensor_update_after_bind
descriptor_binding_storage_tensor_update_after_bind: Bool32Native field descriptorBindingStorageTensorUpdateAfterBind.
tensors
tensors: Bool32Native field tensors.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_tensor_non_packed
Set native field tensorNonPacked without native effects.
set_shader_tensor_access
Set native field shaderTensorAccess without native effects.
set_shader_storage_tensor_array_dynamic_indexing
Set native field shaderStorageTensorArrayDynamicIndexing without native effects.
set_shader_storage_tensor_array_non_uniform_indexing
Set native field shaderStorageTensorArrayNonUniformIndexing without native effects.
set_descriptor_binding_storage_tensor_update_after_bind
Set native field descriptorBindingStorageTensorUpdateAfterBind without native effects.
set_tensors
Set native field tensors 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::PhysicalDeviceTensorPropertiesARM
pub struct PhysicalDeviceTensorPropertiesARM<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub max_tensor_dimension_count: u32,
pub max_tensor_elements: u64,
pub max_per_dimension_tensor_elements: u64,
pub max_tensor_stride: i64,
pub max_tensor_size: u64,
pub max_tensor_shader_access_array_length: u32,
pub max_tensor_shader_access_size: u32,
pub max_descriptor_set_storage_tensors: u32,
pub max_per_stage_descriptor_set_storage_tensors: u32,
pub max_descriptor_set_update_after_bind_storage_tensors: u32,
pub max_per_stage_descriptor_update_after_bind_storage_tensors: u32,
pub shader_storage_tensor_array_non_uniform_indexing_native: Bool32,
pub shader_tensor_supported_stages: ShaderStageFlags,
/* private fields */
}Contract
Native structure VkPhysicalDeviceTensorPropertiesARM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
max_tensor_dimension_count
max_tensor_dimension_count: u32Native field maxTensorDimensionCount.
max_tensor_elements
max_tensor_elements: u64Native field maxTensorElements.
max_per_dimension_tensor_elements
max_per_dimension_tensor_elements: u64Native field maxPerDimensionTensorElements.
max_tensor_stride
max_tensor_stride: i64Native field maxTensorStride.
max_tensor_size
max_tensor_size: u64Native field maxTensorSize.
max_tensor_shader_access_array_length
max_tensor_shader_access_array_length: u32Native field maxTensorShaderAccessArrayLength.
max_tensor_shader_access_size
max_tensor_shader_access_size: u32Native field maxTensorShaderAccessSize.
max_descriptor_set_storage_tensors
max_descriptor_set_storage_tensors: u32Native field maxDescriptorSetStorageTensors.
max_per_stage_descriptor_set_storage_tensors
max_per_stage_descriptor_set_storage_tensors: u32Native field maxPerStageDescriptorSetStorageTensors.
max_descriptor_set_update_after_bind_storage_tensors
max_descriptor_set_update_after_bind_storage_tensors: u32Native field maxDescriptorSetUpdateAfterBindStorageTensors.
max_per_stage_descriptor_update_after_bind_storage_tensors
max_per_stage_descriptor_update_after_bind_storage_tensors: u32Native field maxPerStageDescriptorUpdateAfterBindStorageTensors.
shader_storage_tensor_array_non_uniform_indexing_native
shader_storage_tensor_array_non_uniform_indexing_native: Bool32Native field shaderStorageTensorArrayNonUniformIndexingNative.
shader_tensor_supported_stages
shader_tensor_supported_stages: ShaderStageFlagsNative field shaderTensorSupportedStages.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_max_tensor_dimension_count
Set native field maxTensorDimensionCount without native effects.
set_max_tensor_elements
Set native field maxTensorElements without native effects.
set_max_per_dimension_tensor_elements
Set native field maxPerDimensionTensorElements without native effects.
set_max_tensor_stride
Set native field maxTensorStride without native effects.
set_max_tensor_size
Set native field maxTensorSize without native effects.
set_max_tensor_shader_access_array_length
Set native field maxTensorShaderAccessArrayLength without native effects.
set_max_tensor_shader_access_size
Set native field maxTensorShaderAccessSize without native effects.
set_max_descriptor_set_storage_tensors
Set native field maxDescriptorSetStorageTensors without native effects.
set_max_per_stage_descriptor_set_storage_tensors
Set native field maxPerStageDescriptorSetStorageTensors without native effects.
set_max_descriptor_set_update_after_bind_storage_tensors
Set native field maxDescriptorSetUpdateAfterBindStorageTensors without native effects.
set_max_per_stage_descriptor_update_after_bind_storage_tensors
Set native field maxPerStageDescriptorUpdateAfterBindStorageTensors without native effects.
set_shader_storage_tensor_array_non_uniform_indexing_native
Set native field shaderStorageTensorArrayNonUniformIndexingNative without native effects.
set_shader_tensor_supported_stages
Set native field shaderTensorSupportedStages 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::PhysicalDeviceTexelBufferAlignmentFeaturesEXT
Contract
Native structure VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.
Khronos reference: VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
texel_buffer_alignment
texel_buffer_alignment: Bool32Native field texelBufferAlignment.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_texel_buffer_alignment
Set native field texelBufferAlignment 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::PhysicalDeviceTexelBufferAlignmentProperties
pub struct PhysicalDeviceTexelBufferAlignmentProperties<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub storage_texel_buffer_offset_alignment_bytes: DeviceSize,
pub storage_texel_buffer_offset_single_texel_alignment: Bool32,
pub uniform_texel_buffer_offset_alignment_bytes: DeviceSize,
pub uniform_texel_buffer_offset_single_texel_alignment: Bool32,
/* private fields */
}Contract
Native structure VkPhysicalDeviceTexelBufferAlignmentProperties.
Khronos reference: VkPhysicalDeviceTexelBufferAlignmentProperties
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
storage_texel_buffer_offset_alignment_bytes
storage_texel_buffer_offset_alignment_bytes: DeviceSizeNative field storageTexelBufferOffsetAlignmentBytes.
storage_texel_buffer_offset_single_texel_alignment
storage_texel_buffer_offset_single_texel_alignment: Bool32Native field storageTexelBufferOffsetSingleTexelAlignment.
uniform_texel_buffer_offset_alignment_bytes
uniform_texel_buffer_offset_alignment_bytes: DeviceSizeNative field uniformTexelBufferOffsetAlignmentBytes.
uniform_texel_buffer_offset_single_texel_alignment
uniform_texel_buffer_offset_single_texel_alignment: Bool32Native field uniformTexelBufferOffsetSingleTexelAlignment.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_storage_texel_buffer_offset_alignment_bytes
Set native field storageTexelBufferOffsetAlignmentBytes without native effects.
set_storage_texel_buffer_offset_single_texel_alignment
Set native field storageTexelBufferOffsetSingleTexelAlignment without native effects.
set_uniform_texel_buffer_offset_alignment_bytes
Set native field uniformTexelBufferOffsetAlignmentBytes without native effects.
set_uniform_texel_buffer_offset_single_texel_alignment
Set native field uniformTexelBufferOffsetSingleTexelAlignment 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::PhysicalDeviceTextureCompressionASTC3DFeaturesEXT
Contract
Native structure VkPhysicalDeviceTextureCompressionASTC3DFeaturesEXT.
Khronos reference: VkPhysicalDeviceTextureCompressionASTC3DFeaturesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
texture_compression_astc_3_d
texture_compression_astc_3_d: Bool32Native field textureCompressionASTC_3D.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_texture_compression_astc_3_d
Set native field textureCompressionASTC_3D 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.