Realm

vk · Structs · P30

16 public declarations with native signatures and source-owned contracts.

StRustExperimental

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 */ }
Native structure VkPhysicalDeviceVulkan11Properties.

Contract

Native structure VkPhysicalDeviceVulkan11Properties.

Khronos reference: VkPhysicalDeviceVulkan11Properties

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

device_uuid

Field
device_uuid: [u8; 16]

Native field deviceUUID.

driver_uuid

Field
driver_uuid: [u8; 16]

Native field driverUUID.

device_luid

Field
device_luid: [u8; 8]

Native field deviceLUID.

device_node_mask

Field
device_node_mask: u32

Native field deviceNodeMask.

device_luid_valid

Field
device_luid_valid: Bool32

Native field deviceLUIDValid.

subgroup_size

Field
subgroup_size: u32

Native field subgroupSize.

subgroup_supported_stages

Field
subgroup_supported_stages: ShaderStageFlags

Native field subgroupSupportedStages.

subgroup_supported_operations

Field
subgroup_supported_operations: SubgroupFeatureFlags

Native field subgroupSupportedOperations.

subgroup_quad_operations_in_all_stages

Field
subgroup_quad_operations_in_all_stages: Bool32

Native field subgroupQuadOperationsInAllStages.

point_clipping_behavior

Field
point_clipping_behavior: PointClippingBehavior

Native field pointClippingBehavior.

max_multiview_view_count

Field
max_multiview_view_count: u32

Native field maxMultiviewViewCount.

max_multiview_instance_index

Field
max_multiview_instance_index: u32

Native field maxMultiviewInstanceIndex.

protected_no_fault

Field
protected_no_fault: Bool32

Native field protectedNoFault.

max_per_set_descriptors

Field
max_per_set_descriptors: u32

Native field maxPerSetDescriptors.

max_memory_allocation_size

Field
max_memory_allocation_size: DeviceSize

Native field maxMemoryAllocationSize.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_device_uuid

Method
pub fn set_device_uuid(self, value: [u8; 16]) -> Self

Set native field deviceUUID without native effects.

set_driver_uuid

Method
pub fn set_driver_uuid(self, value: [u8; 16]) -> Self

Set native field driverUUID without native effects.

set_device_luid

Method
pub fn set_device_luid(self, value: [u8; 8]) -> Self

Set native field deviceLUID without native effects.

set_device_node_mask

Method
pub fn set_device_node_mask(self, value: u32) -> Self

Set native field deviceNodeMask without native effects.

set_device_luid_valid

Method
pub fn set_device_luid_valid(self, value: Bool32) -> Self

Set native field deviceLUIDValid without native effects.

set_subgroup_size

Method
pub fn set_subgroup_size(self, value: u32) -> Self

Set native field subgroupSize without native effects.

set_subgroup_supported_stages

Method
pub fn set_subgroup_supported_stages(self, value: ShaderStageFlags) -> Self

Set native field subgroupSupportedStages without native effects.

set_subgroup_supported_operations

Method
pub fn set_subgroup_supported_operations( self, value: SubgroupFeatureFlags, ) -> Self

Set native field subgroupSupportedOperations without native effects.

set_subgroup_quad_operations_in_all_stages

Method
pub fn set_subgroup_quad_operations_in_all_stages(self, value: Bool32) -> Self

Set native field subgroupQuadOperationsInAllStages without native effects.

set_point_clipping_behavior

Method
pub fn set_point_clipping_behavior(self, value: PointClippingBehavior) -> Self

Set native field pointClippingBehavior without native effects.

set_max_multiview_view_count

Method
pub fn set_max_multiview_view_count(self, value: u32) -> Self

Set native field maxMultiviewViewCount without native effects.

set_max_multiview_instance_index

Method
pub fn set_max_multiview_instance_index(self, value: u32) -> Self

Set native field maxMultiviewInstanceIndex without native effects.

set_protected_no_fault

Method
pub fn set_protected_no_fault(self, value: Bool32) -> Self

Set native field protectedNoFault without native effects.

set_max_per_set_descriptors

Method
pub fn set_max_per_set_descriptors(self, value: u32) -> Self

Set native field maxPerSetDescriptors without native effects.

set_max_memory_allocation_size

Method
pub fn set_max_memory_allocation_size(self, value: DeviceSize) -> Self

