Realm

vk::PhysicalDeviceVulkan12Features

Native structure VkPhysicalDeviceVulkan12Features.

StRustExperimental
pub struct PhysicalDeviceVulkan12Features<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub sampler_mirror_clamp_to_edge: Bool32, pub draw_indirect_count: Bool32, pub storage_buffer8_bit_access: Bool32, pub uniform_and_storage_buffer8_bit_access: Bool32, pub storage_push_constant8: Bool32, pub shader_buffer_int64_atomics: Bool32, pub shader_shared_int64_atomics: Bool32, pub shader_float16: Bool32, pub shader_int8: Bool32, pub descriptor_indexing: Bool32, pub shader_input_attachment_array_dynamic_indexing: Bool32, pub shader_uniform_texel_buffer_array_dynamic_indexing: Bool32, pub shader_storage_texel_buffer_array_dynamic_indexing: Bool32, pub shader_uniform_buffer_array_non_uniform_indexing: Bool32, pub shader_sampled_image_array_non_uniform_indexing: Bool32, pub shader_storage_buffer_array_non_uniform_indexing: Bool32, pub shader_storage_image_array_non_uniform_indexing: Bool32, pub shader_input_attachment_array_non_uniform_indexing: Bool32, pub shader_uniform_texel_buffer_array_non_uniform_indexing: Bool32, pub shader_storage_texel_buffer_array_non_uniform_indexing: Bool32, pub descriptor_binding_uniform_buffer_update_after_bind: Bool32, pub descriptor_binding_sampled_image_update_after_bind: Bool32, pub descriptor_binding_storage_image_update_after_bind: Bool32, pub descriptor_binding_storage_buffer_update_after_bind: Bool32, pub descriptor_binding_uniform_texel_buffer_update_after_bind: Bool32, pub descriptor_binding_storage_texel_buffer_update_after_bind: Bool32, pub descriptor_binding_update_unused_while_pending: Bool32, pub descriptor_binding_partially_bound: Bool32, pub descriptor_binding_variable_descriptor_count: Bool32, pub runtime_descriptor_array: Bool32, pub sampler_filter_minmax: Bool32, pub scalar_block_layout: Bool32, pub imageless_framebuffer: Bool32, pub uniform_buffer_standard_layout: Bool32, pub shader_subgroup_extended_types: Bool32, pub separate_depth_stencil_layouts: Bool32, pub host_query_reset: Bool32, pub timeline_semaphore: Bool32, pub buffer_device_address: Bool32, pub buffer_device_address_capture_replay: Bool32, pub buffer_device_address_multi_device: Bool32, pub vulkan_memory_model: Bool32, pub vulkan_memory_model_device_scope: Bool32, pub vulkan_memory_model_availability_visibility_chains: Bool32, pub shader_output_viewport_index: Bool32, pub shader_output_layer: Bool32, pub subgroup_broadcast_dynamic_id: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceVulkan12Features.

Contract

Native structure VkPhysicalDeviceVulkan12Features.

Khronos reference: VkPhysicalDeviceVulkan12Features

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

sampler_mirror_clamp_to_edge

Field
sampler_mirror_clamp_to_edge: Bool32

Native field samplerMirrorClampToEdge.

draw_indirect_count

Field
draw_indirect_count: Bool32

Native field drawIndirectCount.

storage_buffer8_bit_access

Field
storage_buffer8_bit_access: Bool32

Native field storageBuffer8BitAccess.

uniform_and_storage_buffer8_bit_access

Field
uniform_and_storage_buffer8_bit_access: Bool32

Native field uniformAndStorageBuffer8BitAccess.

storage_push_constant8

Field
storage_push_constant8: Bool32

Native field storagePushConstant8.

shader_buffer_int64_atomics

Field
shader_buffer_int64_atomics: Bool32

Native field shaderBufferInt64Atomics.

shader_shared_int64_atomics

Field
shader_shared_int64_atomics: Bool32

Native field shaderSharedInt64Atomics.

shader_float16

Field
shader_float16: Bool32

Native field shaderFloat16.

shader_int8

Field
shader_int8: Bool32

Native field shaderInt8.

descriptor_indexing

Field
descriptor_indexing: Bool32

Native field descriptorIndexing.

shader_input_attachment_array_dynamic_indexing

Field
shader_input_attachment_array_dynamic_indexing: Bool32

Native field shaderInputAttachmentArrayDynamicIndexing.

shader_uniform_texel_buffer_array_dynamic_indexing

Field
shader_uniform_texel_buffer_array_dynamic_indexing: Bool32

Native field shaderUniformTexelBufferArrayDynamicIndexing.

shader_storage_texel_buffer_array_dynamic_indexing

Field
shader_storage_texel_buffer_array_dynamic_indexing: Bool32

Native field shaderStorageTexelBufferArrayDynamicIndexing.

shader_uniform_buffer_array_non_uniform_indexing

