Struct ash::vk::PhysicalDeviceVulkan12Properties

source ·
#[repr(C)]
pub struct PhysicalDeviceVulkan12Properties<'a> {
Show 55 fields pub s_type: StructureType, pub p_next: *mut c_void, pub driver_id: DriverId, pub driver_name: [c_char; 256], pub driver_info: [c_char; 256], pub conformance_version: ConformanceVersion, pub denorm_behavior_independence: ShaderFloatControlsIndependence, pub rounding_mode_independence: ShaderFloatControlsIndependence, pub shader_signed_zero_inf_nan_preserve_float16: Bool32, pub shader_signed_zero_inf_nan_preserve_float32: Bool32, pub shader_signed_zero_inf_nan_preserve_float64: Bool32, pub shader_denorm_preserve_float16: Bool32, pub shader_denorm_preserve_float32: Bool32, pub shader_denorm_preserve_float64: Bool32, pub shader_denorm_flush_to_zero_float16: Bool32, pub shader_denorm_flush_to_zero_float32: Bool32, pub shader_denorm_flush_to_zero_float64: Bool32, pub shader_rounding_mode_rte_float16: Bool32, pub shader_rounding_mode_rte_float32: Bool32, pub shader_rounding_mode_rte_float64: Bool32, pub shader_rounding_mode_rtz_float16: Bool32, pub shader_rounding_mode_rtz_float32: Bool32, pub shader_rounding_mode_rtz_float64: Bool32, pub max_update_after_bind_descriptors_in_all_pools: u32, pub shader_uniform_buffer_array_non_uniform_indexing_native: Bool32, pub shader_sampled_image_array_non_uniform_indexing_native: Bool32, pub shader_storage_buffer_array_non_uniform_indexing_native: Bool32, pub shader_storage_image_array_non_uniform_indexing_native: Bool32, pub shader_input_attachment_array_non_uniform_indexing_native: Bool32, pub robust_buffer_access_update_after_bind: Bool32, pub quad_divergent_implicit_lod: Bool32, pub max_per_stage_descriptor_update_after_bind_samplers: u32, pub max_per_stage_descriptor_update_after_bind_uniform_buffers: u32, pub max_per_stage_descriptor_update_after_bind_storage_buffers: u32, pub max_per_stage_descriptor_update_after_bind_sampled_images: u32, pub max_per_stage_descriptor_update_after_bind_storage_images: u32, pub max_per_stage_descriptor_update_after_bind_input_attachments: u32, pub max_per_stage_update_after_bind_resources: u32, pub max_descriptor_set_update_after_bind_samplers: u32, pub max_descriptor_set_update_after_bind_uniform_buffers: u32, pub max_descriptor_set_update_after_bind_uniform_buffers_dynamic: u32, pub max_descriptor_set_update_after_bind_storage_buffers: u32, pub max_descriptor_set_update_after_bind_storage_buffers_dynamic: u32, pub max_descriptor_set_update_after_bind_sampled_images: u32, pub max_descriptor_set_update_after_bind_storage_images: u32, pub max_descriptor_set_update_after_bind_input_attachments: u32, pub supported_depth_resolve_modes: ResolveModeFlags, pub supported_stencil_resolve_modes: ResolveModeFlags, pub independent_resolve_none: Bool32, pub independent_resolve: Bool32, pub filter_minmax_single_component_formats: Bool32, pub filter_minmax_image_component_mapping: Bool32, pub max_timeline_semaphore_value_difference: u64, pub framebuffer_integer_color_sample_counts: SampleCountFlags, pub _marker: PhantomData<&'a ()>,
}
Expand description

Fields§