Set native field maxMemoryAllocationSize without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

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 */ }
Native structure VkPhysicalDeviceVulkan13Features.

Contract

Native structure VkPhysicalDeviceVulkan13Features.

Khronos reference: VkPhysicalDeviceVulkan13Features

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

robust_image_access

Field
robust_image_access: Bool32

Native field robustImageAccess.

inline_uniform_block

Field
inline_uniform_block: Bool32

Native field inlineUniformBlock.

descriptor_binding_inline_uniform_block_update_after_bind

Field
descriptor_binding_inline_uniform_block_update_after_bind: Bool32

Native field descriptorBindingInlineUniformBlockUpdateAfterBind.

pipeline_creation_cache_control

Field
pipeline_creation_cache_control: Bool32

Native field pipelineCreationCacheControl.

private_data

Field
private_data: Bool32

Native field privateData.

shader_demote_to_helper_invocation

Field
shader_demote_to_helper_invocation: Bool32

Native field shaderDemoteToHelperInvocation.

shader_terminate_invocation

Field
shader_terminate_invocation: Bool32

Native field shaderTerminateInvocation.

subgroup_size_control

Field
subgroup_size_control: Bool32

Native field subgroupSizeControl.

compute_full_subgroups

Field
compute_full_subgroups: Bool32

Native field computeFullSubgroups.

synchronization2

Field
synchronization2: Bool32

Native field synchronization2.

texture_compression_astc_hdr

Field
texture_compression_astc_hdr: Bool32

Native field textureCompressionASTC_HDR.

shader_zero_initialize_workgroup_memory

Field
shader_zero_initialize_workgroup_memory: Bool32

Native field shaderZeroInitializeWorkgroupMemory.

dynamic_rendering

Field
dynamic_rendering: Bool32

Native field dynamicRendering.

shader_integer_dot_product

Field
shader_integer_dot_product: Bool32

Native field shaderIntegerDotProduct.

maintenance4

Field
maintenance4: Bool32

Native field maintenance4.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_robust_image_access

Method
pub fn set_robust_image_access(self, value: Bool32) -> Self

Set native field robustImageAccess without native effects.

set_inline_uniform_block

Method
pub fn set_inline_uniform_block(self, value: Bool32) -> Self

Set native field inlineUniformBlock without native effects.

set_descriptor_binding_inline_uniform_block_update_after_bind

Method
pub fn set_descriptor_binding_inline_uniform_block_update_after_bind( self, value: Bool32, ) -> Self

Set native field descriptorBindingInlineUniformBlockUpdateAfterBind without native effects.

set_pipeline_creation_cache_control

Method
pub fn set_pipeline_creation_cache_control(self, value: Bool32) -> Self

Set native field pipelineCreationCacheControl without native effects.

set_private_data

Method
pub fn set_private_data(self, value: Bool32) -> Self

Set native field privateData without native effects.

set_shader_demote_to_helper_invocation

Method
pub fn set_shader_demote_to_helper_invocation(self, value: Bool32) -> Self

Set native field shaderDemoteToHelperInvocation without native effects.

set_shader_terminate_invocation

Method
pub fn set_shader_terminate_invocation(self, value: Bool32) -> Self

Set native field shaderTerminateInvocation without native effects.

set_subgroup_size_control

Method
pub fn set_subgroup_size_control(self, value: Bool32) -> Self

Set native field subgroupSizeControl without native effects.

set_compute_full_subgroups

Method
pub fn set_compute_full_subgroups(self, value: Bool32) -> Self

Set native field computeFullSubgroups without native effects.

set_synchronization2

Method
pub fn set_synchronization2(self, value: Bool32) -> Self

Set native field synchronization2 without native effects.

set_texture_compression_astc_hdr

Method
pub fn set_texture_compression_astc_hdr(self, value: Bool32) -> Self

Set native field textureCompressionASTC_HDR without native effects.

set_shader_zero_initialize_workgroup_memory

Method
pub fn set_shader_zero_initialize_workgroup_memory(self, value: Bool32) -> Self

Set native field shaderZeroInitializeWorkgroupMemory without native effects.

set_dynamic_rendering

Method
pub fn set_dynamic_rendering(self, value: Bool32) -> Self

Set native field dynamicRendering without native effects.

set_shader_integer_dot_product

Method
pub fn set_shader_integer_dot_product(self, value: Bool32) -> Self

