Skip to main content

PhysicalDeviceVulkan12Features

Struct PhysicalDeviceVulkan12Features 

Source
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.

Khronos reference: VkPhysicalDeviceVulkan12Features

Fields§

§s_type: StructureType

Native field sType.

§p_next: *mut c_void

Native field pNext.

§sampler_mirror_clamp_to_edge: Bool32

Native field samplerMirrorClampToEdge.

§draw_indirect_count: Bool32

Native field drawIndirectCount.

§storage_buffer8_bit_access: Bool32

Native field storageBuffer8BitAccess.

§uniform_and_storage_buffer8_bit_access: Bool32

Native field uniformAndStorageBuffer8BitAccess.

§storage_push_constant8: Bool32

Native field storagePushConstant8.

§shader_buffer_int64_atomics: Bool32

Native field shaderBufferInt64Atomics.

§shader_shared_int64_atomics: Bool32

Native field shaderSharedInt64Atomics.

§shader_float16: Bool32

Native field shaderFloat16.

§shader_int8: Bool32

Native field shaderInt8.

§descriptor_indexing: Bool32

Native field descriptorIndexing.

§shader_input_attachment_array_dynamic_indexing: Bool32

Native field shaderInputAttachmentArrayDynamicIndexing.

§shader_uniform_texel_buffer_array_dynamic_indexing: Bool32

Native field shaderUniformTexelBufferArrayDynamicIndexing.

§shader_storage_texel_buffer_array_dynamic_indexing: Bool32

Native field shaderStorageTexelBufferArrayDynamicIndexing.

§shader_uniform_buffer_array_non_uniform_indexing: Bool32

Native field shaderUniformBufferArrayNonUniformIndexing.

§shader_sampled_image_array_non_uniform_indexing: Bool32

Native field shaderSampledImageArrayNonUniformIndexing.

§shader_storage_buffer_array_non_uniform_indexing: Bool32

Native field shaderStorageBufferArrayNonUniformIndexing.

§shader_storage_image_array_non_uniform_indexing: Bool32

Native field shaderStorageImageArrayNonUniformIndexing.

§shader_input_attachment_array_non_uniform_indexing: Bool32

Native field shaderInputAttachmentArrayNonUniformIndexing.

§shader_uniform_texel_buffer_array_non_uniform_indexing: Bool32

Native field shaderUniformTexelBufferArrayNonUniformIndexing.

§shader_storage_texel_buffer_array_non_uniform_indexing: Bool32

Native field shaderStorageTexelBufferArrayNonUniformIndexing.

§descriptor_binding_uniform_buffer_update_after_bind: Bool32

Native field descriptorBindingUniformBufferUpdateAfterBind.

§descriptor_binding_sampled_image_update_after_bind: Bool32

Native field descriptorBindingSampledImageUpdateAfterBind.

§descriptor_binding_storage_image_update_after_bind: Bool32

Native field descriptorBindingStorageImageUpdateAfterBind.

§descriptor_binding_storage_buffer_update_after_bind: Bool32

Native field descriptorBindingStorageBufferUpdateAfterBind.

§descriptor_binding_uniform_texel_buffer_update_after_bind: Bool32

Native field descriptorBindingUniformTexelBufferUpdateAfterBind.

§descriptor_binding_storage_texel_buffer_update_after_bind: Bool32

Native field descriptorBindingStorageTexelBufferUpdateAfterBind.

§descriptor_binding_update_unused_while_pending: Bool32

Native field descriptorBindingUpdateUnusedWhilePending.

§descriptor_binding_partially_bound: Bool32

Native field descriptorBindingPartiallyBound.

§descriptor_binding_variable_descriptor_count: Bool32

Native field descriptorBindingVariableDescriptorCount.

§runtime_descriptor_array: Bool32

Native field runtimeDescriptorArray.

§sampler_filter_minmax: Bool32

Native field samplerFilterMinmax.

§scalar_block_layout: Bool32

Native field scalarBlockLayout.

§imageless_framebuffer: Bool32

Native field imagelessFramebuffer.

§uniform_buffer_standard_layout: Bool32

Native field uniformBufferStandardLayout.

§shader_subgroup_extended_types: Bool32

Native field shaderSubgroupExtendedTypes.

§separate_depth_stencil_layouts: Bool32

Native field separateDepthStencilLayouts.

§host_query_reset: Bool32

Native field hostQueryReset.

§timeline_semaphore: Bool32

Native field timelineSemaphore.

§buffer_device_address: Bool32

Native field bufferDeviceAddress.

§buffer_device_address_capture_replay: Bool32

Native field bufferDeviceAddressCaptureReplay.

§buffer_device_address_multi_device: Bool32

Native field bufferDeviceAddressMultiDevice.