Field
shader_uniform_buffer_array_non_uniform_indexing: Bool32

Native field shaderUniformBufferArrayNonUniformIndexing.

shader_sampled_image_array_non_uniform_indexing

Field
shader_sampled_image_array_non_uniform_indexing: Bool32

Native field shaderSampledImageArrayNonUniformIndexing.

shader_storage_buffer_array_non_uniform_indexing

Field
shader_storage_buffer_array_non_uniform_indexing: Bool32

Native field shaderStorageBufferArrayNonUniformIndexing.

shader_storage_image_array_non_uniform_indexing

Field
shader_storage_image_array_non_uniform_indexing: Bool32

Native field shaderStorageImageArrayNonUniformIndexing.

shader_input_attachment_array_non_uniform_indexing

Field
shader_input_attachment_array_non_uniform_indexing: Bool32

Native field shaderInputAttachmentArrayNonUniformIndexing.

shader_uniform_texel_buffer_array_non_uniform_indexing

Field
shader_uniform_texel_buffer_array_non_uniform_indexing: Bool32

Native field shaderUniformTexelBufferArrayNonUniformIndexing.

shader_storage_texel_buffer_array_non_uniform_indexing

Field
shader_storage_texel_buffer_array_non_uniform_indexing: Bool32

Native field shaderStorageTexelBufferArrayNonUniformIndexing.

descriptor_binding_uniform_buffer_update_after_bind

Field
descriptor_binding_uniform_buffer_update_after_bind: Bool32

Native field descriptorBindingUniformBufferUpdateAfterBind.

descriptor_binding_sampled_image_update_after_bind

Field
descriptor_binding_sampled_image_update_after_bind: Bool32

Native field descriptorBindingSampledImageUpdateAfterBind.

descriptor_binding_storage_image_update_after_bind

Field
descriptor_binding_storage_image_update_after_bind: Bool32

Native field descriptorBindingStorageImageUpdateAfterBind.

descriptor_binding_storage_buffer_update_after_bind

Field
descriptor_binding_storage_buffer_update_after_bind: Bool32

Native field descriptorBindingStorageBufferUpdateAfterBind.

descriptor_binding_uniform_texel_buffer_update_after_bind

Field
descriptor_binding_uniform_texel_buffer_update_after_bind: Bool32

Native field descriptorBindingUniformTexelBufferUpdateAfterBind.

descriptor_binding_storage_texel_buffer_update_after_bind

Field
descriptor_binding_storage_texel_buffer_update_after_bind: Bool32

Native field descriptorBindingStorageTexelBufferUpdateAfterBind.

descriptor_binding_update_unused_while_pending

Field
descriptor_binding_update_unused_while_pending: Bool32

Native field descriptorBindingUpdateUnusedWhilePending.

descriptor_binding_partially_bound

Field
descriptor_binding_partially_bound: Bool32

Native field descriptorBindingPartiallyBound.

descriptor_binding_variable_descriptor_count

Field
descriptor_binding_variable_descriptor_count: Bool32

Native field descriptorBindingVariableDescriptorCount.

runtime_descriptor_array

Field
runtime_descriptor_array: Bool32

Native field runtimeDescriptorArray.

sampler_filter_minmax

Field
sampler_filter_minmax: Bool32

Native field samplerFilterMinmax.

scalar_block_layout

Field
scalar_block_layout: Bool32

Native field scalarBlockLayout.

imageless_framebuffer

Field
imageless_framebuffer: Bool32

Native field imagelessFramebuffer.

uniform_buffer_standard_layout

Field
uniform_buffer_standard_layout: Bool32

Native field uniformBufferStandardLayout.

shader_subgroup_extended_types

Field
shader_subgroup_extended_types: Bool32

Native field shaderSubgroupExtendedTypes.

separate_depth_stencil_layouts

Field
separate_depth_stencil_layouts: Bool32

Native field separateDepthStencilLayouts.

host_query_reset

Field
host_query_reset: Bool32

Native field hostQueryReset.

timeline_semaphore

Field
timeline_semaphore: Bool32

Native field timelineSemaphore.

buffer_device_address

Field
buffer_device_address: Bool32

Native field bufferDeviceAddress.

buffer_device_address_capture_replay

Field
buffer_device_address_capture_replay: Bool32

Native field bufferDeviceAddressCaptureReplay.

buffer_device_address_multi_device

Field
buffer_device_address_multi_device: Bool32

Native field bufferDeviceAddressMultiDevice.

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.

shader_output_viewport_index

Field
shader_output_viewport_index: Bool32

Native field shaderOutputViewportIndex.

shader_output_layer

Field
shader_output_layer: Bool32

Native field shaderOutputLayer.

subgroup_broadcast_dynamic_id

Field
subgroup_broadcast_dynamic_id: Bool32

Native field subgroupBroadcastDynamicId.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_sampler_mirror_clamp_to_edge

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

