#[repr(C)]
pub struct PhysicalDeviceVulkan12Features<'a> {
Show 50 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, pub _marker: PhantomData<&'a ()>,
}
Expand description

Fields§

§s_type: StructureType§p_next: *mut c_void§sampler_mirror_clamp_to_edge: Bool32§draw_indirect_count: Bool32§storage_buffer8_bit_access: Bool32§uniform_and_storage_buffer8_bit_access: Bool32§storage_push_constant8: Bool32§shader_buffer_int64_atomics: Bool32§shader_shared_int64_atomics: Bool32§shader_float16: Bool32§shader_int8: Bool32§descriptor_indexing: Bool32§shader_input_attachment_array_dynamic_indexing: Bool32§shader_uniform_texel_buffer_array_dynamic_indexing: Bool32§shader_storage_texel_buffer_array_dynamic_indexing: Bool32§shader_uniform_buffer_array_non_uniform_indexing: Bool32§shader_sampled_image_array_non_uniform_indexing: Bool32§shader_storage_buffer_array_non_uniform_indexing: Bool32§shader_storage_image_array_non_uniform_indexing: Bool32§shader_input_attachment_array_non_uniform_indexing: Bool32§shader_uniform_texel_buffer_array_non_uniform_indexing: Bool32§shader_storage_texel_buffer_array_non_uniform_indexing: Bool32§descriptor_binding_uniform_buffer_update_after_bind: Bool32§descriptor_binding_sampled_image_update_after_bind: Bool32§descriptor_binding_storage_image_update_after_bind: Bool32§descriptor_binding_storage_buffer_update_after_bind: Bool32§descriptor_binding_uniform_texel_buffer_update_after_bind: Bool32§descriptor_binding_storage_texel_buffer_update_after_bind: Bool32§descriptor_binding_update_unused_while_pending: Bool32§descriptor_binding_partially_bound: Bool32§descriptor_binding_variable_descriptor_count: Bool32§runtime_descriptor_array: Bool32§sampler_filter_minmax: Bool32§scalar_block_layout: Bool32§imageless_framebuffer: Bool32§uniform_buffer_standard_layout: Bool32§shader_subgroup_extended_types: Bool32§separate_depth_stencil_layouts: Bool32§host_query_reset: Bool32§timeline_semaphore: Bool32§buffer_device_address: Bool32§buffer_device_address_capture_replay: Bool32§buffer_device_address_multi_device: Bool32§vulkan_memory_model: Bool32§vulkan_memory_model_device_scope: Bool32§vulkan_memory_model_availability_visibility_chains: Bool32§shader_output_viewport_index: Bool32§shader_output_layer: Bool32§subgroup_broadcast_dynamic_id: Bool32§_marker: PhantomData<&'a ()>

Implementations§

source§

impl<'a> PhysicalDeviceVulkan12Features<'a>

source

pub fn sampler_mirror_clamp_to_edge( self, sampler_mirror_clamp_to_edge: bool ) -> Self

source

pub fn draw_indirect_count(self, draw_indirect_count: bool) -> Self

source

pub fn storage_buffer8_bit_access( self, storage_buffer8_bit_access: bool ) -> Self

source

pub fn uniform_and_storage_buffer8_bit_access( self, uniform_and_storage_buffer8_bit_access: bool ) -> Self

source

pub fn storage_push_constant8(self, storage_push_constant8: bool) -> Self

source

pub fn shader_buffer_int64_atomics( self, shader_buffer_int64_atomics: bool ) -> Self

source

pub fn shader_shared_int64_atomics( self, shader_shared_int64_atomics: bool ) -> Self

source

pub fn shader_float16(self, shader_float16: bool) -> Self

source

pub fn shader_int8(self, shader_int8: bool) -> Self

source

pub fn descriptor_indexing(self, descriptor_indexing: bool) -> Self

source

pub fn shader_input_attachment_array_dynamic_indexing( self, shader_input_attachment_array_dynamic_indexing: bool ) -> Self

source

pub fn shader_uniform_texel_buffer_array_dynamic_indexing( self, shader_uniform_texel_buffer_array_dynamic_indexing: bool ) -> Self

source

pub fn shader_storage_texel_buffer_array_dynamic_indexing( self, shader_storage_texel_buffer_array_dynamic_indexing: bool ) -> Self

source

pub fn shader_uniform_buffer_array_non_uniform_indexing( self, shader_uniform_buffer_array_non_uniform_indexing: bool ) -> Self

source

pub fn shader_sampled_image_array_non_uniform_indexing( self, shader_sampled_image_array_non_uniform_indexing: bool ) -> Self

source

pub fn shader_storage_buffer_array_non_uniform_indexing( self, shader_storage_buffer_array_non_uniform_indexing: bool ) -> Self

