vk · Structs · P30
16 public declarations with native signatures and source-owned contracts.
Stvk::PhysicalDeviceVulkan11Properties
pub struct PhysicalDeviceVulkan11Properties<'a> {
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 */
}Contract
Native structure VkPhysicalDeviceVulkan11Properties.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
device_uuid
device_uuid: [u8; 16]Native field deviceUUID.
driver_uuid
driver_uuid: [u8; 16]Native field driverUUID.
device_luid
device_luid: [u8; 8]Native field deviceLUID.
device_node_mask
device_node_mask: u32Native field deviceNodeMask.
device_luid_valid
device_luid_valid: Bool32Native field deviceLUIDValid.
subgroup_size
subgroup_size: u32Native field subgroupSize.
subgroup_supported_stages
subgroup_supported_stages: ShaderStageFlagsNative field subgroupSupportedStages.
subgroup_supported_operations
subgroup_supported_operations: SubgroupFeatureFlagsNative field subgroupSupportedOperations.
subgroup_quad_operations_in_all_stages
subgroup_quad_operations_in_all_stages: Bool32Native field subgroupQuadOperationsInAllStages.
point_clipping_behavior
point_clipping_behavior: PointClippingBehaviorNative field pointClippingBehavior.
max_multiview_view_count
max_multiview_view_count: u32Native field maxMultiviewViewCount.
max_multiview_instance_index
max_multiview_instance_index: u32Native field maxMultiviewInstanceIndex.
protected_no_fault
protected_no_fault: Bool32Native field protectedNoFault.
max_per_set_descriptors
max_per_set_descriptors: u32Native field maxPerSetDescriptors.
max_memory_allocation_size
max_memory_allocation_size: DeviceSizeNative field maxMemoryAllocationSize.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_device_uuid
Set native field deviceUUID without native effects.
set_driver_uuid
Set native field driverUUID without native effects.
set_device_luid
Set native field deviceLUID without native effects.
set_device_node_mask
Set native field deviceNodeMask without native effects.
set_device_luid_valid
Set native field deviceLUIDValid without native effects.
set_subgroup_size
Set native field subgroupSize without native effects.
set_subgroup_supported_stages
Set native field subgroupSupportedStages without native effects.
set_subgroup_supported_operations
Set native field subgroupSupportedOperations without native effects.
set_subgroup_quad_operations_in_all_stages
Set native field subgroupQuadOperationsInAllStages without native effects.
set_point_clipping_behavior
Set native field pointClippingBehavior without native effects.
set_max_multiview_view_count
Set native field maxMultiviewViewCount without native effects.
set_max_multiview_instance_index
Set native field maxMultiviewInstanceIndex without native effects.
set_protected_no_fault
Set native field protectedNoFault without native effects.
set_max_per_set_descriptors
Set native field maxPerSetDescriptors without native effects.
set_max_memory_allocation_size
Set native field maxMemoryAllocationSize 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::PhysicalDeviceVulkan13Features
pub struct PhysicalDeviceVulkan13Features<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub robust_image_access: Bool32,
pub inline_uniform_block: Bool32,
pub descriptor_binding_inline_uniform_block_update_after_bind: Bool32,
pub pipeline_creation_cache_control: Bool32,
pub private_data: Bool32,
pub shader_demote_to_helper_invocation: Bool32,
pub shader_terminate_invocation: Bool32,
pub subgroup_size_control: Bool32,
pub compute_full_subgroups: Bool32,
pub synchronization2: Bool32,
pub texture_compression_astc_hdr: Bool32,
pub shader_zero_initialize_workgroup_memory: Bool32,
pub dynamic_rendering: Bool32,
pub shader_integer_dot_product: Bool32,
pub maintenance4: Bool32,
/* private fields */
}Contract
Native structure VkPhysicalDeviceVulkan13Features.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
robust_image_access
robust_image_access: Bool32Native field robustImageAccess.
inline_uniform_block
inline_uniform_block: Bool32Native field inlineUniformBlock.
descriptor_binding_inline_uniform_block_update_after_bind
descriptor_binding_inline_uniform_block_update_after_bind: Bool32Native field descriptorBindingInlineUniformBlockUpdateAfterBind.
pipeline_creation_cache_control
pipeline_creation_cache_control: Bool32Native field pipelineCreationCacheControl.
private_data
private_data: Bool32Native field privateData.
shader_demote_to_helper_invocation
shader_demote_to_helper_invocation: Bool32Native field shaderDemoteToHelperInvocation.
shader_terminate_invocation
shader_terminate_invocation: Bool32Native field shaderTerminateInvocation.
subgroup_size_control
subgroup_size_control: Bool32Native field subgroupSizeControl.
compute_full_subgroups
compute_full_subgroups: Bool32Native field computeFullSubgroups.
synchronization2
synchronization2: Bool32Native field synchronization2.
texture_compression_astc_hdr
texture_compression_astc_hdr: Bool32Native field textureCompressionASTC_HDR.
shader_zero_initialize_workgroup_memory
shader_zero_initialize_workgroup_memory: Bool32Native field shaderZeroInitializeWorkgroupMemory.
dynamic_rendering
dynamic_rendering: Bool32Native field dynamicRendering.
shader_integer_dot_product
shader_integer_dot_product: Bool32Native field shaderIntegerDotProduct.
maintenance4
maintenance4: Bool32Native field maintenance4.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_robust_image_access
Set native field robustImageAccess without native effects.
set_inline_uniform_block
Set native field inlineUniformBlock without native effects.
set_descriptor_binding_inline_uniform_block_update_after_bind
Set native field descriptorBindingInlineUniformBlockUpdateAfterBind without native effects.
set_pipeline_creation_cache_control
Set native field pipelineCreationCacheControl without native effects.
set_private_data
Set native field privateData without native effects.
set_shader_demote_to_helper_invocation
Set native field shaderDemoteToHelperInvocation without native effects.
set_shader_terminate_invocation
Set native field shaderTerminateInvocation without native effects.
set_subgroup_size_control
Set native field subgroupSizeControl without native effects.
set_compute_full_subgroups
Set native field computeFullSubgroups without native effects.
set_synchronization2
Set native field synchronization2 without native effects.
set_texture_compression_astc_hdr
Set native field textureCompressionASTC_HDR without native effects.
set_shader_zero_initialize_workgroup_memory
Set native field shaderZeroInitializeWorkgroupMemory without native effects.
set_dynamic_rendering
Set native field dynamicRendering without native effects.
set_shader_integer_dot_product
Set native field shaderIntegerDotProduct without native effects.
set_maintenance4
Set native field maintenance4 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::PhysicalDeviceVulkan14Features
pub struct PhysicalDeviceVulkan14Features<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub global_priority_query: Bool32,
pub shader_subgroup_rotate: Bool32,
pub shader_subgroup_rotate_clustered: Bool32,
pub shader_float_controls2: Bool32,
pub shader_expect_assume: Bool32,
pub rectangular_lines: Bool32,
pub bresenham_lines: Bool32,
pub smooth_lines: Bool32,
pub stippled_rectangular_lines: Bool32,
pub stippled_bresenham_lines: Bool32,
pub stippled_smooth_lines: Bool32,
pub vertex_attribute_instance_rate_divisor: Bool32,
pub vertex_attribute_instance_rate_zero_divisor: Bool32,
pub index_type_uint8: Bool32,
pub dynamic_rendering_local_read: Bool32,
pub maintenance5: Bool32,
pub maintenance6: Bool32,
pub pipeline_protected_access: Bool32,
pub pipeline_robustness: Bool32,
pub host_image_copy: Bool32,
pub push_descriptor: Bool32,
/* private fields */
}Contract
Native structure VkPhysicalDeviceVulkan14Features.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
global_priority_query
global_priority_query: Bool32Native field globalPriorityQuery.
shader_subgroup_rotate
shader_subgroup_rotate: Bool32Native field shaderSubgroupRotate.
shader_subgroup_rotate_clustered
shader_subgroup_rotate_clustered: Bool32Native field shaderSubgroupRotateClustered.
shader_float_controls2
shader_float_controls2: Bool32Native field shaderFloatControls2.
shader_expect_assume
shader_expect_assume: Bool32Native field shaderExpectAssume.
rectangular_lines
rectangular_lines: Bool32Native field rectangularLines.
bresenham_lines
bresenham_lines: Bool32Native field bresenhamLines.
smooth_lines
smooth_lines: Bool32Native field smoothLines.
stippled_rectangular_lines
stippled_rectangular_lines: Bool32Native field stippledRectangularLines.
stippled_bresenham_lines
stippled_bresenham_lines: Bool32Native field stippledBresenhamLines.
stippled_smooth_lines
stippled_smooth_lines: Bool32Native field stippledSmoothLines.
vertex_attribute_instance_rate_divisor
vertex_attribute_instance_rate_divisor: Bool32Native field vertexAttributeInstanceRateDivisor.
vertex_attribute_instance_rate_zero_divisor
vertex_attribute_instance_rate_zero_divisor: Bool32Native field vertexAttributeInstanceRateZeroDivisor.
index_type_uint8
index_type_uint8: Bool32Native field indexTypeUint8.
dynamic_rendering_local_read
dynamic_rendering_local_read: Bool32Native field dynamicRenderingLocalRead.
maintenance5
maintenance5: Bool32Native field maintenance5.
maintenance6
maintenance6: Bool32Native field maintenance6.
pipeline_protected_access
pipeline_protected_access: Bool32Native field pipelineProtectedAccess.
pipeline_robustness
pipeline_robustness: Bool32Native field pipelineRobustness.
host_image_copy
host_image_copy: Bool32Native field hostImageCopy.
push_descriptor
push_descriptor: Bool32Native field pushDescriptor.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_global_priority_query
Set native field globalPriorityQuery without native effects.
set_shader_subgroup_rotate
Set native field shaderSubgroupRotate without native effects.
set_shader_subgroup_rotate_clustered
Set native field shaderSubgroupRotateClustered without native effects.
set_shader_float_controls2
Set native field shaderFloatControls2 without native effects.
set_shader_expect_assume
Set native field shaderExpectAssume without native effects.
set_rectangular_lines
Set native field rectangularLines without native effects.
set_bresenham_lines
Set native field bresenhamLines without native effects.
set_smooth_lines
Set native field smoothLines without native effects.
set_stippled_rectangular_lines
Set native field stippledRectangularLines without native effects.
set_stippled_bresenham_lines
Set native field stippledBresenhamLines without native effects.
set_stippled_smooth_lines
Set native field stippledSmoothLines without native effects.
set_vertex_attribute_instance_rate_divisor
Set native field vertexAttributeInstanceRateDivisor without native effects.
set_vertex_attribute_instance_rate_zero_divisor
Set native field vertexAttributeInstanceRateZeroDivisor without native effects.
set_index_type_uint8
Set native field indexTypeUint8 without native effects.
set_dynamic_rendering_local_read
Set native field dynamicRenderingLocalRead without native effects.
set_maintenance5
Set native field maintenance5 without native effects.
set_maintenance6
Set native field maintenance6 without native effects.
set_pipeline_protected_access
Set native field pipelineProtectedAccess without native effects.
set_pipeline_robustness
Set native field pipelineRobustness without native effects.
set_host_image_copy
Set native field hostImageCopy without native effects.
set_push_descriptor
Set native field pushDescriptor 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::PhysicalDeviceVulkan14Properties
pub struct PhysicalDeviceVulkan14Properties<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub line_sub_pixel_precision_bits: u32,
pub max_vertex_attrib_divisor: u32,
pub supports_non_zero_first_instance: Bool32,
pub max_push_descriptors: u32,
pub dynamic_rendering_local_read_depth_stencil_attachments: Bool32,
pub dynamic_rendering_local_read_multisampled_attachments: Bool32,
pub early_fragment_multisample_coverage_after_sample_counting: Bool32,
pub early_fragment_sample_mask_test_before_sample_counting: Bool32,
pub depth_stencil_swizzle_one_support: Bool32,
pub polygon_mode_point_size: Bool32,
pub non_strict_single_pixel_wide_lines_use_parallelogram: Bool32,
pub non_strict_wide_lines_use_parallelogram: Bool32,
pub block_texel_view_compatible_multiple_layers: Bool32,
pub max_combined_image_sampler_descriptor_count: u32,
pub fragment_shading_rate_clamp_combiner_inputs: Bool32,
pub default_robustness_storage_buffers: PipelineRobustnessBufferBehavior,
pub default_robustness_uniform_buffers: PipelineRobustnessBufferBehavior,
pub default_robustness_vertex_inputs: PipelineRobustnessBufferBehavior,
pub default_robustness_images: PipelineRobustnessImageBehavior,
pub copy_src_layout_count: u32,
pub p_copy_src_layouts: *mut ImageLayout,
pub copy_dst_layout_count: u32,
pub p_copy_dst_layouts: *mut ImageLayout,
pub optimal_tiling_layout_uuid: [u8; 16],
pub identical_memory_type_requirements: Bool32,
/* private fields */
}Contract
Native structure VkPhysicalDeviceVulkan14Properties.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
line_sub_pixel_precision_bits
line_sub_pixel_precision_bits: u32Native field lineSubPixelPrecisionBits.
max_vertex_attrib_divisor
max_vertex_attrib_divisor: u32Native field maxVertexAttribDivisor.
supports_non_zero_first_instance
supports_non_zero_first_instance: Bool32Native field supportsNonZeroFirstInstance.
max_push_descriptors
max_push_descriptors: u32Native field maxPushDescriptors.
dynamic_rendering_local_read_depth_stencil_attachments
dynamic_rendering_local_read_depth_stencil_attachments: Bool32Native field dynamicRenderingLocalReadDepthStencilAttachments.
dynamic_rendering_local_read_multisampled_attachments
dynamic_rendering_local_read_multisampled_attachments: Bool32Native field dynamicRenderingLocalReadMultisampledAttachments.
early_fragment_multisample_coverage_after_sample_counting
early_fragment_multisample_coverage_after_sample_counting: Bool32Native field earlyFragmentMultisampleCoverageAfterSampleCounting.
early_fragment_sample_mask_test_before_sample_counting
early_fragment_sample_mask_test_before_sample_counting: Bool32Native field earlyFragmentSampleMaskTestBeforeSampleCounting.
depth_stencil_swizzle_one_support
depth_stencil_swizzle_one_support: Bool32Native field depthStencilSwizzleOneSupport.
polygon_mode_point_size
polygon_mode_point_size: Bool32Native field polygonModePointSize.
non_strict_single_pixel_wide_lines_use_parallelogram
non_strict_single_pixel_wide_lines_use_parallelogram: Bool32Native field nonStrictSinglePixelWideLinesUseParallelogram.
non_strict_wide_lines_use_parallelogram
non_strict_wide_lines_use_parallelogram: Bool32Native field nonStrictWideLinesUseParallelogram.
block_texel_view_compatible_multiple_layers
block_texel_view_compatible_multiple_layers: Bool32Native field blockTexelViewCompatibleMultipleLayers.
max_combined_image_sampler_descriptor_count
max_combined_image_sampler_descriptor_count: u32Native field maxCombinedImageSamplerDescriptorCount.
fragment_shading_rate_clamp_combiner_inputs
fragment_shading_rate_clamp_combiner_inputs: Bool32Native field fragmentShadingRateClampCombinerInputs.
default_robustness_storage_buffers
default_robustness_storage_buffers: PipelineRobustnessBufferBehaviorNative field defaultRobustnessStorageBuffers.
default_robustness_uniform_buffers
default_robustness_uniform_buffers: PipelineRobustnessBufferBehaviorNative field defaultRobustnessUniformBuffers.
default_robustness_vertex_inputs
default_robustness_vertex_inputs: PipelineRobustnessBufferBehaviorNative field defaultRobustnessVertexInputs.
default_robustness_images
default_robustness_images: PipelineRobustnessImageBehaviorNative field defaultRobustnessImages.
copy_src_layout_count
copy_src_layout_count: u32Native field copySrcLayoutCount.
p_copy_src_layouts
p_copy_src_layouts: *mut ImageLayoutNative field pCopySrcLayouts.
copy_dst_layout_count
copy_dst_layout_count: u32Native field copyDstLayoutCount.
p_copy_dst_layouts
p_copy_dst_layouts: *mut ImageLayoutNative field pCopyDstLayouts.
optimal_tiling_layout_uuid
optimal_tiling_layout_uuid: [u8; 16]Native field optimalTilingLayoutUUID.
identical_memory_type_requirements
identical_memory_type_requirements: Bool32Native field identicalMemoryTypeRequirements.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_line_sub_pixel_precision_bits
Set native field lineSubPixelPrecisionBits without native effects.
set_max_vertex_attrib_divisor
Set native field maxVertexAttribDivisor without native effects.
set_supports_non_zero_first_instance
Set native field supportsNonZeroFirstInstance without native effects.
set_max_push_descriptors
Set native field maxPushDescriptors without native effects.
set_dynamic_rendering_local_read_depth_stencil_attachments
Set native field dynamicRenderingLocalReadDepthStencilAttachments without native effects.
set_dynamic_rendering_local_read_multisampled_attachments
Set native field dynamicRenderingLocalReadMultisampledAttachments without native effects.
set_early_fragment_multisample_coverage_after_sample_counting
Set native field earlyFragmentMultisampleCoverageAfterSampleCounting without native effects.
set_early_fragment_sample_mask_test_before_sample_counting
Set native field earlyFragmentSampleMaskTestBeforeSampleCounting without native effects.
set_depth_stencil_swizzle_one_support
Set native field depthStencilSwizzleOneSupport without native effects.
set_polygon_mode_point_size
Set native field polygonModePointSize without native effects.
set_non_strict_single_pixel_wide_lines_use_parallelogram
Set native field nonStrictSinglePixelWideLinesUseParallelogram without native effects.
set_non_strict_wide_lines_use_parallelogram
Set native field nonStrictWideLinesUseParallelogram without native effects.
set_block_texel_view_compatible_multiple_layers
Set native field blockTexelViewCompatibleMultipleLayers without native effects.
set_max_combined_image_sampler_descriptor_count
Set native field maxCombinedImageSamplerDescriptorCount without native effects.
set_fragment_shading_rate_clamp_combiner_inputs
Set native field fragmentShadingRateClampCombinerInputs without native effects.
set_default_robustness_storage_buffers
Set native field defaultRobustnessStorageBuffers without native effects.
set_default_robustness_uniform_buffers
Set native field defaultRobustnessUniformBuffers without native effects.
set_default_robustness_vertex_inputs
Set native field defaultRobustnessVertexInputs without native effects.
set_default_robustness_images
Set native field defaultRobustnessImages without native effects.
set_copy_src_layout_count
Set native count copySrcLayoutCount directly without checking associated pointer extents.
Use the borrowed array helpers to derive matching storage and counts together.
Direct count edits support null-query/dynamic-state paths and remain a
native-call validity obligation, including after earlier borrowed setters.
set_copy_src_layouts
Borrow pCopySrcLayouts and set checked native count copySrcLayoutCount.
The borrow covers this storage only; nested raw pointers, format, alignment
and asynchronous retention remain native-call obligations.
Output storage must be initialized; returned sizes do not enlarge its capacity.
Errors
Returns a construction error if the length exceeds the native count width.
set_copy_dst_layout_count
Set native count copyDstLayoutCount directly without checking associated pointer extents.
Use the borrowed array helpers to derive matching storage and counts together.
Direct count edits support null-query/dynamic-state paths and remain a
native-call validity obligation, including after earlier borrowed setters.
set_copy_dst_layouts
Borrow pCopyDstLayouts and set checked native count copyDstLayoutCount.
The borrow covers this storage only; nested raw pointers, format, alignment
and asynchronous retention remain native-call obligations.
Output storage must be initialized; returned sizes do not enlarge its capacity.
Errors
Returns a construction error if the length exceeds the native count width.
set_optimal_tiling_layout_uuid
Set native field optimalTilingLayoutUUID without native effects.
set_identical_memory_type_requirements
Set native field identicalMemoryTypeRequirements 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::PhysicalDeviceVulkanMemoryModelFeatures
Contract
Native structure VkPhysicalDeviceVulkanMemoryModelFeatures.
Khronos reference: VkPhysicalDeviceVulkanMemoryModelFeatures
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
vulkan_memory_model
vulkan_memory_model: Bool32Native field vulkanMemoryModel.
vulkan_memory_model_device_scope
vulkan_memory_model_device_scope: Bool32Native field vulkanMemoryModelDeviceScope.
vulkan_memory_model_availability_visibility_chains
vulkan_memory_model_availability_visibility_chains: Bool32Native field vulkanMemoryModelAvailabilityVisibilityChains.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_vulkan_memory_model
Set native field vulkanMemoryModel without native effects.
set_vulkan_memory_model_device_scope
Set native field vulkanMemoryModelDeviceScope without native effects.
set_vulkan_memory_model_availability_visibility_chains
Set native field vulkanMemoryModelAvailabilityVisibilityChains 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::PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR
pub struct PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub workgroup_memory_explicit_layout: Bool32,
pub workgroup_memory_explicit_layout_scalar_block_layout: Bool32,
pub workgroup_memory_explicit_layout8_bit_access: Bool32,
pub workgroup_memory_explicit_layout16_bit_access: Bool32,
/* private fields */
}Contract
Native structure VkPhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR.
Khronos reference: VkPhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
workgroup_memory_explicit_layout
workgroup_memory_explicit_layout: Bool32Native field workgroupMemoryExplicitLayout.
workgroup_memory_explicit_layout_scalar_block_layout
workgroup_memory_explicit_layout_scalar_block_layout: Bool32Native field workgroupMemoryExplicitLayoutScalarBlockLayout.
workgroup_memory_explicit_layout8_bit_access
workgroup_memory_explicit_layout8_bit_access: Bool32Native field workgroupMemoryExplicitLayout8BitAccess.
workgroup_memory_explicit_layout16_bit_access
workgroup_memory_explicit_layout16_bit_access: Bool32Native field workgroupMemoryExplicitLayout16BitAccess.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_workgroup_memory_explicit_layout
Set native field workgroupMemoryExplicitLayout without native effects.
set_workgroup_memory_explicit_layout_scalar_block_layout
Set native field workgroupMemoryExplicitLayoutScalarBlockLayout without native effects.
set_workgroup_memory_explicit_layout8_bit_access
Set native field workgroupMemoryExplicitLayout8BitAccess without native effects.
set_workgroup_memory_explicit_layout16_bit_access
Set native field workgroupMemoryExplicitLayout16BitAccess 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::PhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT
Contract
Native structure VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT.
Khronos reference: VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
ycbcr2plane444_formats
ycbcr2plane444_formats: Bool32Native field ycbcr2plane444Formats.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_ycbcr2plane444_formats
Set native field ycbcr2plane444Formats 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::PhysicalDeviceYcbcrDegammaFeaturesQCOM
Contract
Native structure VkPhysicalDeviceYcbcrDegammaFeaturesQCOM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
ycbcr_degamma
ycbcr_degamma: Bool32Native field ycbcrDegamma.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_ycbcr_degamma
Set native field ycbcrDegamma 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::PhysicalDeviceYcbcrImageArraysFeaturesEXT
Contract
Native structure VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.
Khronos reference: VkPhysicalDeviceYcbcrImageArraysFeaturesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
ycbcr_image_arrays
ycbcr_image_arrays: Bool32Native field ycbcrImageArrays.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_ycbcr_image_arrays
Set native field ycbcrImageArrays 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::PhysicalDeviceZeroInitializeDeviceMemoryFeaturesEXT
Contract
Native structure VkPhysicalDeviceZeroInitializeDeviceMemoryFeaturesEXT.
Khronos reference: VkPhysicalDeviceZeroInitializeDeviceMemoryFeaturesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
zero_initialize_device_memory
zero_initialize_device_memory: Bool32Native field zeroInitializeDeviceMemory.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_zero_initialize_device_memory
Set native field zeroInitializeDeviceMemory 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::PhysicalDeviceZeroInitializeWorkgroupMemoryFeatures
Contract
Native structure VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures.
Khronos reference: VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
shader_zero_initialize_workgroup_memory
shader_zero_initialize_workgroup_memory: Bool32Native field shaderZeroInitializeWorkgroupMemory.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_shader_zero_initialize_workgroup_memory
Set native field shaderZeroInitializeWorkgroupMemory 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::Pipeline
Contract
Raw Vulkan handle VkPipeline.
Khronos reference: VkPipeline
Calls using this identity must satisfy Vulkan lifetime and synchronization rules.
Fields
0
0: u64Methods and associated items
NULL
is_null
from_raw
as_raw
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::PipelineBinaryCreateInfoKHR
Contract
Native structure VkPipelineBinaryCreateInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
p_keys_and_data_info
p_keys_and_data_info: *const PipelineBinaryKeysAndDataKHR<'a>Native field pKeysAndDataInfo.
pipeline
pipeline: PipelineNative field pipeline.
p_pipeline_create_info
p_pipeline_create_info: *const PipelineCreateInfoKHR<'a>Native field pPipelineCreateInfo.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_keys_and_data_info
Set native field pKeysAndDataInfo without native effects.
set_pipeline
Set native field pipeline without native effects.
set_pipeline_create_info
Set native field pPipelineCreateInfo 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::PipelineBinaryDataInfoKHR
Contract
Native structure VkPipelineBinaryDataInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
pipeline_binary
pipeline_binary: PipelineBinaryKHRNative field pipelineBinary.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_pipeline_binary
Set native field pipelineBinary 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::PipelineBinaryDataKHR
Contract
Native structure VkPipelineBinaryDataKHR.
Fields
data_size
data_size: usizeNative field dataSize.
p_data
p_data: *mut c_voidNative field pData.
Methods and associated items
new
Construct the record with its default native state.
set_data_size
Set native count dataSize directly without checking associated pointer extents.
Use the borrowed array helpers to derive matching storage and counts together.
Direct count edits support null-query/dynamic-state paths and remain a
native-call validity obligation, including after earlier borrowed setters.
set_data
Borrow pData and set checked native byte size dataSize.
The borrow covers this storage only; nested raw pointers, format, alignment
and asynchronous retention remain native-call obligations.
Output storage must be initialized; returned sizes do not enlarge its capacity.
Errors
Returns a construction error if the length exceeds the native count width.
default
Stvk::PipelineBinaryHandlesInfoKHR
Contract
Native structure VkPipelineBinaryHandlesInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
pipeline_binary_count
pipeline_binary_count: u32Native field pipelineBinaryCount.
p_pipeline_binaries
p_pipeline_binaries: *mut PipelineBinaryKHRNative field pPipelineBinaries.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_pipeline_binary_count
Set native count pipelineBinaryCount directly without checking associated pointer extents.
Use the borrowed array helpers to derive matching storage and counts together.
Direct count edits support null-query/dynamic-state paths and remain a
native-call validity obligation, including after earlier borrowed setters.
set_pipeline_binaries
Borrow pPipelineBinaries and set checked native count pipelineBinaryCount.
The borrow covers this storage only; nested raw pointers, format, alignment
and asynchronous retention remain native-call obligations.
Output storage must be initialized; returned sizes do not enlarge its capacity.
Errors
Returns a construction error if the length exceeds the native count width.
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.