Set native field shaderIntegerDotProduct without native effects.

set_maintenance4

Method
pub fn set_maintenance4(self, value: Bool32) -> Self

Set native field maintenance4 without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

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 */ }
Native structure VkPhysicalDeviceVulkan14Features.

Contract

Native structure VkPhysicalDeviceVulkan14Features.

Khronos reference: VkPhysicalDeviceVulkan14Features

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

global_priority_query

Field
global_priority_query: Bool32

Native field globalPriorityQuery.

shader_subgroup_rotate

Field
shader_subgroup_rotate: Bool32

Native field shaderSubgroupRotate.

shader_subgroup_rotate_clustered

Field
shader_subgroup_rotate_clustered: Bool32

Native field shaderSubgroupRotateClustered.

shader_float_controls2

Field
shader_float_controls2: Bool32

Native field shaderFloatControls2.

shader_expect_assume

Field
shader_expect_assume: Bool32

Native field shaderExpectAssume.

rectangular_lines

Field
rectangular_lines: Bool32

Native field rectangularLines.

bresenham_lines

Field
bresenham_lines: Bool32

Native field bresenhamLines.

smooth_lines

Field
smooth_lines: Bool32

Native field smoothLines.

stippled_rectangular_lines

Field
stippled_rectangular_lines: Bool32

Native field stippledRectangularLines.

stippled_bresenham_lines

Field
stippled_bresenham_lines: Bool32

Native field stippledBresenhamLines.

stippled_smooth_lines

Field
stippled_smooth_lines: Bool32

Native field stippledSmoothLines.

vertex_attribute_instance_rate_divisor

Field
vertex_attribute_instance_rate_divisor: Bool32

Native field vertexAttributeInstanceRateDivisor.

vertex_attribute_instance_rate_zero_divisor

Field
vertex_attribute_instance_rate_zero_divisor: Bool32

Native field vertexAttributeInstanceRateZeroDivisor.

index_type_uint8

Field
index_type_uint8: Bool32

Native field indexTypeUint8.

dynamic_rendering_local_read

Field
dynamic_rendering_local_read: Bool32

Native field dynamicRenderingLocalRead.

maintenance5

Field
maintenance5: Bool32

Native field maintenance5.

maintenance6

Field
maintenance6: Bool32

Native field maintenance6.

pipeline_protected_access

Field
pipeline_protected_access: Bool32

Native field pipelineProtectedAccess.

pipeline_robustness

Field
pipeline_robustness: Bool32

Native field pipelineRobustness.

host_image_copy

Field
host_image_copy: Bool32

Native field hostImageCopy.

push_descriptor

Field
push_descriptor: Bool32

Native field pushDescriptor.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_global_priority_query

Method
pub fn set_global_priority_query(self, value: Bool32) -> Self

Set native field globalPriorityQuery without native effects.

set_shader_subgroup_rotate

Method
pub fn set_shader_subgroup_rotate(self, value: Bool32) -> Self

Set native field shaderSubgroupRotate without native effects.

set_shader_subgroup_rotate_clustered

Method
pub fn set_shader_subgroup_rotate_clustered(self, value: Bool32) -> Self

Set native field shaderSubgroupRotateClustered without native effects.

set_shader_float_controls2

Method
pub fn set_shader_float_controls2(self, value: Bool32) -> Self

Set native field shaderFloatControls2 without native effects.

set_shader_expect_assume

Method
pub fn set_shader_expect_assume(self, value: Bool32) -> Self

Set native field shaderExpectAssume without native effects.

set_rectangular_lines

Method
pub fn set_rectangular_lines(self, value: Bool32) -> Self

Set native field rectangularLines without native effects.

set_bresenham_lines

Method
pub fn set_bresenham_lines(self, value: Bool32) -> Self

Set native field bresenhamLines without native effects.

set_smooth_lines

Method
pub fn set_smooth_lines(self, value: Bool32) -> Self

Set native field smoothLines without native effects.

set_stippled_rectangular_lines

Method
pub fn set_stippled_rectangular_lines(self, value: Bool32) -> Self

Set native field stippledRectangularLines without native effects.

set_stippled_bresenham_lines

Method
pub fn set_stippled_bresenham_lines(self, value: Bool32) -> Self

Set native field stippledBresenhamLines without native effects.

set_stippled_smooth_lines