§s_type: StructureType§p_next: *mut c_void§driver_id: DriverId§driver_name: [c_char; 256]§driver_info: [c_char; 256]§conformance_version: ConformanceVersion§denorm_behavior_independence: ShaderFloatControlsIndependence§rounding_mode_independence: ShaderFloatControlsIndependence§shader_signed_zero_inf_nan_preserve_float16: Bool32§shader_signed_zero_inf_nan_preserve_float32: Bool32§shader_signed_zero_inf_nan_preserve_float64: Bool32§shader_denorm_preserve_float16: Bool32§shader_denorm_preserve_float32: Bool32§shader_denorm_preserve_float64: Bool32§shader_denorm_flush_to_zero_float16: Bool32§shader_denorm_flush_to_zero_float32: Bool32§shader_denorm_flush_to_zero_float64: Bool32§shader_rounding_mode_rte_float16: Bool32§shader_rounding_mode_rte_float32: Bool32§shader_rounding_mode_rte_float64: Bool32§shader_rounding_mode_rtz_float16: Bool32§shader_rounding_mode_rtz_float32: Bool32§shader_rounding_mode_rtz_float64: Bool32§max_update_after_bind_descriptors_in_all_pools: u32§shader_uniform_buffer_array_non_uniform_indexing_native: Bool32§shader_sampled_image_array_non_uniform_indexing_native: Bool32§shader_storage_buffer_array_non_uniform_indexing_native: Bool32§shader_storage_image_array_non_uniform_indexing_native: Bool32§shader_input_attachment_array_non_uniform_indexing_native: Bool32§robust_buffer_access_update_after_bind: Bool32§quad_divergent_implicit_lod: Bool32§max_per_stage_descriptor_update_after_bind_samplers: u32§max_per_stage_descriptor_update_after_bind_uniform_buffers: u32§max_per_stage_descriptor_update_after_bind_storage_buffers: u32§max_per_stage_descriptor_update_after_bind_sampled_images: u32§max_per_stage_descriptor_update_after_bind_storage_images: u32§max_per_stage_descriptor_update_after_bind_input_attachments: u32§max_per_stage_update_after_bind_resources: u32§max_descriptor_set_update_after_bind_samplers: u32§max_descriptor_set_update_after_bind_uniform_buffers: u32§max_descriptor_set_update_after_bind_uniform_buffers_dynamic: u32§max_descriptor_set_update_after_bind_storage_buffers: u32§max_descriptor_set_update_after_bind_storage_buffers_dynamic: u32§max_descriptor_set_update_after_bind_sampled_images: u32§max_descriptor_set_update_after_bind_storage_images: u32§max_descriptor_set_update_after_bind_input_attachments: u32§supported_depth_resolve_modes: ResolveModeFlags§supported_stencil_resolve_modes: ResolveModeFlags§independent_resolve_none: Bool32§independent_resolve: Bool32§filter_minmax_single_component_formats: Bool32§filter_minmax_image_component_mapping: Bool32§max_timeline_semaphore_value_difference: u64§framebuffer_integer_color_sample_counts: SampleCountFlags§_marker: PhantomData<&'a ()>

Implementations§

source§

impl<'a> PhysicalDeviceVulkan12Properties<'a>

source

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

source

pub fn driver_name( self, driver_name: &CStr, ) -> Result<Self, CStrTooLargeForStaticArray>

source

pub fn driver_name_as_c_str(&self) -> Result<&CStr, FromBytesUntilNulError>

source

pub fn driver_info( self, driver_info: &CStr, ) -> Result<Self, CStrTooLargeForStaticArray>

source

pub fn driver_info_as_c_str(&self) -> Result<&CStr, FromBytesUntilNulError>

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

Trait Implementations§

source§

impl<'a> Clone for PhysicalDeviceVulkan12Properties<'a>

source§

fn clone(&self) -> PhysicalDeviceVulkan12Properties<'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 Debug for PhysicalDeviceVulkan12Properties<'_>

source§

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

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

impl Default for PhysicalDeviceVulkan12Properties<'_>

source§

fn default() -> Self

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

impl<'a> TaggedStructure for PhysicalDeviceVulkan12Properties<'a>

source§

const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_VULKAN_1_2_PROPERTIES

source§

impl<'a> Copy for PhysicalDeviceVulkan12Properties<'a>

source§

impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceVulkan12Properties<'_>

source§

impl Send for PhysicalDeviceVulkan12Properties<'_>

source§

impl Sync for PhysicalDeviceVulkan12Properties<'_>

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.