Struct ash::vk::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§
source§impl PhysicalDeviceFeatures
impl PhysicalDeviceFeatures
pub fn robust_buffer_access(self, robust_buffer_access: bool) -> Self
pub fn full_draw_index_uint32(self, full_draw_index_uint32: bool) -> Self
pub fn image_cube_array(self, image_cube_array: bool) -> Self
pub fn independent_blend(self, independent_blend: bool) -> Self
pub fn geometry_shader(self, geometry_shader: bool) -> Self
pub fn tessellation_shader(self, tessellation_shader: bool) -> Self
pub fn sample_rate_shading(self, sample_rate_shading: bool) -> Self
pub fn dual_src_blend(self, dual_src_blend: bool) -> Self
pub fn logic_op(self, logic_op: bool) -> Self
pub fn multi_draw_indirect(self, multi_draw_indirect: bool) -> Self
pub fn draw_indirect_first_instance( self, draw_indirect_first_instance: bool, ) -> Self
pub fn depth_clamp(self, depth_clamp: bool) -> Self
pub fn depth_bias_clamp(self, depth_bias_clamp: bool) -> Self
pub fn fill_mode_non_solid(self, fill_mode_non_solid: bool) -> Self
pub fn depth_bounds(self, depth_bounds: bool) -> Self
pub fn wide_lines(self, wide_lines: bool) -> Self
pub fn large_points(self, large_points: bool) -> Self
pub fn alpha_to_one(self, alpha_to_one: bool) -> Self
pub fn multi_viewport(self, multi_viewport: bool) -> Self
pub fn sampler_anisotropy(self, sampler_anisotropy: bool) -> Self
pub fn texture_compression_etc2(self, texture_compression_etc2: bool) -> Self
pub fn texture_compression_astc_ldr( self, texture_compression_astc_ldr: bool, ) -> Self
pub fn texture_compression_bc(self, texture_compression_bc: bool) -> Self
pub fn occlusion_query_precise(self, occlusion_query_precise: bool) -> Self
pub fn pipeline_statistics_query(self, pipeline_statistics_query: bool) -> Self
pub fn vertex_pipeline_stores_and_atomics( self, vertex_pipeline_stores_and_atomics: bool, ) -> Self
pub fn fragment_stores_and_atomics( self, fragment_stores_and_atomics: bool, ) -> Self
pub fn shader_tessellation_and_geometry_point_size( self, shader_tessellation_and_geometry_point_size: bool, ) -> Self
pub fn shader_image_gather_extended( self, shader_image_gather_extended: bool, ) -> Self
pub fn shader_storage_image_extended_formats( self, shader_storage_image_extended_formats: bool, ) -> Self
pub fn shader_storage_image_multisample( self, shader_storage_image_multisample: bool, ) -> Self
pub fn shader_storage_image_read_without_format( self, shader_storage_image_read_without_format: bool, ) -> Self
pub fn shader_storage_image_write_without_format( self, shader_storage_image_write_without_format: bool, ) -> Self
pub fn shader_uniform_buffer_array_dynamic_indexing( self, shader_uniform_buffer_array_dynamic_indexing: bool, ) -> Self
pub fn shader_sampled_image_array_dynamic_indexing( self, shader_sampled_image_array_dynamic_indexing: bool, ) -> Self
pub fn shader_storage_buffer_array_dynamic_indexing( self, shader_storage_buffer_array_dynamic_indexing: bool, ) -> Self
pub fn shader_storage_image_array_dynamic_indexing( self, shader_storage_image_array_dynamic_indexing: bool, ) -> Self
pub fn shader_clip_distance(self, shader_clip_distance: bool) -> Self
pub fn shader_cull_distance(self, shader_cull_distance: bool) -> Self
pub fn shader_float64(self, shader_float64: bool) -> Self
pub fn shader_int64(self, shader_int64: bool) -> Self
pub fn shader_int16(self, shader_int16: bool) -> Self
pub fn shader_resource_residency(self, shader_resource_residency: bool) -> Self
pub fn shader_resource_min_lod(self, shader_resource_min_lod: bool) -> Self
pub fn sparse_binding(self, sparse_binding: bool) -> Self
pub fn sparse_residency_buffer(self, sparse_residency_buffer: bool) -> Self
pub fn sparse_residency_image2_d(self, sparse_residency_image2_d: bool) -> Self
pub fn sparse_residency_image3_d(self, sparse_residency_image3_d: bool) -> Self
pub fn sparse_residency2_samples(self, sparse_residency2_samples: bool) -> Self
pub fn sparse_residency4_samples(self, sparse_residency4_samples: bool) -> Self
pub fn sparse_residency8_samples(self, sparse_residency8_samples: bool) -> Self
pub fn sparse_residency16_samples( self, sparse_residency16_samples: bool, ) -> Self
pub fn sparse_residency_aliased(self, sparse_residency_aliased: bool) -> Self
pub fn variable_multisample_rate(self, variable_multisample_rate: bool) -> Self
pub fn inherited_queries(self, inherited_queries: bool) -> Self
Trait Implementations§
source§impl Clone for PhysicalDeviceFeatures
impl Clone for PhysicalDeviceFeatures
source§fn clone(&self) -> PhysicalDeviceFeatures
fn clone(&self) -> PhysicalDeviceFeatures
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PhysicalDeviceFeatures
impl Debug for PhysicalDeviceFeatures
source§impl Default for PhysicalDeviceFeatures
impl Default for PhysicalDeviceFeatures
source§fn default() -> PhysicalDeviceFeatures
fn default() -> PhysicalDeviceFeatures
Returns the “default value” for a type. Read more
impl Copy for PhysicalDeviceFeatures
Auto Trait Implementations§
impl Freeze for PhysicalDeviceFeatures
impl RefUnwindSafe for PhysicalDeviceFeatures
impl Send for PhysicalDeviceFeatures
impl Sync for PhysicalDeviceFeatures
impl Unpin for PhysicalDeviceFeatures
impl UnwindSafe for PhysicalDeviceFeatures
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more