§vulkan_memory_model: Bool32

Native field vulkanMemoryModel.

§vulkan_memory_model_device_scope: Bool32

Native field vulkanMemoryModelDeviceScope.

§vulkan_memory_model_availability_visibility_chains: Bool32

Native field vulkanMemoryModelAvailabilityVisibilityChains.

§shader_output_viewport_index: Bool32

Native field shaderOutputViewportIndex.

§shader_output_layer: Bool32

Native field shaderOutputLayer.

§subgroup_broadcast_dynamic_id: Bool32

Native field subgroupBroadcastDynamicId.

Implementations§

Source§

impl<'a> PhysicalDeviceVulkan12Features<'a>

Source

pub fn new() -> Self

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

Source

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

Set native field samplerMirrorClampToEdge without native effects.

Source

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

Set native field drawIndirectCount without native effects.

Source

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

Set native field storageBuffer8BitAccess without native effects.

Source

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

Set native field uniformAndStorageBuffer8BitAccess without native effects.

Source

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

Set native field storagePushConstant8 without native effects.

Source

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

Set native field shaderBufferInt64Atomics without native effects.

Source

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

Set native field shaderSharedInt64Atomics without native effects.

Source

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

Set native field shaderFloat16 without native effects.

Source

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

Set native field shaderInt8 without native effects.

Source

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

Set native field descriptorIndexing without native effects.

Source

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

Set native field shaderInputAttachmentArrayDynamicIndexing without native effects.

Source

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

Set native field shaderUniformTexelBufferArrayDynamicIndexing without native effects.

Source

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

Set native field shaderStorageTexelBufferArrayDynamicIndexing without native effects.

Source

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

Set native field shaderUniformBufferArrayNonUniformIndexing without native effects.

Source

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

Set native field shaderSampledImageArrayNonUniformIndexing without native effects.

Source

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

Set native field shaderStorageBufferArrayNonUniformIndexing without native effects.

Source

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

Set native field shaderStorageImageArrayNonUniformIndexing without native effects.

Source

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

Set native field shaderInputAttachmentArrayNonUniformIndexing without native effects.

Source

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

Set native field shaderUniformTexelBufferArrayNonUniformIndexing without native effects.

Source

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

Set native field shaderStorageTexelBufferArrayNonUniformIndexing without native effects.

Source

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

Set native field descriptorBindingUniformBufferUpdateAfterBind without native effects.

Source

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

Set native field descriptorBindingSampledImageUpdateAfterBind without native effects.

Source

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

Set native field descriptorBindingStorageImageUpdateAfterBind without native effects.

Source

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

Set native field descriptorBindingStorageBufferUpdateAfterBind without native effects.

Source

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

Set native field descriptorBindingUniformTexelBufferUpdateAfterBind without native effects.

Source

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

Set native field descriptorBindingStorageTexelBufferUpdateAfterBind without native effects.

Source

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

Set native field descriptorBindingUpdateUnusedWhilePending without native effects.

Source

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

Set native field descriptorBindingPartiallyBound without native effects.

Source

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

Set native field descriptorBindingVariableDescriptorCount without native effects.

Source

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

Set native field runtimeDescriptorArray without native effects.

Source

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

Set native field samplerFilterMinmax without native effects.

Source

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

Set native field scalarBlockLayout without native effects.

Source

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

Set native field imagelessFramebuffer without native effects.

Source

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

Set native field uniformBufferStandardLayout without native effects.

Source

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

Set native field shaderSubgroupExtendedTypes without native effects.

Source

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

Set native field separateDepthStencilLayouts without native effects.

Source

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

Set native field hostQueryReset without native effects.

Source

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

Set native field timelineSemaphore without native effects.

Source

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

Set native field bufferDeviceAddress without native effects.

Source

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

Set native field bufferDeviceAddressCaptureReplay without native effects.

Source

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

Set native field bufferDeviceAddressMultiDevice without native effects.

Source

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

Set native field vulkanMemoryModel without native effects.

Source

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

Set native field vulkanMemoryModelDeviceScope without native effects.

Source

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

Set native field vulkanMemoryModelAvailabilityVisibilityChains without native effects.

Source

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

Set native field shaderOutputViewportIndex without native effects.

Source

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

Set native field shaderOutputLayer without native effects.

Source

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

Set native field subgroupBroadcastDynamicId without native effects.

Source

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.

Trait Implementations§

Source§

impl<'a> Default for PhysicalDeviceVulkan12Features<'a>

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'a, 'root> Extends<DeviceCreateInfo<'root>> for PhysicalDeviceVulkan12Features<'a>

Source§

impl<'a, 'root> Extends<PhysicalDeviceFeatures2<'root>> for PhysicalDeviceVulkan12Features<'a>

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.