pub struct PhysicalDeviceVulkan12Features<'a> {Show 49 fields
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 */
}Expand description
Native structure VkPhysicalDeviceVulkan12Features.
Fields§
§s_type: StructureTypeNative field sType.
p_next: *mut c_voidNative field pNext.
sampler_mirror_clamp_to_edge: Bool32Native field samplerMirrorClampToEdge.
draw_indirect_count: Bool32Native field drawIndirectCount.
storage_buffer8_bit_access: Bool32Native field storageBuffer8BitAccess.
uniform_and_storage_buffer8_bit_access: Bool32Native field uniformAndStorageBuffer8BitAccess.
storage_push_constant8: Bool32Native field storagePushConstant8.
shader_buffer_int64_atomics: Bool32Native field shaderBufferInt64Atomics.
Native field shaderSharedInt64Atomics.
shader_float16: Bool32Native field shaderFloat16.
shader_int8: Bool32Native field shaderInt8.
descriptor_indexing: Bool32Native field descriptorIndexing.
shader_input_attachment_array_dynamic_indexing: Bool32Native field shaderInputAttachmentArrayDynamicIndexing.
shader_uniform_texel_buffer_array_dynamic_indexing: Bool32Native field shaderUniformTexelBufferArrayDynamicIndexing.
shader_storage_texel_buffer_array_dynamic_indexing: Bool32Native field shaderStorageTexelBufferArrayDynamicIndexing.
shader_uniform_buffer_array_non_uniform_indexing: Bool32Native field shaderUniformBufferArrayNonUniformIndexing.
shader_sampled_image_array_non_uniform_indexing: Bool32Native field shaderSampledImageArrayNonUniformIndexing.
shader_storage_buffer_array_non_uniform_indexing: Bool32Native field shaderStorageBufferArrayNonUniformIndexing.
shader_storage_image_array_non_uniform_indexing: Bool32Native field shaderStorageImageArrayNonUniformIndexing.
shader_input_attachment_array_non_uniform_indexing: Bool32Native field shaderInputAttachmentArrayNonUniformIndexing.
shader_uniform_texel_buffer_array_non_uniform_indexing: Bool32Native field shaderUniformTexelBufferArrayNonUniformIndexing.
shader_storage_texel_buffer_array_non_uniform_indexing: Bool32Native field shaderStorageTexelBufferArrayNonUniformIndexing.
descriptor_binding_uniform_buffer_update_after_bind: Bool32Native field descriptorBindingUniformBufferUpdateAfterBind.
descriptor_binding_sampled_image_update_after_bind: Bool32Native field descriptorBindingSampledImageUpdateAfterBind.
descriptor_binding_storage_image_update_after_bind: Bool32Native field descriptorBindingStorageImageUpdateAfterBind.
descriptor_binding_storage_buffer_update_after_bind: Bool32Native field descriptorBindingStorageBufferUpdateAfterBind.
descriptor_binding_uniform_texel_buffer_update_after_bind: Bool32Native field descriptorBindingUniformTexelBufferUpdateAfterBind.
descriptor_binding_storage_texel_buffer_update_after_bind: Bool32Native field descriptorBindingStorageTexelBufferUpdateAfterBind.
descriptor_binding_update_unused_while_pending: Bool32Native field descriptorBindingUpdateUnusedWhilePending.
descriptor_binding_partially_bound: Bool32Native field descriptorBindingPartiallyBound.
descriptor_binding_variable_descriptor_count: Bool32Native field descriptorBindingVariableDescriptorCount.
runtime_descriptor_array: Bool32Native field runtimeDescriptorArray.
sampler_filter_minmax: Bool32Native field samplerFilterMinmax.
scalar_block_layout: Bool32Native field scalarBlockLayout.
imageless_framebuffer: Bool32Native field imagelessFramebuffer.
uniform_buffer_standard_layout: Bool32Native field uniformBufferStandardLayout.
shader_subgroup_extended_types: Bool32Native field shaderSubgroupExtendedTypes.
separate_depth_stencil_layouts: Bool32Native field separateDepthStencilLayouts.
host_query_reset: Bool32Native field hostQueryReset.
timeline_semaphore: Bool32Native field timelineSemaphore.
buffer_device_address: Bool32Native field bufferDeviceAddress.
buffer_device_address_capture_replay: Bool32Native field bufferDeviceAddressCaptureReplay.
buffer_device_address_multi_device: Bool32Native field bufferDeviceAddressMultiDevice.
vulkan_memory_model: Bool32Native field vulkanMemoryModel.
vulkan_memory_model_device_scope: Bool32Native field vulkanMemoryModelDeviceScope.
vulkan_memory_model_availability_visibility_chains: Bool32Native field vulkanMemoryModelAvailabilityVisibilityChains.
shader_output_viewport_index: Bool32Native field shaderOutputViewportIndex.
shader_output_layer: Bool32Native field shaderOutputLayer.
subgroup_broadcast_dynamic_id: Bool32Native field subgroupBroadcastDynamicId.
Implementations§
Source§impl<'a> PhysicalDeviceVulkan12Features<'a>
impl<'a> PhysicalDeviceVulkan12Features<'a>
Sourcepub fn new() -> Self
pub fn new() -> Self
Construct the record with its canonical sType tag and default native state.
Sourcepub fn set_sampler_mirror_clamp_to_edge(self, value: Bool32) -> Self
pub fn set_sampler_mirror_clamp_to_edge(self, value: Bool32) -> Self
Set native field samplerMirrorClampToEdge without native effects.
Sourcepub fn set_draw_indirect_count(self, value: Bool32) -> Self
pub fn set_draw_indirect_count(self, value: Bool32) -> Self
Set native field drawIndirectCount without native effects.
Sourcepub fn set_storage_buffer8_bit_access(self, value: Bool32) -> Self
pub fn set_storage_buffer8_bit_access(self, value: Bool32) -> Self
Set native field storageBuffer8BitAccess without native effects.
Sourcepub fn set_uniform_and_storage_buffer8_bit_access(self, value: Bool32) -> Self
pub fn set_uniform_and_storage_buffer8_bit_access(self, value: Bool32) -> Self
Set native field uniformAndStorageBuffer8BitAccess without native effects.
Sourcepub fn set_storage_push_constant8(self, value: Bool32) -> Self
pub fn set_storage_push_constant8(self, value: Bool32) -> Self
Set native field storagePushConstant8 without native effects.
Sourcepub fn set_shader_buffer_int64_atomics(self, value: Bool32) -> Self
pub fn set_shader_buffer_int64_atomics(self, value: Bool32) -> Self
Set native field shaderBufferInt64Atomics without native effects.
Set native field shaderSharedInt64Atomics without native effects.
Sourcepub fn set_shader_float16(self, value: Bool32) -> Self
pub fn set_shader_float16(self, value: Bool32) -> Self
Set native field shaderFloat16 without native effects.
Sourcepub fn set_shader_int8(self, value: Bool32) -> Self
pub fn set_shader_int8(self, value: Bool32) -> Self
Set native field shaderInt8 without native effects.
Sourcepub fn set_descriptor_indexing(self, value: Bool32) -> Self
pub fn set_descriptor_indexing(self, value: Bool32) -> Self
Set native field descriptorIndexing without native effects.
Sourcepub fn set_shader_input_attachment_array_dynamic_indexing(
self,
value: Bool32,
) -> Self
pub fn set_shader_input_attachment_array_dynamic_indexing( self, value: Bool32, ) -> Self
Set native field shaderInputAttachmentArrayDynamicIndexing without native effects.
Sourcepub fn set_shader_uniform_texel_buffer_array_dynamic_indexing(
self,
value: Bool32,
) -> Self
pub fn set_shader_uniform_texel_buffer_array_dynamic_indexing( self, value: Bool32, ) -> Self
Set native field shaderUniformTexelBufferArrayDynamicIndexing without native effects.
Sourcepub fn set_shader_storage_texel_buffer_array_dynamic_indexing(
self,
value: Bool32,
) -> Self
pub fn set_shader_storage_texel_buffer_array_dynamic_indexing( self, value: Bool32, ) -> Self
Set native field shaderStorageTexelBufferArrayDynamicIndexing without native effects.
Sourcepub fn set_shader_uniform_buffer_array_non_uniform_indexing(
self,
value: Bool32,
) -> Self
pub fn set_shader_uniform_buffer_array_non_uniform_indexing( self, value: Bool32, ) -> Self
Set native field shaderUniformBufferArrayNonUniformIndexing without native effects.
Sourcepub fn set_shader_sampled_image_array_non_uniform_indexing(
self,
value: Bool32,
) -> Self
pub fn set_shader_sampled_image_array_non_uniform_indexing( self, value: Bool32, ) -> Self
Set native field shaderSampledImageArrayNonUniformIndexing without native effects.
Sourcepub fn set_shader_storage_buffer_array_non_uniform_indexing(
self,
value: Bool32,
) -> Self
pub fn set_shader_storage_buffer_array_non_uniform_indexing( self, value: Bool32, ) -> Self
Set native field shaderStorageBufferArrayNonUniformIndexing without native effects.
Sourcepub fn set_shader_storage_image_array_non_uniform_indexing(
self,
value: Bool32,
) -> Self
pub fn set_shader_storage_image_array_non_uniform_indexing( self, value: Bool32, ) -> Self
Set native field shaderStorageImageArrayNonUniformIndexing without native effects.
Sourcepub fn set_shader_input_attachment_array_non_uniform_indexing(
self,
value: Bool32,
) -> Self
pub fn set_shader_input_attachment_array_non_uniform_indexing( self, value: Bool32, ) -> Self
Set native field shaderInputAttachmentArrayNonUniformIndexing without native effects.
Sourcepub fn set_shader_uniform_texel_buffer_array_non_uniform_indexing(
self,
value: Bool32,
) -> Self
pub fn set_shader_uniform_texel_buffer_array_non_uniform_indexing( self, value: Bool32, ) -> Self
Set native field shaderUniformTexelBufferArrayNonUniformIndexing without native effects.
Sourcepub fn set_shader_storage_texel_buffer_array_non_uniform_indexing(
self,
value: Bool32,
) -> Self
pub fn set_shader_storage_texel_buffer_array_non_uniform_indexing( self, value: Bool32, ) -> Self
Set native field shaderStorageTexelBufferArrayNonUniformIndexing without native effects.
Sourcepub fn set_descriptor_binding_uniform_buffer_update_after_bind(
self,
value: Bool32,
) -> Self
pub fn set_descriptor_binding_uniform_buffer_update_after_bind( self, value: Bool32, ) -> Self
Set native field descriptorBindingUniformBufferUpdateAfterBind without native effects.
Sourcepub fn set_descriptor_binding_sampled_image_update_after_bind(
self,
value: Bool32,
) -> Self
pub fn set_descriptor_binding_sampled_image_update_after_bind( self, value: Bool32, ) -> Self
Set native field descriptorBindingSampledImageUpdateAfterBind without native effects.
Sourcepub fn set_descriptor_binding_storage_image_update_after_bind(
self,
value: Bool32,
) -> Self
pub fn set_descriptor_binding_storage_image_update_after_bind( self, value: Bool32, ) -> Self
Set native field descriptorBindingStorageImageUpdateAfterBind without native effects.
Sourcepub fn set_descriptor_binding_storage_buffer_update_after_bind(
self,
value: Bool32,
) -> Self
pub fn set_descriptor_binding_storage_buffer_update_after_bind( self, value: Bool32, ) -> Self
Set native field descriptorBindingStorageBufferUpdateAfterBind without native effects.
Sourcepub fn set_descriptor_binding_uniform_texel_buffer_update_after_bind(
self,
value: Bool32,
) -> Self
pub fn set_descriptor_binding_uniform_texel_buffer_update_after_bind( self, value: Bool32, ) -> Self
Set native field descriptorBindingUniformTexelBufferUpdateAfterBind without native effects.
Sourcepub fn set_descriptor_binding_storage_texel_buffer_update_after_bind(
self,
value: Bool32,
) -> Self
pub fn set_descriptor_binding_storage_texel_buffer_update_after_bind( self, value: Bool32, ) -> Self
Set native field descriptorBindingStorageTexelBufferUpdateAfterBind without native effects.
Sourcepub fn set_descriptor_binding_update_unused_while_pending(
self,
value: Bool32,
) -> Self
pub fn set_descriptor_binding_update_unused_while_pending( self, value: Bool32, ) -> Self
Set native field descriptorBindingUpdateUnusedWhilePending without native effects.
Sourcepub fn set_descriptor_binding_partially_bound(self, value: Bool32) -> Self
pub fn set_descriptor_binding_partially_bound(self, value: Bool32) -> Self
Set native field descriptorBindingPartiallyBound without native effects.
Sourcepub fn set_descriptor_binding_variable_descriptor_count(
self,
value: Bool32,
) -> Self
pub fn set_descriptor_binding_variable_descriptor_count( self, value: Bool32, ) -> Self
Set native field descriptorBindingVariableDescriptorCount without native effects.
Sourcepub fn set_runtime_descriptor_array(self, value: Bool32) -> Self
pub fn set_runtime_descriptor_array(self, value: Bool32) -> Self
Set native field runtimeDescriptorArray without native effects.
Sourcepub fn set_sampler_filter_minmax(self, value: Bool32) -> Self
pub fn set_sampler_filter_minmax(self, value: Bool32) -> Self
Set native field samplerFilterMinmax without native effects.
Sourcepub fn set_scalar_block_layout(self, value: Bool32) -> Self
pub fn set_scalar_block_layout(self, value: Bool32) -> Self
Set native field scalarBlockLayout without native effects.
Sourcepub fn set_imageless_framebuffer(self, value: Bool32) -> Self
pub fn set_imageless_framebuffer(self, value: Bool32) -> Self
Set native field imagelessFramebuffer without native effects.
Sourcepub fn set_uniform_buffer_standard_layout(self, value: Bool32) -> Self
pub fn set_uniform_buffer_standard_layout(self, value: Bool32) -> Self
Set native field uniformBufferStandardLayout without native effects.
Sourcepub fn set_shader_subgroup_extended_types(self, value: Bool32) -> Self
pub fn set_shader_subgroup_extended_types(self, value: Bool32) -> Self
Set native field shaderSubgroupExtendedTypes without native effects.
Sourcepub fn set_separate_depth_stencil_layouts(self, value: Bool32) -> Self
pub fn set_separate_depth_stencil_layouts(self, value: Bool32) -> Self
Set native field separateDepthStencilLayouts without native effects.
Sourcepub fn set_host_query_reset(self, value: Bool32) -> Self
pub fn set_host_query_reset(self, value: Bool32) -> Self
Set native field hostQueryReset without native effects.
Sourcepub fn set_timeline_semaphore(self, value: Bool32) -> Self
pub fn set_timeline_semaphore(self, value: Bool32) -> Self
Set native field timelineSemaphore without native effects.
Sourcepub fn set_buffer_device_address(self, value: Bool32) -> Self
pub fn set_buffer_device_address(self, value: Bool32) -> Self
Set native field bufferDeviceAddress without native effects.
Sourcepub fn set_buffer_device_address_capture_replay(self, value: Bool32) -> Self
pub fn set_buffer_device_address_capture_replay(self, value: Bool32) -> Self
Set native field bufferDeviceAddressCaptureReplay without native effects.
Sourcepub fn set_buffer_device_address_multi_device(self, value: Bool32) -> Self
pub fn set_buffer_device_address_multi_device(self, value: Bool32) -> Self
Set native field bufferDeviceAddressMultiDevice without native effects.
Sourcepub fn set_vulkan_memory_model(self, value: Bool32) -> Self
pub fn set_vulkan_memory_model(self, value: Bool32) -> Self
Set native field vulkanMemoryModel without native effects.
Sourcepub fn set_vulkan_memory_model_device_scope(self, value: Bool32) -> Self
pub fn set_vulkan_memory_model_device_scope(self, value: Bool32) -> Self
Set native field vulkanMemoryModelDeviceScope without native effects.
Sourcepub fn set_vulkan_memory_model_availability_visibility_chains(
self,
value: Bool32,
) -> Self
pub fn set_vulkan_memory_model_availability_visibility_chains( self, value: Bool32, ) -> Self
Set native field vulkanMemoryModelAvailabilityVisibilityChains without native effects.
Sourcepub fn set_shader_output_viewport_index(self, value: Bool32) -> Self
pub fn set_shader_output_viewport_index(self, value: Bool32) -> Self
Set native field shaderOutputViewportIndex without native effects.
Sourcepub fn set_shader_output_layer(self, value: Bool32) -> Self
pub fn set_shader_output_layer(self, value: Bool32) -> Self
Set native field shaderOutputLayer without native effects.
Sourcepub fn set_subgroup_broadcast_dynamic_id(self, value: Bool32) -> Self
pub fn set_subgroup_broadcast_dynamic_id(self, value: Bool32) -> Self
Set native field subgroupBroadcastDynamicId without native effects.
Sourcepub fn push_next<T: Extends<Self>>(
self,
next: &'a mut T,
) -> Result<Self, ConstructionError>
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.