Realm

vk::PhysicalDeviceVulkan12Properties

Native structure VkPhysicalDeviceVulkan12Properties.

StRustExperimental
pub struct PhysicalDeviceVulkan12Properties<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub driver_id: DriverId, pub driver_name: [c_char; 256], pub driver_info: [c_char; 256], pub conformance_version: ConformanceVersion, pub denorm_behavior_independence: ShaderFloatControlsIndependence, pub rounding_mode_independence: ShaderFloatControlsIndependence, pub shader_signed_zero_inf_nan_preserve_float16: Bool32, pub shader_signed_zero_inf_nan_preserve_float32: Bool32, pub shader_signed_zero_inf_nan_preserve_float64: Bool32, pub shader_denorm_preserve_float16: Bool32, pub shader_denorm_preserve_float32: Bool32, pub shader_denorm_preserve_float64: Bool32, pub shader_denorm_flush_to_zero_float16: Bool32, pub shader_denorm_flush_to_zero_float32: Bool32, pub shader_denorm_flush_to_zero_float64: Bool32, pub shader_rounding_mode_rte_float16: Bool32, pub shader_rounding_mode_rte_float32: Bool32, pub shader_rounding_mode_rte_float64: Bool32, pub shader_rounding_mode_rtz_float16: Bool32, pub shader_rounding_mode_rtz_float32: Bool32, pub shader_rounding_mode_rtz_float64: Bool32, pub max_update_after_bind_descriptors_in_all_pools: u32, pub shader_uniform_buffer_array_non_uniform_indexing_native: Bool32, pub shader_sampled_image_array_non_uniform_indexing_native: Bool32, pub shader_storage_buffer_array_non_uniform_indexing_native: Bool32, pub shader_storage_image_array_non_uniform_indexing_native: Bool32, pub shader_input_attachment_array_non_uniform_indexing_native: Bool32, pub robust_buffer_access_update_after_bind: Bool32, pub quad_divergent_implicit_lod: Bool32, pub max_per_stage_descriptor_update_after_bind_samplers: u32, pub max_per_stage_descriptor_update_after_bind_uniform_buffers: u32, pub max_per_stage_descriptor_update_after_bind_storage_buffers: u32, pub max_per_stage_descriptor_update_after_bind_sampled_images: u32, pub max_per_stage_descriptor_update_after_bind_storage_images: u32, pub max_per_stage_descriptor_update_after_bind_input_attachments: u32, pub max_per_stage_update_after_bind_resources: u32, pub max_descriptor_set_update_after_bind_samplers: u32, pub max_descriptor_set_update_after_bind_uniform_buffers: u32, pub max_descriptor_set_update_after_bind_uniform_buffers_dynamic: u32, pub max_descriptor_set_update_after_bind_storage_buffers: u32, pub max_descriptor_set_update_after_bind_storage_buffers_dynamic: u32, pub max_descriptor_set_update_after_bind_sampled_images: u32, pub max_descriptor_set_update_after_bind_storage_images: u32, pub max_descriptor_set_update_after_bind_input_attachments: u32, pub supported_depth_resolve_modes: ResolveModeFlags, pub supported_stencil_resolve_modes: ResolveModeFlags, pub independent_resolve_none: Bool32, pub independent_resolve: Bool32, pub filter_minmax_single_component_formats: Bool32, pub filter_minmax_image_component_mapping: Bool32, pub max_timeline_semaphore_value_difference: u64, pub framebuffer_integer_color_sample_counts: SampleCountFlags, /* private fields */ }
Native structure VkPhysicalDeviceVulkan12Properties.

Contract

Native structure VkPhysicalDeviceVulkan12Properties.

Khronos reference: VkPhysicalDeviceVulkan12Properties

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

driver_id

Field
driver_id: DriverId

Native field driverID.

driver_name

Field
driver_name: [c_char; 256]

Native field driverName.

driver_info

Field
driver_info: [c_char; 256]

Native field driverInfo.

conformance_version

Field
conformance_version: ConformanceVersion

