vk · Structs · P22
16 public declarations with native signatures and source-owned contracts.
Stvk::PhysicalDeviceRayTracingPositionFetchFeaturesKHR
Contract
Native structure VkPhysicalDeviceRayTracingPositionFetchFeaturesKHR.
Khronos reference: VkPhysicalDeviceRayTracingPositionFetchFeaturesKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
ray_tracing_position_fetch
ray_tracing_position_fetch: Bool32Native field rayTracingPositionFetch.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_ray_tracing_position_fetch
Set native field rayTracingPositionFetch 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::PhysicalDeviceRayTracingPropertiesNV
pub struct PhysicalDeviceRayTracingPropertiesNV<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub shader_group_handle_size: u32,
pub max_recursion_depth: u32,
pub max_shader_group_stride: u32,
pub shader_group_base_alignment: u32,
pub max_geometry_count: u64,
pub max_instance_count: u64,
pub max_triangle_count: u64,
pub max_descriptor_set_acceleration_structures: u32,
/* private fields */
}Contract
Native structure VkPhysicalDeviceRayTracingPropertiesNV.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
shader_group_handle_size
shader_group_handle_size: u32Native field shaderGroupHandleSize.
max_recursion_depth
max_recursion_depth: u32Native field maxRecursionDepth.
max_shader_group_stride
max_shader_group_stride: u32Native field maxShaderGroupStride.
shader_group_base_alignment
shader_group_base_alignment: u32Native field shaderGroupBaseAlignment.
max_geometry_count
max_geometry_count: u64Native field maxGeometryCount.
max_instance_count
max_instance_count: u64Native field maxInstanceCount.
max_triangle_count
max_triangle_count: u64Native field maxTriangleCount.
max_descriptor_set_acceleration_structures
max_descriptor_set_acceleration_structures: u32Native field maxDescriptorSetAccelerationStructures.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_shader_group_handle_size
Set native field shaderGroupHandleSize without native effects.
set_max_recursion_depth
Set native field maxRecursionDepth without native effects.
set_max_shader_group_stride
Set native field maxShaderGroupStride without native effects.
set_shader_group_base_alignment
Set native field shaderGroupBaseAlignment without native effects.
set_max_geometry_count
Set native field maxGeometryCount without native effects.
set_max_instance_count
Set native field maxInstanceCount without native effects.
set_max_triangle_count
Set native field maxTriangleCount without native effects.
set_max_descriptor_set_acceleration_structures
Set native field maxDescriptorSetAccelerationStructures 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::PhysicalDeviceRayTracingValidationFeaturesNV
Contract
Native structure VkPhysicalDeviceRayTracingValidationFeaturesNV.
Khronos reference: VkPhysicalDeviceRayTracingValidationFeaturesNV
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
ray_tracing_validation
ray_tracing_validation: Bool32Native field rayTracingValidation.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_ray_tracing_validation
Set native field rayTracingValidation 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::PhysicalDeviceRelaxedLineRasterizationFeaturesIMG
Contract
Native structure VkPhysicalDeviceRelaxedLineRasterizationFeaturesIMG.
Khronos reference: VkPhysicalDeviceRelaxedLineRasterizationFeaturesIMG
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
relaxed_line_rasterization
relaxed_line_rasterization: Bool32Native field relaxedLineRasterization.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_relaxed_line_rasterization
Set native field relaxedLineRasterization 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::PhysicalDeviceRenderPassStripedFeaturesARM
Contract
Native structure VkPhysicalDeviceRenderPassStripedFeaturesARM.
Khronos reference: VkPhysicalDeviceRenderPassStripedFeaturesARM
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
render_pass_striped
render_pass_striped: Bool32Native field renderPassStriped.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_render_pass_striped
Set native field renderPassStriped 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::PhysicalDeviceRenderPassStripedPropertiesARM
Contract
Native structure VkPhysicalDeviceRenderPassStripedPropertiesARM.
Khronos reference: VkPhysicalDeviceRenderPassStripedPropertiesARM
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
render_pass_stripe_granularity
render_pass_stripe_granularity: Extent2DNative field renderPassStripeGranularity.
max_render_pass_stripes
max_render_pass_stripes: u32Native field maxRenderPassStripes.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_render_pass_stripe_granularity
Set native field renderPassStripeGranularity without native effects.
set_max_render_pass_stripes
Set native field maxRenderPassStripes 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::PhysicalDeviceRepresentativeFragmentTestFeaturesNV
Contract
Native structure VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV.
Khronos reference: VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
representative_fragment_test
representative_fragment_test: Bool32Native field representativeFragmentTest.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_representative_fragment_test
Set native field representativeFragmentTest 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::PhysicalDeviceRGBA10X6FormatsFeaturesEXT
Contract
Native structure VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT.
Khronos reference: VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
format_rgba10x6_without_y_cb_cr_sampler
format_rgba10x6_without_y_cb_cr_sampler: Bool32Native field formatRgba10x6WithoutYCbCrSampler.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_format_rgba10x6_without_y_cb_cr_sampler
Set native field formatRgba10x6WithoutYCbCrSampler 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::PhysicalDeviceRobustness2FeaturesKHR
Contract
Native structure VkPhysicalDeviceRobustness2FeaturesKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
robust_buffer_access2
robust_buffer_access2: Bool32Native field robustBufferAccess2.
robust_image_access2
robust_image_access2: Bool32Native field robustImageAccess2.
null_descriptor
null_descriptor: Bool32Native field nullDescriptor.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_robust_buffer_access2
Set native field robustBufferAccess2 without native effects.
set_robust_image_access2
Set native field robustImageAccess2 without native effects.
set_null_descriptor
Set native field nullDescriptor 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::PhysicalDeviceRobustness2PropertiesKHR
Contract
Native structure VkPhysicalDeviceRobustness2PropertiesKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
robust_storage_buffer_access_size_alignment
robust_storage_buffer_access_size_alignment: DeviceSizeNative field robustStorageBufferAccessSizeAlignment.
robust_uniform_buffer_access_size_alignment
robust_uniform_buffer_access_size_alignment: DeviceSizeNative field robustUniformBufferAccessSizeAlignment.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_robust_storage_buffer_access_size_alignment
Set native field robustStorageBufferAccessSizeAlignment without native effects.
set_robust_uniform_buffer_access_size_alignment
Set native field robustUniformBufferAccessSizeAlignment 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::PhysicalDeviceSampleLocationsPropertiesEXT
pub struct PhysicalDeviceSampleLocationsPropertiesEXT<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub sample_location_sample_counts: SampleCountFlags,
pub max_sample_location_grid_size: Extent2D,
pub sample_location_coordinate_range: [f32; 2],
pub sample_location_sub_pixel_bits: u32,
pub variable_sample_locations: Bool32,
/* private fields */
}Contract
Native structure VkPhysicalDeviceSampleLocationsPropertiesEXT.
Khronos reference: VkPhysicalDeviceSampleLocationsPropertiesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
sample_location_sample_counts
sample_location_sample_counts: SampleCountFlagsNative field sampleLocationSampleCounts.
max_sample_location_grid_size
max_sample_location_grid_size: Extent2DNative field maxSampleLocationGridSize.
sample_location_coordinate_range
sample_location_coordinate_range: [f32; 2]Native field sampleLocationCoordinateRange.
sample_location_sub_pixel_bits
sample_location_sub_pixel_bits: u32Native field sampleLocationSubPixelBits.
variable_sample_locations
variable_sample_locations: Bool32Native field variableSampleLocations.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_sample_location_sample_counts
Set native field sampleLocationSampleCounts without native effects.
set_max_sample_location_grid_size
Set native field maxSampleLocationGridSize without native effects.
set_sample_location_coordinate_range
Set native field sampleLocationCoordinateRange without native effects.
set_sample_location_sub_pixel_bits
Set native field sampleLocationSubPixelBits without native effects.
set_variable_sample_locations
Set native field variableSampleLocations 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::PhysicalDeviceSamplerFilterMinmaxProperties
Contract
Native structure VkPhysicalDeviceSamplerFilterMinmaxProperties.
Khronos reference: VkPhysicalDeviceSamplerFilterMinmaxProperties
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
filter_minmax_single_component_formats
filter_minmax_single_component_formats: Bool32Native field filterMinmaxSingleComponentFormats.
filter_minmax_image_component_mapping
filter_minmax_image_component_mapping: Bool32Native field filterMinmaxImageComponentMapping.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_filter_minmax_single_component_formats
Set native field filterMinmaxSingleComponentFormats without native effects.
set_filter_minmax_image_component_mapping
Set native field filterMinmaxImageComponentMapping 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::PhysicalDeviceSamplerYcbcrConversionFeatures
Contract
Native structure VkPhysicalDeviceSamplerYcbcrConversionFeatures.
Khronos reference: VkPhysicalDeviceSamplerYcbcrConversionFeatures
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
sampler_ycbcr_conversion
sampler_ycbcr_conversion: Bool32Native field samplerYcbcrConversion.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_sampler_ycbcr_conversion
Set native field samplerYcbcrConversion 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::PhysicalDeviceScalarBlockLayoutFeatures
Contract
Native structure VkPhysicalDeviceScalarBlockLayoutFeatures.
Khronos reference: VkPhysicalDeviceScalarBlockLayoutFeatures
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
scalar_block_layout
scalar_block_layout: Bool32Native field scalarBlockLayout.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_scalar_block_layout
Set native field scalarBlockLayout 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::PhysicalDeviceSchedulingControlsDispatchParametersPropertiesARM
pub struct PhysicalDeviceSchedulingControlsDispatchParametersPropertiesARM<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub scheduling_controls_max_warps_count: u32,
pub scheduling_controls_max_queued_batches_count: u32,
pub scheduling_controls_max_work_group_batch_size: u32,
/* private fields */
}Contract
Native structure VkPhysicalDeviceSchedulingControlsDispatchParametersPropertiesARM.
Khronos reference: VkPhysicalDeviceSchedulingControlsDispatchParametersPropertiesARM
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
scheduling_controls_max_warps_count
scheduling_controls_max_warps_count: u32Native field schedulingControlsMaxWarpsCount.
scheduling_controls_max_queued_batches_count
scheduling_controls_max_queued_batches_count: u32Native field schedulingControlsMaxQueuedBatchesCount.
scheduling_controls_max_work_group_batch_size
scheduling_controls_max_work_group_batch_size: u32Native field schedulingControlsMaxWorkGroupBatchSize.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_scheduling_controls_max_warps_count
Set native field schedulingControlsMaxWarpsCount without native effects.
set_scheduling_controls_max_queued_batches_count
Set native field schedulingControlsMaxQueuedBatchesCount without native effects.
set_scheduling_controls_max_work_group_batch_size
Set native field schedulingControlsMaxWorkGroupBatchSize 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::PhysicalDeviceSchedulingControlsFeaturesARM
Contract
Native structure VkPhysicalDeviceSchedulingControlsFeaturesARM.
Khronos reference: VkPhysicalDeviceSchedulingControlsFeaturesARM
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
scheduling_controls
scheduling_controls: Bool32Native field schedulingControls.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_scheduling_controls
Set native field schedulingControls 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.