Method
pub fn set_stippled_smooth_lines(self, value: Bool32) -> Self

Set native field stippledSmoothLines without native effects.

set_vertex_attribute_instance_rate_divisor

Method
pub fn set_vertex_attribute_instance_rate_divisor(self, value: Bool32) -> Self

Set native field vertexAttributeInstanceRateDivisor without native effects.

set_vertex_attribute_instance_rate_zero_divisor

Method
pub fn set_vertex_attribute_instance_rate_zero_divisor( self, value: Bool32, ) -> Self

Set native field vertexAttributeInstanceRateZeroDivisor without native effects.

set_index_type_uint8

Method
pub fn set_index_type_uint8(self, value: Bool32) -> Self

Set native field indexTypeUint8 without native effects.

set_dynamic_rendering_local_read

Method
pub fn set_dynamic_rendering_local_read(self, value: Bool32) -> Self

Set native field dynamicRenderingLocalRead without native effects.

set_maintenance5

Method
pub fn set_maintenance5(self, value: Bool32) -> Self

Set native field maintenance5 without native effects.

set_maintenance6

Method
pub fn set_maintenance6(self, value: Bool32) -> Self

Set native field maintenance6 without native effects.

set_pipeline_protected_access

Method
pub fn set_pipeline_protected_access(self, value: Bool32) -> Self

Set native field pipelineProtectedAccess without native effects.

set_pipeline_robustness

Method
pub fn set_pipeline_robustness(self, value: Bool32) -> Self

Set native field pipelineRobustness without native effects.

set_host_image_copy

Method
pub fn set_host_image_copy(self, value: Bool32) -> Self

Set native field hostImageCopy without native effects.

set_push_descriptor

Method
pub fn set_push_descriptor(self, value: Bool32) -> Self

Set native field pushDescriptor without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

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 */ }
Native structure VkPhysicalDeviceVulkan14Properties.

Contract

Native structure VkPhysicalDeviceVulkan14Properties.

Khronos reference: VkPhysicalDeviceVulkan14Properties

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

line_sub_pixel_precision_bits

Field
line_sub_pixel_precision_bits: u32

Native field lineSubPixelPrecisionBits.

max_vertex_attrib_divisor

Field
max_vertex_attrib_divisor: u32

Native field maxVertexAttribDivisor.

supports_non_zero_first_instance

Field
supports_non_zero_first_instance: Bool32

Native field supportsNonZeroFirstInstance.

max_push_descriptors

Field
max_push_descriptors: u32

Native field maxPushDescriptors.

dynamic_rendering_local_read_depth_stencil_attachments

Field
dynamic_rendering_local_read_depth_stencil_attachments: Bool32

Native field dynamicRenderingLocalReadDepthStencilAttachments.

dynamic_rendering_local_read_multisampled_attachments

Field
dynamic_rendering_local_read_multisampled_attachments: Bool32

Native field dynamicRenderingLocalReadMultisampledAttachments.

early_fragment_multisample_coverage_after_sample_counting

Field
early_fragment_multisample_coverage_after_sample_counting: Bool32

Native field earlyFragmentMultisampleCoverageAfterSampleCounting.

early_fragment_sample_mask_test_before_sample_counting

Field
early_fragment_sample_mask_test_before_sample_counting: Bool32

Native field earlyFragmentSampleMaskTestBeforeSampleCounting.

depth_stencil_swizzle_one_support

Field
depth_stencil_swizzle_one_support: Bool32

Native field depthStencilSwizzleOneSupport.

polygon_mode_point_size

Field
polygon_mode_point_size: Bool32

Native field polygonModePointSize.

non_strict_single_pixel_wide_lines_use_parallelogram

Field
non_strict_single_pixel_wide_lines_use_parallelogram: Bool32

Native field nonStrictSinglePixelWideLinesUseParallelogram.

non_strict_wide_lines_use_parallelogram

Field
non_strict_wide_lines_use_parallelogram: Bool32

Native field nonStrictWideLinesUseParallelogram.

block_texel_view_compatible_multiple_layers

Field
block_texel_view_compatible_multiple_layers: Bool32

Native field blockTexelViewCompatibleMultipleLayers.

max_combined_image_sampler_descriptor_count

Field
max_combined_image_sampler_descriptor_count: u32

Native field maxCombinedImageSamplerDescriptorCount.

