pub struct PhysicalDeviceFeaturesBuilder<'a>(/* private fields */);Expand description
Vulkan Manual Page · Builder of PhysicalDeviceFeatures
Implementations§
Source§impl<'a> PhysicalDeviceFeaturesBuilder<'a>
impl<'a> PhysicalDeviceFeaturesBuilder<'a>
pub fn new() -> PhysicalDeviceFeaturesBuilder<'a>
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
pub fn build(self) -> PhysicalDeviceFeatures
Trait Implementations§
Source§impl<'a> Clone for PhysicalDeviceFeaturesBuilder<'a>
impl<'a> Clone for PhysicalDeviceFeaturesBuilder<'a>
Source§fn clone(&self) -> PhysicalDeviceFeaturesBuilder<'a>
fn clone(&self) -> PhysicalDeviceFeaturesBuilder<'a>
Returns a duplicate 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<'a> Debug for PhysicalDeviceFeaturesBuilder<'a>
impl<'a> Debug for PhysicalDeviceFeaturesBuilder<'a>
Source§impl<'a> Default for PhysicalDeviceFeaturesBuilder<'a>
impl<'a> Default for PhysicalDeviceFeaturesBuilder<'a>
Source§fn default() -> PhysicalDeviceFeaturesBuilder<'a>
fn default() -> PhysicalDeviceFeaturesBuilder<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> Deref for PhysicalDeviceFeaturesBuilder<'a>
impl<'a> Deref for PhysicalDeviceFeaturesBuilder<'a>
Source§impl<'a> DerefMut for PhysicalDeviceFeaturesBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceFeaturesBuilder<'a>
impl<'a> Copy for PhysicalDeviceFeaturesBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceFeaturesBuilder<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceFeaturesBuilder<'a>
impl<'a> Send for PhysicalDeviceFeaturesBuilder<'a>
impl<'a> Sync for PhysicalDeviceFeaturesBuilder<'a>
impl<'a> Unpin for PhysicalDeviceFeaturesBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceFeaturesBuilder<'a>
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