ash::vk

Struct PhysicalDeviceVulkan12FeaturesBuilder

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

Implementations§

Source§

impl<'a> 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(self) -> PhysicalDeviceVulkan12Features

Calling build will discard all the lifetime information. Only call this if necessary! Builders implement Deref targeting their corresponding Vulkan struct, so references to builders can be passed directly to Vulkan functions.

Trait Implementations§

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.