fragment_shading_rate_clamp_combiner_inputs

Field
fragment_shading_rate_clamp_combiner_inputs: Bool32

Native field fragmentShadingRateClampCombinerInputs.

default_robustness_storage_buffers

Field
default_robustness_storage_buffers: PipelineRobustnessBufferBehavior

Native field defaultRobustnessStorageBuffers.

default_robustness_uniform_buffers

Field
default_robustness_uniform_buffers: PipelineRobustnessBufferBehavior

Native field defaultRobustnessUniformBuffers.

default_robustness_vertex_inputs

Field
default_robustness_vertex_inputs: PipelineRobustnessBufferBehavior

Native field defaultRobustnessVertexInputs.

default_robustness_images

Field
default_robustness_images: PipelineRobustnessImageBehavior

Native field defaultRobustnessImages.

copy_src_layout_count

Field
copy_src_layout_count: u32

Native field copySrcLayoutCount.

p_copy_src_layouts

Field
p_copy_src_layouts: *mut ImageLayout

Native field pCopySrcLayouts.

copy_dst_layout_count

Field
copy_dst_layout_count: u32

Native field copyDstLayoutCount.

p_copy_dst_layouts

Field
p_copy_dst_layouts: *mut ImageLayout

Native field pCopyDstLayouts.

optimal_tiling_layout_uuid

Field
optimal_tiling_layout_uuid: [u8; 16]

Native field optimalTilingLayoutUUID.

identical_memory_type_requirements

Field
identical_memory_type_requirements: Bool32

Native field identicalMemoryTypeRequirements.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_line_sub_pixel_precision_bits

Method
pub fn set_line_sub_pixel_precision_bits(self, value: u32) -> Self

Set native field lineSubPixelPrecisionBits without native effects.

set_max_vertex_attrib_divisor

Method
pub fn set_max_vertex_attrib_divisor(self, value: u32) -> Self

Set native field maxVertexAttribDivisor without native effects.

set_supports_non_zero_first_instance

Method
pub fn set_supports_non_zero_first_instance(self, value: Bool32) -> Self

Set native field supportsNonZeroFirstInstance without native effects.

set_max_push_descriptors

Method
pub fn set_max_push_descriptors(self, value: u32) -> Self

Set native field maxPushDescriptors without native effects.

set_dynamic_rendering_local_read_depth_stencil_attachments

Method
pub fn set_dynamic_rendering_local_read_depth_stencil_attachments( self, value: Bool32, ) -> Self

Set native field dynamicRenderingLocalReadDepthStencilAttachments without native effects.

set_dynamic_rendering_local_read_multisampled_attachments

Method
pub fn set_dynamic_rendering_local_read_multisampled_attachments( self, value: Bool32, ) -> Self

Set native field dynamicRenderingLocalReadMultisampledAttachments without native effects.

set_early_fragment_multisample_coverage_after_sample_counting

Method
pub fn set_early_fragment_multisample_coverage_after_sample_counting( self, value: Bool32, ) -> Self

Set native field earlyFragmentMultisampleCoverageAfterSampleCounting without native effects.

set_early_fragment_sample_mask_test_before_sample_counting

Method
pub fn set_early_fragment_sample_mask_test_before_sample_counting( self, value: Bool32, ) -> Self

Set native field earlyFragmentSampleMaskTestBeforeSampleCounting without native effects.

set_depth_stencil_swizzle_one_support

Method
pub fn set_depth_stencil_swizzle_one_support(self, value: Bool32) -> Self

Set native field depthStencilSwizzleOneSupport without native effects.

set_polygon_mode_point_size

Method
pub fn set_polygon_mode_point_size(self, value: Bool32) -> Self

Set native field polygonModePointSize without native effects.

set_non_strict_single_pixel_wide_lines_use_parallelogram

Method
pub fn set_non_strict_single_pixel_wide_lines_use_parallelogram( self, value: Bool32, ) -> Self

Set native field nonStrictSinglePixelWideLinesUseParallelogram without native effects.

set_non_strict_wide_lines_use_parallelogram

Method
pub fn set_non_strict_wide_lines_use_parallelogram(self, value: Bool32) -> Self

Set native field nonStrictWideLinesUseParallelogram without native effects.

set_block_texel_view_compatible_multiple_layers

Method
pub fn set_block_texel_view_compatible_multiple_layers( self, value: Bool32, ) -> Self

