[−][src]Struct lava::VkPhysicalDeviceFeatures
Wrapper for VkPhysicalDeviceFeatures.
Use the macro VkPhysicalDeviceFeatures!
as an alternative method to create a structure. For example, these two snippets return the same value:
VkPhysicalDeviceFeatures!(robust_buffer_access, full_draw_index_uint_32)
VkPhysicalDeviceFeatures { robust_buffer_access: true, full_draw_index_uint_32: true, ..VkPhysicalDeviceFeatures::none() }
Fields
robust_buffer_access: bool
full_draw_index_uint_32: bool
image_cube_array: bool
independent_blend: bool
geometry_shader: bool
tessellation_shader: bool
sample_rate_shading: bool
dual_src_blend: bool
logic_op: bool
multi_draw_indirect: bool
draw_indirect_first_instance: bool
depth_clamp: bool
depth_bias_clamp: bool
fill_mode_non_solid: bool
depth_bounds: bool
wide_lines: bool
large_points: bool
alpha_to_one: bool
multi_viewport: bool
sampler_anisotropy: bool
texture_compression_etc_2: bool
texture_compression_astc_ldr: bool
texture_compression_bc: bool
occlusion_query_precise: bool
pipeline_statistics_query: bool
vertex_pipeline_stores_and_atomics: bool
fragment_stores_and_atomics: bool
shader_tessellation_and_geometry_point_size: bool
shader_image_gather_extended: bool
shader_storage_image_extended_formats: bool
shader_storage_image_multisample: bool
shader_storage_image_read_without_format: bool
shader_storage_image_write_without_format: bool
shader_uniform_buffer_array_dynamic_indexing: bool
shader_sampled_image_array_dynamic_indexing: bool
shader_storage_buffer_array_dynamic_indexing: bool
shader_storage_image_array_dynamic_indexing: bool
shader_clip_distance: bool
shader_cull_distance: bool
shader_float_64: bool
shader_int_64: bool
shader_int_16: bool
shader_resource_residency: bool
shader_resource_min_lod: bool
sparse_binding: bool
sparse_residency_buffer: bool
sparse_residency_image_2d: bool
sparse_residency_image_3d: bool
sparse_residency_2_samples: bool
sparse_residency_4_samples: bool
sparse_residency_8_samples: bool
sparse_residency_16_samples: bool
sparse_residency_aliased: bool
variable_multisample_rate: bool
inherited_queries: bool
Methods
impl VkPhysicalDeviceFeatures
[src]
pub fn none() -> Self
[src]
Return a structure with all flags to false
.
pub fn all() -> Self
[src]
Return a structure with all flags to true
.
Trait Implementations
impl Default for VkPhysicalDeviceFeatures
[src]
fn default() -> VkPhysicalDeviceFeatures
[src]
impl Clone for VkPhysicalDeviceFeatures
[src]
fn clone(&self) -> VkPhysicalDeviceFeatures
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for VkPhysicalDeviceFeatures
[src]
Auto Trait Implementations
impl Send for VkPhysicalDeviceFeatures
impl Sync for VkPhysicalDeviceFeatures
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,