PhysicalDeviceVulkan12FeaturesBuilder

Struct PhysicalDeviceVulkan12FeaturesBuilder 

Source
pub struct PhysicalDeviceVulkan12FeaturesBuilder<'a>(/* private fields */);
Expand description

Implementations§

Source§

impl<'a> PhysicalDeviceVulkan12FeaturesBuilder<'a>

Source

pub fn new() -> PhysicalDeviceVulkan12FeaturesBuilder<'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

Source

pub fn build_dangling(self) -> PhysicalDeviceVulkan12Features

Discards all lifetime information. Use the Deref and DerefMut implementations if possible.

Methods from Deref<Target = PhysicalDeviceVulkan12Features>§

Source

pub const STRUCTURE_TYPE: StructureType = crate::vk1_0::StructureType::PHYSICAL_DEVICE_VULKAN_1_2_FEATURES

Trait Implementations§

Source§

impl<'a> Clone for PhysicalDeviceVulkan12FeaturesBuilder<'a>

Source§

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

Returns a duplicate 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 PhysicalDeviceVulkan12FeaturesBuilder<'a>

Source§

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

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

impl<'a> Default for PhysicalDeviceVulkan12FeaturesBuilder<'a>

Source§

fn default() -> PhysicalDeviceVulkan12FeaturesBuilder<'a>

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

impl<'a> Deref for PhysicalDeviceVulkan12FeaturesBuilder<'a>

Source§

type Target = PhysicalDeviceVulkan12Features

The resulting type after dereferencing.
Source§

fn deref(&self) -> &Self::Target

Dereferences the value.
Source§

impl<'a> DerefMut for PhysicalDeviceVulkan12FeaturesBuilder<'a>

Source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
Source§

impl<'a> ExtendableFrom<'a, PhysicalDeviceVulkan12FeaturesBuilder<'_>> for DeviceCreateInfoBuilder<'a>

Source§

fn extend_from(self, addition: &'a mut T) -> Self
where Self: Sized,

Inserts addition (+ its pointer chain) between the head and tail of this pointer chain. Read more
Source§

impl<'a> ExtendableFrom<'a, PhysicalDeviceVulkan12FeaturesBuilder<'_>> for PhysicalDeviceFeatures2Builder<'a>

Source§

fn extend_from(self, addition: &'a mut T) -> Self
where Self: Sized,

Inserts addition (+ its pointer chain) between the head and tail of this pointer chain. Read more
Source§

impl<'a> Copy for PhysicalDeviceVulkan12FeaturesBuilder<'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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

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>,

Source§

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>,

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.