Set native field blockTexelViewCompatibleMultipleLayers without native effects.

set_max_combined_image_sampler_descriptor_count

Method
pub fn set_max_combined_image_sampler_descriptor_count(self, value: u32) -> Self

Set native field maxCombinedImageSamplerDescriptorCount without native effects.

set_fragment_shading_rate_clamp_combiner_inputs

Method
pub fn set_fragment_shading_rate_clamp_combiner_inputs( self, value: Bool32, ) -> Self

Set native field fragmentShadingRateClampCombinerInputs without native effects.

set_default_robustness_storage_buffers

Method
pub fn set_default_robustness_storage_buffers( self, value: PipelineRobustnessBufferBehavior, ) -> Self

Set native field defaultRobustnessStorageBuffers without native effects.

set_default_robustness_uniform_buffers

Method
pub fn set_default_robustness_uniform_buffers( self, value: PipelineRobustnessBufferBehavior, ) -> Self

Set native field defaultRobustnessUniformBuffers without native effects.

set_default_robustness_vertex_inputs

Method
pub fn set_default_robustness_vertex_inputs( self, value: PipelineRobustnessBufferBehavior, ) -> Self

Set native field defaultRobustnessVertexInputs without native effects.

set_default_robustness_images

Method
pub fn set_default_robustness_images( self, value: PipelineRobustnessImageBehavior, ) -> Self

Set native field defaultRobustnessImages without native effects.

set_copy_src_layout_count

Method
pub fn set_copy_src_layout_count(self, value: u32) -> Self

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

