ash::vk

Struct PhysicalDeviceVulkan12PropertiesBuilder

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

Implementations§

Source§

impl<'a> PhysicalDeviceVulkan12PropertiesBuilder<'a>

Source

pub fn driver_id(self, driver_id: DriverId) -> Self

Source

pub fn driver_name(self, driver_name: [c_char; 256]) -> Self

Source

pub fn driver_info(self, driver_info: [c_char; 256]) -> Self

Source

pub fn conformance_version( self, conformance_version: ConformanceVersion, ) -> Self

Source

pub fn denorm_behavior_independence( self, denorm_behavior_independence: ShaderFloatControlsIndependence, ) -> Self

Source

pub fn rounding_mode_independence( self, rounding_mode_independence: ShaderFloatControlsIndependence, ) -> Self

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

pub fn max_update_after_bind_descriptors_in_all_pools( self, max_update_after_bind_descriptors_in_all_pools: u32, ) -> Self

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

pub fn max_per_stage_descriptor_update_after_bind_samplers( self, max_per_stage_descriptor_update_after_bind_samplers: u32, ) -> Self

Source

pub fn max_per_stage_descriptor_update_after_bind_uniform_buffers( self, max_per_stage_descriptor_update_after_bind_uniform_buffers: u32, ) -> Self

Source

pub fn max_per_stage_descriptor_update_after_bind_storage_buffers( self, max_per_stage_descriptor_update_after_bind_storage_buffers: u32, ) -> Self

Source

pub fn max_per_stage_descriptor_update_after_bind_sampled_images( self, max_per_stage_descriptor_update_after_bind_sampled_images: u32, ) -> Self

Source

pub fn max_per_stage_descriptor_update_after_bind_storage_images( self, max_per_stage_descriptor_update_after_bind_storage_images: u32, ) -> Self

Source

pub fn max_per_stage_descriptor_update_after_bind_input_attachments( self, max_per_stage_descriptor_update_after_bind_input_attachments: u32, ) -> Self

Source

pub fn max_per_stage_update_after_bind_resources( self, max_per_stage_update_after_bind_resources: u32, ) -> Self

Source

pub fn max_descriptor_set_update_after_bind_samplers( self, max_descriptor_set_update_after_bind_samplers: u32, ) -> Self

Source

pub fn max_descriptor_set_update_after_bind_uniform_buffers( self, max_descriptor_set_update_after_bind_uniform_buffers: u32, ) -> Self

Source

pub fn max_descriptor_set_update_after_bind_uniform_buffers_dynamic( self, max_descriptor_set_update_after_bind_uniform_buffers_dynamic: u32, ) -> Self

Source

pub fn max_descriptor_set_update_after_bind_storage_buffers( self, max_descriptor_set_update_after_bind_storage_buffers: u32, ) -> Self

Source

pub fn max_descriptor_set_update_after_bind_storage_buffers_dynamic( self, max_descriptor_set_update_after_bind_storage_buffers_dynamic: u32, ) -> Self

Source

pub fn max_descriptor_set_update_after_bind_sampled_images( self, max_descriptor_set_update_after_bind_sampled_images: u32, ) -> Self

Source

pub fn max_descriptor_set_update_after_bind_storage_images( self, max_descriptor_set_update_after_bind_storage_images: u32, ) -> Self

Source

pub fn max_descriptor_set_update_after_bind_input_attachments( self, max_descriptor_set_update_after_bind_input_attachments: u32, ) -> Self

Source

pub fn supported_depth_resolve_modes( self, supported_depth_resolve_modes: ResolveModeFlags, ) -> Self

Source

pub fn supported_stencil_resolve_modes( self, supported_stencil_resolve_modes: ResolveModeFlags, ) -> Self

Source

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

Source

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

Source

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

Source

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

Source

pub fn max_timeline_semaphore_value_difference( self, max_timeline_semaphore_value_difference: u64, ) -> Self

Source

pub fn framebuffer_integer_color_sample_counts( self, framebuffer_integer_color_sample_counts: SampleCountFlags, ) -> Self

Source

pub fn build(self) -> PhysicalDeviceVulkan12Properties

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§

Source§

impl<'a> Deref for PhysicalDeviceVulkan12PropertiesBuilder<'a>

Source§

type Target = PhysicalDeviceVulkan12Properties

The resulting type after dereferencing.
Source§

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

Dereferences the value.
Source§

impl<'a> DerefMut for PhysicalDeviceVulkan12PropertiesBuilder<'a>

Source§

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

Mutably dereferences the value.
Source§

impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceVulkan12PropertiesBuilder<'_>

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.