Set native field samplerMirrorClampToEdge without native effects.

set_draw_indirect_count

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

Set native field drawIndirectCount without native effects.

set_storage_buffer8_bit_access

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

Set native field storageBuffer8BitAccess without native effects.

set_uniform_and_storage_buffer8_bit_access

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

Set native field uniformAndStorageBuffer8BitAccess without native effects.

set_storage_push_constant8

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

Set native field storagePushConstant8 without native effects.

set_shader_buffer_int64_atomics

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

Set native field shaderBufferInt64Atomics without native effects.

set_shader_shared_int64_atomics

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

Set native field shaderSharedInt64Atomics without native effects.

set_shader_float16

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

Set native field shaderFloat16 without native effects.

set_shader_int8

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

Set native field shaderInt8 without native effects.

set_descriptor_indexing

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

Set native field descriptorIndexing without native effects.

set_shader_input_attachment_array_dynamic_indexing

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

Set native field shaderInputAttachmentArrayDynamicIndexing without native effects.

set_shader_uniform_texel_buffer_array_dynamic_indexing

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

Set native field shaderUniformTexelBufferArrayDynamicIndexing without native effects.

set_shader_storage_texel_buffer_array_dynamic_indexing

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

Set native field shaderStorageTexelBufferArrayDynamicIndexing without native effects.

set_shader_uniform_buffer_array_non_uniform_indexing

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

Set native field shaderUniformBufferArrayNonUniformIndexing without native effects.

set_shader_sampled_image_array_non_uniform_indexing

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

Set native field shaderSampledImageArrayNonUniformIndexing without native effects.

set_shader_storage_buffer_array_non_uniform_indexing

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

Set native field shaderStorageBufferArrayNonUniformIndexing without native effects.

set_shader_storage_image_array_non_uniform_indexing

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

Set native field shaderStorageImageArrayNonUniformIndexing without native effects.

set_shader_input_attachment_array_non_uniform_indexing

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

Set native field shaderInputAttachmentArrayNonUniformIndexing without native effects.

set_shader_uniform_texel_buffer_array_non_uniform_indexing

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

Set native field shaderUniformTexelBufferArrayNonUniformIndexing without native effects.

set_shader_storage_texel_buffer_array_non_uniform_indexing

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

Set native field shaderStorageTexelBufferArrayNonUniformIndexing without native effects.

set_descriptor_binding_uniform_buffer_update_after_bind

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

Set native field descriptorBindingUniformBufferUpdateAfterBind without native effects.

set_descriptor_binding_sampled_image_update_after_bind

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

Set native field descriptorBindingSampledImageUpdateAfterBind without native effects.

set_descriptor_binding_storage_image_update_after_bind

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

Set native field descriptorBindingStorageImageUpdateAfterBind without native effects.

set_descriptor_binding_storage_buffer_update_after_bind

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

Set native field descriptorBindingStorageBufferUpdateAfterBind without native effects.

set_descriptor_binding_uniform_texel_buffer_update_after_bind

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

Set native field descriptorBindingUniformTexelBufferUpdateAfterBind without native effects.

set_descriptor_binding_storage_texel_buffer_update_after_bind

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

Set native field descriptorBindingStorageTexelBufferUpdateAfterBind without native effects.

set_descriptor_binding_update_unused_while_pending

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

Set native field descriptorBindingUpdateUnusedWhilePending without native effects.

set_descriptor_binding_partially_bound

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

Set native field descriptorBindingPartiallyBound without native effects.

set_descriptor_binding_variable_descriptor_count

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

Set native field descriptorBindingVariableDescriptorCount without native effects.

set_runtime_descriptor_array

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

Set native field runtimeDescriptorArray without native effects.

set_sampler_filter_minmax

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

Set native field samplerFilterMinmax without native effects.

set_scalar_block_layout

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

Set native field scalarBlockLayout without native effects.

set_imageless_framebuffer

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

Set native field imagelessFramebuffer without native effects.

set_uniform_buffer_standard_layout

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

Set native field uniformBufferStandardLayout without native effects.

set_shader_subgroup_extended_types

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

Set native field shaderSubgroupExtendedTypes without native effects.

set_separate_depth_stencil_layouts

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

Set native field separateDepthStencilLayouts without native effects.

set_host_query_reset

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

Set native field hostQueryReset without native effects.

set_timeline_semaphore

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

Set native field timelineSemaphore without native effects.

set_buffer_device_address

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

Set native field bufferDeviceAddress without native effects.

set_buffer_device_address_capture_replay

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

Set native field bufferDeviceAddressCaptureReplay without native effects.

set_buffer_device_address_multi_device

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

Set native field bufferDeviceAddressMultiDevice without native effects.

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.

set_shader_output_viewport_index

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

Set native field shaderOutputViewportIndex without native effects.

set_shader_output_layer

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

Set native field shaderOutputLayer without native effects.

set_subgroup_broadcast_dynamic_id

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

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