Skip to main content

PhysicalDeviceVulkan12FeaturesBuilder

Struct PhysicalDeviceVulkan12FeaturesBuilder 

Source
pub struct PhysicalDeviceVulkan12FeaturesBuilder<'a> { /* private fields */ }
Expand description

Builder for PhysicalDeviceVulkan12Features with lifetime-tied pNext safety.

Implementations§

Source§

impl<'a> PhysicalDeviceVulkan12FeaturesBuilder<'a>

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

pub fn push_next<T: ExtendsPhysicalDeviceVulkan12Features>( self, next: &'a mut T, ) -> Self

Prepend a struct to the pNext chain. See PhysicalDeviceVulkan12Features’s Extended By section for valid types.

Trait Implementations§

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.

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