Native field conformanceVersion.

denorm_behavior_independence

Field
denorm_behavior_independence: ShaderFloatControlsIndependence

Native field denormBehaviorIndependence.

rounding_mode_independence

Field
rounding_mode_independence: ShaderFloatControlsIndependence

Native field roundingModeIndependence.

shader_signed_zero_inf_nan_preserve_float16

Field
shader_signed_zero_inf_nan_preserve_float16: Bool32

Native field shaderSignedZeroInfNanPreserveFloat16.

shader_signed_zero_inf_nan_preserve_float32

Field
shader_signed_zero_inf_nan_preserve_float32: Bool32

Native field shaderSignedZeroInfNanPreserveFloat32.

shader_signed_zero_inf_nan_preserve_float64

Field
shader_signed_zero_inf_nan_preserve_float64: Bool32

Native field shaderSignedZeroInfNanPreserveFloat64.

shader_denorm_preserve_float16

Field
shader_denorm_preserve_float16: Bool32

Native field shaderDenormPreserveFloat16.

shader_denorm_preserve_float32

Field
shader_denorm_preserve_float32: Bool32

Native field shaderDenormPreserveFloat32.

shader_denorm_preserve_float64

Field
shader_denorm_preserve_float64: Bool32

Native field shaderDenormPreserveFloat64.

shader_denorm_flush_to_zero_float16

Field
shader_denorm_flush_to_zero_float16: Bool32

Native field shaderDenormFlushToZeroFloat16.

shader_denorm_flush_to_zero_float32

Field
shader_denorm_flush_to_zero_float32: Bool32

Native field shaderDenormFlushToZeroFloat32.

shader_denorm_flush_to_zero_float64

Field
shader_denorm_flush_to_zero_float64: Bool32

Native field shaderDenormFlushToZeroFloat64.

shader_rounding_mode_rte_float16

Field
shader_rounding_mode_rte_float16: Bool32

Native field shaderRoundingModeRTEFloat16.

shader_rounding_mode_rte_float32

Field
shader_rounding_mode_rte_float32: Bool32

Native field shaderRoundingModeRTEFloat32.

shader_rounding_mode_rte_float64

Field
shader_rounding_mode_rte_float64: Bool32

Native field shaderRoundingModeRTEFloat64.

shader_rounding_mode_rtz_float16

Field
shader_rounding_mode_rtz_float16: Bool32

Native field shaderRoundingModeRTZFloat16.

shader_rounding_mode_rtz_float32

Field
shader_rounding_mode_rtz_float32: Bool32

Native field shaderRoundingModeRTZFloat32.

shader_rounding_mode_rtz_float64

Field
shader_rounding_mode_rtz_float64: Bool32

Native field shaderRoundingModeRTZFloat64.

max_update_after_bind_descriptors_in_all_pools

Field
max_update_after_bind_descriptors_in_all_pools: u32

Native field maxUpdateAfterBindDescriptorsInAllPools.

shader_uniform_buffer_array_non_uniform_indexing_native

Field
shader_uniform_buffer_array_non_uniform_indexing_native: Bool32

Native field shaderUniformBufferArrayNonUniformIndexingNative.

shader_sampled_image_array_non_uniform_indexing_native

Field
shader_sampled_image_array_non_uniform_indexing_native: Bool32

Native field shaderSampledImageArrayNonUniformIndexingNative.

shader_storage_buffer_array_non_uniform_indexing_native

Field
shader_storage_buffer_array_non_uniform_indexing_native: Bool32

Native field shaderStorageBufferArrayNonUniformIndexingNative.

shader_storage_image_array_non_uniform_indexing_native

Field
shader_storage_image_array_non_uniform_indexing_native: Bool32

Native field shaderStorageImageArrayNonUniformIndexingNative.

shader_input_attachment_array_non_uniform_indexing_native

Field
shader_input_attachment_array_non_uniform_indexing_native: Bool32

Native field shaderInputAttachmentArrayNonUniformIndexingNative.