source

pub fn shader_storage_image_array_non_uniform_indexing( self, shader_storage_image_array_non_uniform_indexing: bool ) -> Self

source

pub fn shader_input_attachment_array_non_uniform_indexing( self, shader_input_attachment_array_non_uniform_indexing: bool ) -> Self

source

pub fn shader_uniform_texel_buffer_array_non_uniform_indexing( self, shader_uniform_texel_buffer_array_non_uniform_indexing: bool ) -> Self

source

pub fn shader_storage_texel_buffer_array_non_uniform_indexing( self, shader_storage_texel_buffer_array_non_uniform_indexing: bool ) -> Self

source

pub fn descriptor_binding_uniform_buffer_update_after_bind( self, descriptor_binding_uniform_buffer_update_after_bind: bool ) -> Self

source

pub fn descriptor_binding_sampled_image_update_after_bind( self, descriptor_binding_sampled_image_update_after_bind: bool ) -> Self

source

pub fn descriptor_binding_storage_image_update_after_bind( self, descriptor_binding_storage_image_update_after_bind: bool ) -> Self

source

pub fn descriptor_binding_storage_buffer_update_after_bind( self, descriptor_binding_storage_buffer_update_after_bind: bool ) -> Self

source

pub fn descriptor_binding_uniform_texel_buffer_update_after_bind( self, descriptor_binding_uniform_texel_buffer_update_after_bind: bool ) -> Self

source

pub fn descriptor_binding_storage_texel_buffer_update_after_bind( self, descriptor_binding_storage_texel_buffer_update_after_bind: bool ) -> Self

source

pub fn descriptor_binding_update_unused_while_pending( self, descriptor_binding_update_unused_while_pending: bool ) -> Self

source

pub fn descriptor_binding_partially_bound( self, descriptor_binding_partially_bound: bool ) -> Self

source

pub fn descriptor_binding_variable_descriptor_count( self, descriptor_binding_variable_descriptor_count: bool ) -> Self

source

pub fn runtime_descriptor_array(self, runtime_descriptor_array: bool) -> Self

source

pub fn sampler_filter_minmax(self, sampler_filter_minmax: bool) -> Self

source

pub fn scalar_block_layout(self, scalar_block_layout: bool) -> Self

source

pub fn imageless_framebuffer(self, imageless_framebuffer: bool) -> Self

source

pub fn uniform_buffer_standard_layout( self, uniform_buffer_standard_layout: bool ) -> Self

source

pub fn shader_subgroup_extended_types( self, shader_subgroup_extended_types: bool ) -> Self

source

pub fn separate_depth_stencil_layouts( self, separate_depth_stencil_layouts: bool ) -> Self

source

pub fn host_query_reset(self, host_query_reset: bool) -> Self

source

pub fn timeline_semaphore(self, timeline_semaphore: bool) -> Self

source

pub fn buffer_device_address(self, buffer_device_address: bool) -> Self

source

pub fn buffer_device_address_capture_replay( self, buffer_device_address_capture_replay: bool ) -> Self

source

pub fn buffer_device_address_multi_device( self, buffer_device_address_multi_device: bool ) -> Self

source

pub fn vulkan_memory_model(self, vulkan_memory_model: bool) -> Self

source

pub fn vulkan_memory_model_device_scope( self, vulkan_memory_model_device_scope: bool ) -> Self

source

pub fn vulkan_memory_model_availability_visibility_chains( self, vulkan_memory_model_availability_visibility_chains: bool ) -> Self

source

pub fn shader_output_viewport_index( self, shader_output_viewport_index: bool ) -> Self

source

pub fn shader_output_layer(self, shader_output_layer: bool) -> Self

source

pub fn subgroup_broadcast_dynamic_id( self, subgroup_broadcast_dynamic_id: bool ) -> Self

Trait Implementations§

source§

impl<'a> Clone for PhysicalDeviceVulkan12Features<'a>

source§

fn clone(&self) -> PhysicalDeviceVulkan12Features<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'a> Debug for PhysicalDeviceVulkan12Features<'a>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for PhysicalDeviceVulkan12Features<'_>

source§

fn default() -> Self

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

impl<'a> TaggedStructure for PhysicalDeviceVulkan12Features<'a>

source§

const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_VULKAN_1_2_FEATURES

source§

impl<'a> Copy for PhysicalDeviceVulkan12Features<'a>

source§

impl ExtendsDeviceCreateInfo for PhysicalDeviceVulkan12Features<'_>

source§

impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceVulkan12Features<'_>

source§

impl Send for PhysicalDeviceVulkan12Features<'_>

source§

impl Sync for PhysicalDeviceVulkan12Features<'_>

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> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

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

§

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.