Method
pub fn set_copy_src_layouts( self, value: &'a mut [ImageLayout], ) -> Result<Self, ConstructionError>

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

Method
pub fn set_copy_dst_layout_count(self, value: u32) -> Self

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

Method
pub fn set_copy_dst_layouts( self, value: &'a mut [ImageLayout], ) -> Result<Self, ConstructionError>

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

Method
pub fn set_optimal_tiling_layout_uuid(self, value: [u8; 16]) -> Self

Set native field optimalTilingLayoutUUID without native effects.

set_identical_memory_type_requirements

Method
pub fn set_identical_memory_type_requirements(self, value: Bool32) -> Self

Set native field identicalMemoryTypeRequirements without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::PhysicalDeviceVulkanMemoryModelFeatures

pub struct PhysicalDeviceVulkanMemoryModelFeatures<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub vulkan_memory_model: Bool32, pub vulkan_memory_model_device_scope: Bool32, pub vulkan_memory_model_availability_visibility_chains: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceVulkanMemoryModelFeatures.

Contract

Native structure VkPhysicalDeviceVulkanMemoryModelFeatures.

Khronos reference: VkPhysicalDeviceVulkanMemoryModelFeatures

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

vulkan_memory_model

Field
vulkan_memory_model: Bool32

Native field vulkanMemoryModel.

vulkan_memory_model_device_scope

Field
vulkan_memory_model_device_scope: Bool32

Native field vulkanMemoryModelDeviceScope.

vulkan_memory_model_availability_visibility_chains

Field
vulkan_memory_model_availability_visibility_chains: Bool32

Native field vulkanMemoryModelAvailabilityVisibilityChains.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_vulkan_memory_model

Method
pub fn set_vulkan_memory_model(self, value: Bool32) -> Self

Set native field vulkanMemoryModel without native effects.

set_vulkan_memory_model_device_scope

Method
pub fn set_vulkan_memory_model_device_scope(self, value: Bool32) -> Self

Set native field vulkanMemoryModelDeviceScope without native effects.

set_vulkan_memory_model_availability_visibility_chains

Method
pub fn set_vulkan_memory_model_availability_visibility_chains( self, value: Bool32, ) -> Self

Set native field vulkanMemoryModelAvailabilityVisibilityChains without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

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 */ }
Native structure VkPhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR.

Contract

Native structure VkPhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR.

Khronos reference: VkPhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

workgroup_memory_explicit_layout

Field
workgroup_memory_explicit_layout: Bool32

Native field workgroupMemoryExplicitLayout.

workgroup_memory_explicit_layout_scalar_block_layout

Field
workgroup_memory_explicit_layout_scalar_block_layout: Bool32

Native field workgroupMemoryExplicitLayoutScalarBlockLayout.

workgroup_memory_explicit_layout8_bit_access

Field
workgroup_memory_explicit_layout8_bit_access: Bool32

Native field workgroupMemoryExplicitLayout8BitAccess.

workgroup_memory_explicit_layout16_bit_access

Field
workgroup_memory_explicit_layout16_bit_access: Bool32

Native field workgroupMemoryExplicitLayout16BitAccess.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_workgroup_memory_explicit_layout

Method
pub fn set_workgroup_memory_explicit_layout(self, value: Bool32) -> Self

Set native field workgroupMemoryExplicitLayout without native effects.

set_workgroup_memory_explicit_layout_scalar_block_layout

Method
pub fn set_workgroup_memory_explicit_layout_scalar_block_layout( self, value: Bool32, ) -> Self

Set native field workgroupMemoryExplicitLayoutScalarBlockLayout without native effects.

set_workgroup_memory_explicit_layout8_bit_access

Method
pub fn set_workgroup_memory_explicit_layout8_bit_access( self, value: Bool32, ) -> Self

Set native field workgroupMemoryExplicitLayout8BitAccess without native effects.

set_workgroup_memory_explicit_layout16_bit_access

Method
pub fn set_workgroup_memory_explicit_layout16_bit_access( self, value: Bool32, ) -> Self

Set native field workgroupMemoryExplicitLayout16BitAccess without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::PhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT

pub struct PhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub ycbcr2plane444_formats: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT.

Contract

Native structure VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT.

Khronos reference: VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

ycbcr2plane444_formats

Field
ycbcr2plane444_formats: Bool32

Native field ycbcr2plane444Formats.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_ycbcr2plane444_formats

Method
pub fn set_ycbcr2plane444_formats(self, value: Bool32) -> Self

Set native field ycbcr2plane444Formats without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::PhysicalDeviceYcbcrDegammaFeaturesQCOM

pub struct PhysicalDeviceYcbcrDegammaFeaturesQCOM<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub ycbcr_degamma: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceYcbcrDegammaFeaturesQCOM.

Contract

Native structure VkPhysicalDeviceYcbcrDegammaFeaturesQCOM.

Khronos reference: VkPhysicalDeviceYcbcrDegammaFeaturesQCOM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

ycbcr_degamma

Field
ycbcr_degamma: Bool32

Native field ycbcrDegamma.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_ycbcr_degamma

Method
pub fn set_ycbcr_degamma(self, value: Bool32) -> Self

Set native field ycbcrDegamma without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::PhysicalDeviceYcbcrImageArraysFeaturesEXT

pub struct PhysicalDeviceYcbcrImageArraysFeaturesEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub ycbcr_image_arrays: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.

Contract

Native structure VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.

Khronos reference: VkPhysicalDeviceYcbcrImageArraysFeaturesEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

ycbcr_image_arrays

Field
ycbcr_image_arrays: Bool32

Native field ycbcrImageArrays.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_ycbcr_image_arrays

Method
pub fn set_ycbcr_image_arrays(self, value: Bool32) -> Self

Set native field ycbcrImageArrays without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::PhysicalDeviceZeroInitializeDeviceMemoryFeaturesEXT

pub struct PhysicalDeviceZeroInitializeDeviceMemoryFeaturesEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub zero_initialize_device_memory: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceZeroInitializeDeviceMemoryFeaturesEXT.

Contract

Native structure VkPhysicalDeviceZeroInitializeDeviceMemoryFeaturesEXT.

Khronos reference: VkPhysicalDeviceZeroInitializeDeviceMemoryFeaturesEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

zero_initialize_device_memory

Field
zero_initialize_device_memory: Bool32

Native field zeroInitializeDeviceMemory.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_zero_initialize_device_memory

Method
pub fn set_zero_initialize_device_memory(self, value: Bool32) -> Self

Set native field zeroInitializeDeviceMemory without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::PhysicalDeviceZeroInitializeWorkgroupMemoryFeatures

pub struct PhysicalDeviceZeroInitializeWorkgroupMemoryFeatures<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub shader_zero_initialize_workgroup_memory: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures.

Contract

Native structure VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures.

Khronos reference: VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

shader_zero_initialize_workgroup_memory

Field
shader_zero_initialize_workgroup_memory: Bool32

Native field shaderZeroInitializeWorkgroupMemory.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_shader_zero_initialize_workgroup_memory

Method
pub fn set_shader_zero_initialize_workgroup_memory(self, value: Bool32) -> Self

Set native field shaderZeroInitializeWorkgroupMemory without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::Pipeline

Contract

Raw Vulkan handle VkPipeline.

Khronos reference: VkPipeline Calls using this identity must satisfy Vulkan lifetime and synchronization rules.

Fields

0

Field
0: u64
No public source comment is attached to this declaration.

Methods and associated items

NULL

Method
pub const NULL: Self
No public source comment is attached to this declaration.

is_null

Method
pub fn is_null(self) -> bool
No public source comment is attached to this declaration.

from_raw

Method
pub fn from_raw(value: u64) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub fn as_raw(self) -> u64
No public source comment is attached to this declaration.

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

eq

Method
fn eq(&self, other: &Pipeline) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::PipelineBinaryCreateInfoKHR

pub struct PipelineBinaryCreateInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub p_keys_and_data_info: *const PipelineBinaryKeysAndDataKHR<'a>, pub pipeline: Pipeline, pub p_pipeline_create_info: *const PipelineCreateInfoKHR<'a>, /* private fields */ }
Native structure VkPipelineBinaryCreateInfoKHR.