robust_buffer_access_update_after_bind

Field
robust_buffer_access_update_after_bind: Bool32

Native field robustBufferAccessUpdateAfterBind.

quad_divergent_implicit_lod

Field
quad_divergent_implicit_lod: Bool32

Native field quadDivergentImplicitLod.

max_per_stage_descriptor_update_after_bind_samplers

Field
max_per_stage_descriptor_update_after_bind_samplers: u32

Native field maxPerStageDescriptorUpdateAfterBindSamplers.

max_per_stage_descriptor_update_after_bind_uniform_buffers

Field
max_per_stage_descriptor_update_after_bind_uniform_buffers: u32

Native field maxPerStageDescriptorUpdateAfterBindUniformBuffers.

max_per_stage_descriptor_update_after_bind_storage_buffers

Field
max_per_stage_descriptor_update_after_bind_storage_buffers: u32

Native field maxPerStageDescriptorUpdateAfterBindStorageBuffers.

max_per_stage_descriptor_update_after_bind_sampled_images

Field
max_per_stage_descriptor_update_after_bind_sampled_images: u32

Native field maxPerStageDescriptorUpdateAfterBindSampledImages.

max_per_stage_descriptor_update_after_bind_storage_images

Field
max_per_stage_descriptor_update_after_bind_storage_images: u32

Native field maxPerStageDescriptorUpdateAfterBindStorageImages.

max_per_stage_descriptor_update_after_bind_input_attachments

Field
max_per_stage_descriptor_update_after_bind_input_attachments: u32

Native field maxPerStageDescriptorUpdateAfterBindInputAttachments.

max_per_stage_update_after_bind_resources

Field
max_per_stage_update_after_bind_resources: u32

Native field maxPerStageUpdateAfterBindResources.

max_descriptor_set_update_after_bind_samplers

Field
max_descriptor_set_update_after_bind_samplers: u32

Native field maxDescriptorSetUpdateAfterBindSamplers.

max_descriptor_set_update_after_bind_uniform_buffers

Field
max_descriptor_set_update_after_bind_uniform_buffers: u32

Native field maxDescriptorSetUpdateAfterBindUniformBuffers.

max_descriptor_set_update_after_bind_uniform_buffers_dynamic

Field
max_descriptor_set_update_after_bind_uniform_buffers_dynamic: u32

Native field maxDescriptorSetUpdateAfterBindUniformBuffersDynamic.

max_descriptor_set_update_after_bind_storage_buffers

Field
max_descriptor_set_update_after_bind_storage_buffers: u32

Native field maxDescriptorSetUpdateAfterBindStorageBuffers.

max_descriptor_set_update_after_bind_storage_buffers_dynamic

Field
max_descriptor_set_update_after_bind_storage_buffers_dynamic: u32

Native field maxDescriptorSetUpdateAfterBindStorageBuffersDynamic.

max_descriptor_set_update_after_bind_sampled_images

Field
max_descriptor_set_update_after_bind_sampled_images: u32

Native field maxDescriptorSetUpdateAfterBindSampledImages.

max_descriptor_set_update_after_bind_storage_images

Field
max_descriptor_set_update_after_bind_storage_images: u32

Native field maxDescriptorSetUpdateAfterBindStorageImages.

max_descriptor_set_update_after_bind_input_attachments

Field
max_descriptor_set_update_after_bind_input_attachments: u32

Native field maxDescriptorSetUpdateAfterBindInputAttachments.

supported_depth_resolve_modes

Field
supported_depth_resolve_modes: ResolveModeFlags

Native field supportedDepthResolveModes.

supported_stencil_resolve_modes

Field
supported_stencil_resolve_modes: ResolveModeFlags

Native field supportedStencilResolveModes.

independent_resolve_none

Field
independent_resolve_none: Bool32

Native field independentResolveNone.

independent_resolve

Field
independent_resolve: Bool32

Native field independentResolve.

filter_minmax_single_component_formats

Field
filter_minmax_single_component_formats: Bool32

