ash::vk

Struct PhysicalDeviceFeatures

Source
#[repr(C)]
pub struct PhysicalDeviceFeatures {
Show 55 fields pub robust_buffer_access: Bool32, pub full_draw_index_uint32: Bool32, pub image_cube_array: Bool32, pub independent_blend: Bool32, pub geometry_shader: Bool32, pub tessellation_shader: Bool32, pub sample_rate_shading: Bool32, pub dual_src_blend: Bool32, pub logic_op: Bool32, pub multi_draw_indirect: Bool32, pub draw_indirect_first_instance: Bool32, pub depth_clamp: Bool32, pub depth_bias_clamp: Bool32, pub fill_mode_non_solid: Bool32, pub depth_bounds: Bool32, pub wide_lines: Bool32, pub large_points: Bool32, pub alpha_to_one: Bool32, pub multi_viewport: Bool32, pub sampler_anisotropy: Bool32, pub texture_compression_etc2: Bool32, pub texture_compression_astc_ldr: Bool32, pub texture_compression_bc: Bool32, pub occlusion_query_precise: Bool32, pub pipeline_statistics_query: Bool32, pub vertex_pipeline_stores_and_atomics: Bool32, pub fragment_stores_and_atomics: Bool32, pub shader_tessellation_and_geometry_point_size: Bool32, pub shader_image_gather_extended: Bool32, pub shader_storage_image_extended_formats: Bool32, pub shader_storage_image_multisample: Bool32, pub shader_storage_image_read_without_format: Bool32, pub shader_storage_image_write_without_format: Bool32, pub shader_uniform_buffer_array_dynamic_indexing: Bool32, pub shader_sampled_image_array_dynamic_indexing: Bool32, pub shader_storage_buffer_array_dynamic_indexing: Bool32, pub shader_storage_image_array_dynamic_indexing: Bool32, pub shader_clip_distance: Bool32, pub shader_cull_distance: Bool32, pub shader_float64: Bool32, pub shader_int64: Bool32, pub shader_int16: Bool32, pub shader_resource_residency: Bool32, pub shader_resource_min_lod: Bool32, pub sparse_binding: Bool32, pub sparse_residency_buffer: Bool32, pub sparse_residency_image2_d: Bool32, pub sparse_residency_image3_d: Bool32, pub sparse_residency2_samples: Bool32, pub sparse_residency4_samples: Bool32, pub sparse_residency8_samples: Bool32, pub sparse_residency16_samples: Bool32, pub sparse_residency_aliased: Bool32, pub variable_multisample_rate: Bool32, pub inherited_queries: Bool32,
}
Expand description

Fields§

§robust_buffer_access: Bool32§full_draw_index_uint32: Bool32§image_cube_array: Bool32§independent_blend: Bool32§geometry_shader: Bool32§tessellation_shader: Bool32§sample_rate_shading: Bool32§dual_src_blend: Bool32§logic_op: Bool32§multi_draw_indirect: Bool32§draw_indirect_first_instance: Bool32§depth_clamp: Bool32§depth_bias_clamp: Bool32§fill_mode_non_solid: Bool32§depth_bounds: Bool32§wide_lines: Bool32§large_points: Bool32§alpha_to_one: Bool32§multi_viewport: Bool32§sampler_anisotropy: Bool32§texture_compression_etc2: Bool32§texture_compression_astc_ldr: Bool32§texture_compression_bc: Bool32§occlusion_query_precise: Bool32§pipeline_statistics_query: Bool32§vertex_pipeline_stores_and_atomics: Bool32§fragment_stores_and_atomics: Bool32§shader_tessellation_and_geometry_point_size: Bool32§shader_image_gather_extended: Bool32§shader_storage_image_extended_formats: Bool32§shader_storage_image_multisample: Bool32§shader_storage_image_read_without_format: Bool32§shader_storage_image_write_without_format: Bool32§shader_uniform_buffer_array_dynamic_indexing: Bool32§shader_sampled_image_array_dynamic_indexing: Bool32§shader_storage_buffer_array_dynamic_indexing: Bool32§shader_storage_image_array_dynamic_indexing: Bool32§shader_clip_distance: Bool32§shader_cull_distance: Bool32§shader_float64: Bool32§shader_int64: Bool32§shader_int16: Bool32§shader_resource_residency: Bool32§shader_resource_min_lod: Bool32§sparse_binding: Bool32§sparse_residency_buffer: Bool32§sparse_residency_image2_d: Bool32§sparse_residency_image3_d: Bool32§sparse_residency2_samples: Bool32§sparse_residency4_samples: Bool32§sparse_residency8_samples: Bool32§sparse_residency16_samples: Bool32§sparse_residency_aliased: Bool32§variable_multisample_rate: Bool32§inherited_queries: Bool32

Implementations§

Trait Implementations§

Source§

impl Clone for PhysicalDeviceFeatures

Source§

fn clone(&self) -> PhysicalDeviceFeatures

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 Default for PhysicalDeviceFeatures

Source§

fn default() -> PhysicalDeviceFeatures

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

impl Copy for PhysicalDeviceFeatures

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, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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,

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.