vk · Structs · P11
16 public declarations with native signatures and source-owned contracts.
Stvk::PhysicalDeviceFaultPropertiesKHR
Contract
Native structure VkPhysicalDeviceFaultPropertiesKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
max_device_fault_count
max_device_fault_count: u32Native field maxDeviceFaultCount.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_max_device_fault_count
Set native field maxDeviceFaultCount 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::PhysicalDeviceFeatures2
Contract
Native structure VkPhysicalDeviceFeatures2.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
features
features: PhysicalDeviceFeaturesNative field features.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_features
Set native field features 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::PhysicalDeviceFloatControlsProperties
pub struct PhysicalDeviceFloatControlsProperties<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub denorm_behavior_independence: ShaderFloatControlsIndependence,
pub rounding_mode_independence: ShaderFloatControlsIndependence,
pub shader_signed_zero_inf_nan_preserve_float16: Bool32,
pub shader_signed_zero_inf_nan_preserve_float32: Bool32,
pub shader_signed_zero_inf_nan_preserve_float64: Bool32,
pub shader_denorm_preserve_float16: Bool32,
pub shader_denorm_preserve_float32: Bool32,
pub shader_denorm_preserve_float64: Bool32,
pub shader_denorm_flush_to_zero_float16: Bool32,
pub shader_denorm_flush_to_zero_float32: Bool32,
pub shader_denorm_flush_to_zero_float64: Bool32,
pub shader_rounding_mode_rte_float16: Bool32,
pub shader_rounding_mode_rte_float32: Bool32,
pub shader_rounding_mode_rte_float64: Bool32,
pub shader_rounding_mode_rtz_float16: Bool32,
pub shader_rounding_mode_rtz_float32: Bool32,
pub shader_rounding_mode_rtz_float64: Bool32,
/* private fields */
}Contract
Native structure VkPhysicalDeviceFloatControlsProperties.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
denorm_behavior_independence
denorm_behavior_independence: ShaderFloatControlsIndependenceNative field denormBehaviorIndependence.
rounding_mode_independence
rounding_mode_independence: ShaderFloatControlsIndependenceNative field roundingModeIndependence.
shader_signed_zero_inf_nan_preserve_float16
shader_signed_zero_inf_nan_preserve_float16: Bool32Native field shaderSignedZeroInfNanPreserveFloat16.
shader_signed_zero_inf_nan_preserve_float32
shader_signed_zero_inf_nan_preserve_float32: Bool32Native field shaderSignedZeroInfNanPreserveFloat32.
shader_signed_zero_inf_nan_preserve_float64
shader_signed_zero_inf_nan_preserve_float64: Bool32Native field shaderSignedZeroInfNanPreserveFloat64.
shader_denorm_preserve_float16
shader_denorm_preserve_float16: Bool32Native field shaderDenormPreserveFloat16.
shader_denorm_preserve_float32
shader_denorm_preserve_float32: Bool32Native field shaderDenormPreserveFloat32.
shader_denorm_preserve_float64
shader_denorm_preserve_float64: Bool32Native field shaderDenormPreserveFloat64.
shader_denorm_flush_to_zero_float16
shader_denorm_flush_to_zero_float16: Bool32Native field shaderDenormFlushToZeroFloat16.
shader_denorm_flush_to_zero_float32
shader_denorm_flush_to_zero_float32: Bool32Native field shaderDenormFlushToZeroFloat32.
shader_denorm_flush_to_zero_float64
shader_denorm_flush_to_zero_float64: Bool32Native field shaderDenormFlushToZeroFloat64.
shader_rounding_mode_rte_float16
shader_rounding_mode_rte_float16: Bool32Native field shaderRoundingModeRTEFloat16.
shader_rounding_mode_rte_float32
shader_rounding_mode_rte_float32: Bool32Native field shaderRoundingModeRTEFloat32.
shader_rounding_mode_rte_float64
shader_rounding_mode_rte_float64: Bool32Native field shaderRoundingModeRTEFloat64.
shader_rounding_mode_rtz_float16
shader_rounding_mode_rtz_float16: Bool32Native field shaderRoundingModeRTZFloat16.
shader_rounding_mode_rtz_float32
shader_rounding_mode_rtz_float32: Bool32Native field shaderRoundingModeRTZFloat32.
shader_rounding_mode_rtz_float64
shader_rounding_mode_rtz_float64: Bool32Native field shaderRoundingModeRTZFloat64.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_denorm_behavior_independence
Set native field denormBehaviorIndependence without native effects.
set_rounding_mode_independence
Set native field roundingModeIndependence without native effects.
set_shader_signed_zero_inf_nan_preserve_float16
Set native field shaderSignedZeroInfNanPreserveFloat16 without native effects.
set_shader_signed_zero_inf_nan_preserve_float32
Set native field shaderSignedZeroInfNanPreserveFloat32 without native effects.
set_shader_signed_zero_inf_nan_preserve_float64
Set native field shaderSignedZeroInfNanPreserveFloat64 without native effects.
set_shader_denorm_preserve_float16
Set native field shaderDenormPreserveFloat16 without native effects.
set_shader_denorm_preserve_float32
Set native field shaderDenormPreserveFloat32 without native effects.
set_shader_denorm_preserve_float64
Set native field shaderDenormPreserveFloat64 without native effects.
set_shader_denorm_flush_to_zero_float16
Set native field shaderDenormFlushToZeroFloat16 without native effects.
set_shader_denorm_flush_to_zero_float32
Set native field shaderDenormFlushToZeroFloat32 without native effects.
set_shader_denorm_flush_to_zero_float64
Set native field shaderDenormFlushToZeroFloat64 without native effects.
set_shader_rounding_mode_rte_float16
Set native field shaderRoundingModeRTEFloat16 without native effects.
set_shader_rounding_mode_rte_float32
Set native field shaderRoundingModeRTEFloat32 without native effects.
set_shader_rounding_mode_rte_float64
Set native field shaderRoundingModeRTEFloat64 without native effects.
set_shader_rounding_mode_rtz_float16
Set native field shaderRoundingModeRTZFloat16 without native effects.
set_shader_rounding_mode_rtz_float32
Set native field shaderRoundingModeRTZFloat32 without native effects.
set_shader_rounding_mode_rtz_float64
Set native field shaderRoundingModeRTZFloat64 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::PhysicalDeviceFormatPackFeaturesARM
Contract
Native structure VkPhysicalDeviceFormatPackFeaturesARM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
format_pack
format_pack: Bool32Native field formatPack.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_format_pack
Set native field formatPack 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::PhysicalDeviceFragmentDensityMap2FeaturesEXT
Contract
Native structure VkPhysicalDeviceFragmentDensityMap2FeaturesEXT.
Khronos reference: VkPhysicalDeviceFragmentDensityMap2FeaturesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
fragment_density_map_deferred
fragment_density_map_deferred: Bool32Native field fragmentDensityMapDeferred.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_fragment_density_map_deferred
Set native field fragmentDensityMapDeferred 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::PhysicalDeviceFragmentDensityMap2PropertiesEXT
pub struct PhysicalDeviceFragmentDensityMap2PropertiesEXT<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub subsampled_loads: Bool32,
pub subsampled_coarse_reconstruction_early_access: Bool32,
pub max_subsampled_array_layers: u32,
pub max_descriptor_set_subsampled_samplers: u32,
/* private fields */
}Contract
Native structure VkPhysicalDeviceFragmentDensityMap2PropertiesEXT.
Khronos reference: VkPhysicalDeviceFragmentDensityMap2PropertiesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
subsampled_loads
subsampled_loads: Bool32Native field subsampledLoads.
subsampled_coarse_reconstruction_early_access
subsampled_coarse_reconstruction_early_access: Bool32Native field subsampledCoarseReconstructionEarlyAccess.
max_subsampled_array_layers
max_subsampled_array_layers: u32Native field maxSubsampledArrayLayers.
max_descriptor_set_subsampled_samplers
max_descriptor_set_subsampled_samplers: u32Native field maxDescriptorSetSubsampledSamplers.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_subsampled_loads
Set native field subsampledLoads without native effects.
set_subsampled_coarse_reconstruction_early_access
Set native field subsampledCoarseReconstructionEarlyAccess without native effects.
set_max_subsampled_array_layers
Set native field maxSubsampledArrayLayers without native effects.
set_max_descriptor_set_subsampled_samplers
Set native field maxDescriptorSetSubsampledSamplers 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::PhysicalDeviceFragmentDensityMapFeaturesEXT
Contract
Native structure VkPhysicalDeviceFragmentDensityMapFeaturesEXT.
Khronos reference: VkPhysicalDeviceFragmentDensityMapFeaturesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
fragment_density_map
fragment_density_map: Bool32Native field fragmentDensityMap.
fragment_density_map_dynamic
fragment_density_map_dynamic: Bool32Native field fragmentDensityMapDynamic.
fragment_density_map_non_subsampled_images
fragment_density_map_non_subsampled_images: Bool32Native field fragmentDensityMapNonSubsampledImages.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_fragment_density_map
Set native field fragmentDensityMap without native effects.
set_fragment_density_map_dynamic
Set native field fragmentDensityMapDynamic without native effects.
set_fragment_density_map_non_subsampled_images
Set native field fragmentDensityMapNonSubsampledImages 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::PhysicalDeviceFragmentDensityMapLayeredFeaturesVALVE
Contract
Native structure VkPhysicalDeviceFragmentDensityMapLayeredFeaturesVALVE.
Khronos reference: VkPhysicalDeviceFragmentDensityMapLayeredFeaturesVALVE
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
fragment_density_map_layered
fragment_density_map_layered: Bool32Native field fragmentDensityMapLayered.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_fragment_density_map_layered
Set native field fragmentDensityMapLayered 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::PhysicalDeviceFragmentDensityMapLayeredPropertiesVALVE
Contract
Native structure VkPhysicalDeviceFragmentDensityMapLayeredPropertiesVALVE.
Khronos reference: VkPhysicalDeviceFragmentDensityMapLayeredPropertiesVALVE
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
max_fragment_density_map_layers
max_fragment_density_map_layers: u32Native field maxFragmentDensityMapLayers.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_max_fragment_density_map_layers
Set native field maxFragmentDensityMapLayers 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::PhysicalDeviceFragmentDensityMapOffsetFeaturesEXT
Contract
Native structure VkPhysicalDeviceFragmentDensityMapOffsetFeaturesEXT.
Khronos reference: VkPhysicalDeviceFragmentDensityMapOffsetFeaturesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
fragment_density_map_offset
fragment_density_map_offset: Bool32Native field fragmentDensityMapOffset.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_fragment_density_map_offset
Set native field fragmentDensityMapOffset 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::PhysicalDeviceFragmentDensityMapOffsetPropertiesEXT
Contract
Native structure VkPhysicalDeviceFragmentDensityMapOffsetPropertiesEXT.
Khronos reference: VkPhysicalDeviceFragmentDensityMapOffsetPropertiesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
fragment_density_offset_granularity
fragment_density_offset_granularity: Extent2DNative field fragmentDensityOffsetGranularity.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_fragment_density_offset_granularity
Set native field fragmentDensityOffsetGranularity 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::PhysicalDeviceFragmentDensityMapPropertiesEXT
Contract
Native structure VkPhysicalDeviceFragmentDensityMapPropertiesEXT.
Khronos reference: VkPhysicalDeviceFragmentDensityMapPropertiesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
min_fragment_density_texel_size
min_fragment_density_texel_size: Extent2DNative field minFragmentDensityTexelSize.
max_fragment_density_texel_size
max_fragment_density_texel_size: Extent2DNative field maxFragmentDensityTexelSize.
fragment_density_invocations
fragment_density_invocations: Bool32Native field fragmentDensityInvocations.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_min_fragment_density_texel_size
Set native field minFragmentDensityTexelSize without native effects.
set_max_fragment_density_texel_size
Set native field maxFragmentDensityTexelSize without native effects.
set_fragment_density_invocations
Set native field fragmentDensityInvocations 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::PhysicalDeviceFragmentShaderBarycentricFeaturesKHR
Contract
Native structure VkPhysicalDeviceFragmentShaderBarycentricFeaturesKHR.
Khronos reference: VkPhysicalDeviceFragmentShaderBarycentricFeaturesKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
fragment_shader_barycentric
fragment_shader_barycentric: Bool32Native field fragmentShaderBarycentric.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_fragment_shader_barycentric
Set native field fragmentShaderBarycentric 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::PhysicalDeviceFragmentShaderBarycentricPropertiesKHR
Contract
Native structure VkPhysicalDeviceFragmentShaderBarycentricPropertiesKHR.
Khronos reference: VkPhysicalDeviceFragmentShaderBarycentricPropertiesKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
tri_strip_vertex_order_independent_of_provoking_vertex
tri_strip_vertex_order_independent_of_provoking_vertex: Bool32Native field triStripVertexOrderIndependentOfProvokingVertex.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_tri_strip_vertex_order_independent_of_provoking_vertex
Set native field triStripVertexOrderIndependentOfProvokingVertex 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::PhysicalDeviceFragmentShaderInterlockFeaturesEXT
Contract
Native structure VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT.
Khronos reference: VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
fragment_shader_sample_interlock
fragment_shader_sample_interlock: Bool32Native field fragmentShaderSampleInterlock.
fragment_shader_pixel_interlock
fragment_shader_pixel_interlock: Bool32Native field fragmentShaderPixelInterlock.
fragment_shader_shading_rate_interlock
fragment_shader_shading_rate_interlock: Bool32Native field fragmentShaderShadingRateInterlock.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_fragment_shader_sample_interlock
Set native field fragmentShaderSampleInterlock without native effects.
set_fragment_shader_pixel_interlock
Set native field fragmentShaderPixelInterlock without native effects.
set_fragment_shader_shading_rate_interlock
Set native field fragmentShaderShadingRateInterlock 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::PhysicalDeviceFragmentShadingRateEnumsFeaturesNV
Contract
Native structure VkPhysicalDeviceFragmentShadingRateEnumsFeaturesNV.
Khronos reference: VkPhysicalDeviceFragmentShadingRateEnumsFeaturesNV
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
fragment_shading_rate_enums
fragment_shading_rate_enums: Bool32Native field fragmentShadingRateEnums.
supersample_fragment_shading_rates
supersample_fragment_shading_rates: Bool32Native field supersampleFragmentShadingRates.
no_invocation_fragment_shading_rates
no_invocation_fragment_shading_rates: Bool32Native field noInvocationFragmentShadingRates.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_fragment_shading_rate_enums
Set native field fragmentShadingRateEnums without native effects.
set_supersample_fragment_shading_rates
Set native field supersampleFragmentShadingRates without native effects.
set_no_invocation_fragment_shading_rates
Set native field noInvocationFragmentShadingRates 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.