Native field filterMinmaxSingleComponentFormats.

filter_minmax_image_component_mapping

Field
filter_minmax_image_component_mapping: Bool32

Native field filterMinmaxImageComponentMapping.

max_timeline_semaphore_value_difference

Field
max_timeline_semaphore_value_difference: u64

Native field maxTimelineSemaphoreValueDifference.

framebuffer_integer_color_sample_counts

Field
framebuffer_integer_color_sample_counts: SampleCountFlags

Native field framebufferIntegerColorSampleCounts.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_driver_id

Method
pub fn set_driver_id(self, value: DriverId) -> Self

Set native field driverID without native effects.

set_driver_name

Method
pub fn set_driver_name(self, value: [c_char; 256]) -> Self

Set native field driverName without native effects.

set_driver_info

Method
pub fn set_driver_info(self, value: [c_char; 256]) -> Self

Set native field driverInfo without native effects.

set_conformance_version

Method
pub fn set_conformance_version(self, value: ConformanceVersion) -> Self

Set native field conformanceVersion without native effects.

set_denorm_behavior_independence

Method
pub fn set_denorm_behavior_independence( self, value: ShaderFloatControlsIndependence, ) -> Self

Set native field denormBehaviorIndependence without native effects.

set_rounding_mode_independence

Method
pub fn set_rounding_mode_independence( self, value: ShaderFloatControlsIndependence, ) -> Self

Set native field roundingModeIndependence without native effects.

set_shader_signed_zero_inf_nan_preserve_float16

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

Set native field shaderSignedZeroInfNanPreserveFloat16 without native effects.

set_shader_signed_zero_inf_nan_preserve_float32

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

Set native field shaderSignedZeroInfNanPreserveFloat32 without native effects.

set_shader_signed_zero_inf_nan_preserve_float64

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

Set native field shaderSignedZeroInfNanPreserveFloat64 without native effects.

set_shader_denorm_preserve_float16

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

Set native field shaderDenormPreserveFloat16 without native effects.

set_shader_denorm_preserve_float32

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

Set native field shaderDenormPreserveFloat32 without native effects.

set_shader_denorm_preserve_float64

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

Set native field shaderDenormPreserveFloat64 without native effects.

set_shader_denorm_flush_to_zero_float16

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

Set native field shaderDenormFlushToZeroFloat16 without native effects.

set_shader_denorm_flush_to_zero_float32

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

Set native field shaderDenormFlushToZeroFloat32 without native effects.

set_shader_denorm_flush_to_zero_float64

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

Set native field shaderDenormFlushToZeroFloat64 without native effects.

set_shader_rounding_mode_rte_float16

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

Set native field shaderRoundingModeRTEFloat16 without native effects.

set_shader_rounding_mode_rte_float32

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

Set native field shaderRoundingModeRTEFloat32 without native effects.

set_shader_rounding_mode_rte_float64

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

Set native field shaderRoundingModeRTEFloat64 without native effects.

set_shader_rounding_mode_rtz_float16

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

Set native field shaderRoundingModeRTZFloat16 without native effects.

set_shader_rounding_mode_rtz_float32

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

Set native field shaderRoundingModeRTZFloat32 without native effects.

set_shader_rounding_mode_rtz_float64

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

Set native field shaderRoundingModeRTZFloat64 without native effects.

set_max_update_after_bind_descriptors_in_all_pools

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

Set native field maxUpdateAfterBindDescriptorsInAllPools without native effects.

set_shader_uniform_buffer_array_non_uniform_indexing_native

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

Set native field shaderUniformBufferArrayNonUniformIndexingNative without native effects.

set_shader_sampled_image_array_non_uniform_indexing_native

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

Set native field shaderSampledImageArrayNonUniformIndexingNative without native effects.

set_shader_storage_buffer_array_non_uniform_indexing_native

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

Set native field shaderStorageBufferArrayNonUniformIndexingNative without native effects.

set_shader_storage_image_array_non_uniform_indexing_native

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