Contract

Native structure VkPipelineBinaryCreateInfoKHR.

Khronos reference: VkPipelineBinaryCreateInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

p_keys_and_data_info

Field
p_keys_and_data_info: *const PipelineBinaryKeysAndDataKHR<'a>

Native field pKeysAndDataInfo.

pipeline

Field
pipeline: Pipeline

Native field pipeline.

p_pipeline_create_info

Field
p_pipeline_create_info: *const PipelineCreateInfoKHR<'a>

Native field pPipelineCreateInfo.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_keys_and_data_info

Method
pub fn set_keys_and_data_info( self, value: &'a PipelineBinaryKeysAndDataKHR<'a>, ) -> Self

Set native field pKeysAndDataInfo without native effects.

set_pipeline

Method
pub fn set_pipeline(self, value: Pipeline) -> Self

Set native field pipeline without native effects.

set_pipeline_create_info

Method
pub fn set_pipeline_create_info( self, value: &'a PipelineCreateInfoKHR<'a>, ) -> Self

Set native field pPipelineCreateInfo without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::PipelineBinaryDataInfoKHR

pub struct PipelineBinaryDataInfoKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub pipeline_binary: PipelineBinaryKHR, /* private fields */ }
Native structure VkPipelineBinaryDataInfoKHR.

Contract

Native structure VkPipelineBinaryDataInfoKHR.

Khronos reference: VkPipelineBinaryDataInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

pipeline_binary

Field
pipeline_binary: PipelineBinaryKHR

Native field pipelineBinary.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_pipeline_binary

Method
pub fn set_pipeline_binary(self, value: PipelineBinaryKHR) -> Self

Set native field pipelineBinary without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::PipelineBinaryDataKHR

Contract

Native structure VkPipelineBinaryDataKHR.

Khronos reference: VkPipelineBinaryDataKHR

Fields

data_size

Field
data_size: usize

Native field dataSize.

p_data

Field
p_data: *mut c_void

Native field pData.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_data_size

Method
pub fn set_data_size(self, value: usize) -> Self

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

Method
pub fn set_data(self, value: &'a mut [u8]) -> Result<Self, ConstructionError>

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.

Stvk::PipelineBinaryHandlesInfoKHR

pub struct PipelineBinaryHandlesInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub pipeline_binary_count: u32, pub p_pipeline_binaries: *mut PipelineBinaryKHR, /* private fields */ }
Native structure VkPipelineBinaryHandlesInfoKHR.

Contract

Native structure VkPipelineBinaryHandlesInfoKHR.

Khronos reference: VkPipelineBinaryHandlesInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

pipeline_binary_count

Field
pipeline_binary_count: u32

Native field pipelineBinaryCount.

p_pipeline_binaries

Field
p_pipeline_binaries: *mut PipelineBinaryKHR

Native field pPipelineBinaries.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_pipeline_binary_count

Method
pub fn set_pipeline_binary_count(self, value: u32) -> Self

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

Method
pub fn set_pipeline_binaries( self, value: &'a mut [PipelineBinaryKHR], ) -> Result<Self, ConstructionError>

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

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.