Set native field shaderStorageImageArrayNonUniformIndexingNative without native effects.

set_shader_input_attachment_array_non_uniform_indexing_native

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

Set native field shaderInputAttachmentArrayNonUniformIndexingNative without native effects.

set_robust_buffer_access_update_after_bind

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

Set native field robustBufferAccessUpdateAfterBind without native effects.

set_quad_divergent_implicit_lod

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

Set native field quadDivergentImplicitLod without native effects.

set_max_per_stage_descriptor_update_after_bind_samplers

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

Set native field maxPerStageDescriptorUpdateAfterBindSamplers without native effects.

set_max_per_stage_descriptor_update_after_bind_uniform_buffers

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

Set native field maxPerStageDescriptorUpdateAfterBindUniformBuffers without native effects.

set_max_per_stage_descriptor_update_after_bind_storage_buffers

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

Set native field maxPerStageDescriptorUpdateAfterBindStorageBuffers without native effects.

set_max_per_stage_descriptor_update_after_bind_sampled_images

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

Set native field maxPerStageDescriptorUpdateAfterBindSampledImages without native effects.

set_max_per_stage_descriptor_update_after_bind_storage_images

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

Set native field maxPerStageDescriptorUpdateAfterBindStorageImages without native effects.

set_max_per_stage_descriptor_update_after_bind_input_attachments

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

Set native field maxPerStageDescriptorUpdateAfterBindInputAttachments without native effects.

set_max_per_stage_update_after_bind_resources

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

Set native field maxPerStageUpdateAfterBindResources without native effects.

set_max_descriptor_set_update_after_bind_samplers

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

Set native field maxDescriptorSetUpdateAfterBindSamplers without native effects.

set_max_descriptor_set_update_after_bind_uniform_buffers

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

Set native field maxDescriptorSetUpdateAfterBindUniformBuffers without native effects.

set_max_descriptor_set_update_after_bind_uniform_buffers_dynamic

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

Set native field maxDescriptorSetUpdateAfterBindUniformBuffersDynamic without native effects.

set_max_descriptor_set_update_after_bind_storage_buffers

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

Set native field maxDescriptorSetUpdateAfterBindStorageBuffers without native effects.

set_max_descriptor_set_update_after_bind_storage_buffers_dynamic

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

Set native field maxDescriptorSetUpdateAfterBindStorageBuffersDynamic without native effects.

set_max_descriptor_set_update_after_bind_sampled_images

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

Set native field maxDescriptorSetUpdateAfterBindSampledImages without native effects.

set_max_descriptor_set_update_after_bind_storage_images

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

Set native field maxDescriptorSetUpdateAfterBindStorageImages without native effects.

set_max_descriptor_set_update_after_bind_input_attachments

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

Set native field maxDescriptorSetUpdateAfterBindInputAttachments without native effects.

set_supported_depth_resolve_modes

Method
pub fn set_supported_depth_resolve_modes(self, value: ResolveModeFlags) -> Self

Set native field supportedDepthResolveModes without native effects.

set_supported_stencil_resolve_modes

Method
pub fn set_supported_stencil_resolve_modes( self, value: ResolveModeFlags, ) -> Self

Set native field supportedStencilResolveModes without native effects.

set_independent_resolve_none

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

Set native field independentResolveNone without native effects.

set_independent_resolve

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

Set native field independentResolve without native effects.

set_filter_minmax_single_component_formats

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

Set native field filterMinmaxSingleComponentFormats without native effects.

set_filter_minmax_image_component_mapping

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

Set native field filterMinmaxImageComponentMapping without native effects.

set_max_timeline_semaphore_value_difference

Method
pub fn set_max_timeline_semaphore_value_difference(self, value: u64) -> Self

Set native field maxTimelineSemaphoreValueDifference without native effects.

set_framebuffer_integer_color_sample_counts

Method
pub fn set_framebuffer_integer_color_sample_counts( self, value: SampleCountFlags, ) -> Self

Set native field framebufferIntegerColorSampleCounts 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.