#[repr(transparent)]
pub struct PhysicalDeviceFeaturesBuilder { /* private fields */ }
Expand description

A builder for a PhysicalDeviceFeatures.

Implementations§

source§

impl PhysicalDeviceFeaturesBuilder

source

pub fn robust_buffer_access(self, robust_buffer_access: bool) -> Self

source

pub fn full_draw_index_uint32(self, full_draw_index_uint32: bool) -> Self

source

pub fn image_cube_array(self, image_cube_array: bool) -> Self

source

pub fn independent_blend(self, independent_blend: bool) -> Self

source

pub fn geometry_shader(self, geometry_shader: bool) -> Self

source

pub fn tessellation_shader(self, tessellation_shader: bool) -> Self

source

pub fn sample_rate_shading(self, sample_rate_shading: bool) -> Self

source

pub fn dual_src_blend(self, dual_src_blend: bool) -> Self

source

pub fn logic_op(self, logic_op: bool) -> Self

source

pub fn multi_draw_indirect(self, multi_draw_indirect: bool) -> Self

source

pub fn draw_indirect_first_instance( self, draw_indirect_first_instance: bool ) -> Self

source

pub fn depth_clamp(self, depth_clamp: bool) -> Self

source

pub fn depth_bias_clamp(self, depth_bias_clamp: bool) -> Self

source

pub fn fill_mode_non_solid(self, fill_mode_non_solid: bool) -> Self

source

pub fn depth_bounds(self, depth_bounds: bool) -> Self

source

pub fn wide_lines(self, wide_lines: bool) -> Self

source

pub fn large_points(self, large_points: bool) -> Self

source

pub fn alpha_to_one(self, alpha_to_one: bool) -> Self

source

pub fn multi_viewport(self, multi_viewport: bool) -> Self

source

pub fn sampler_anisotropy(self, sampler_anisotropy: bool) -> Self

source

pub fn texture_compression_etc2(self, texture_compression_etc2: bool) -> Self

source

pub fn texture_compression_astc_ldr( self, texture_compression_astc_ldr: bool ) -> Self

source

pub fn texture_compression_bc(self, texture_compression_bc: bool) -> Self

source

pub fn occlusion_query_precise(self, occlusion_query_precise: bool) -> Self

source

pub fn pipeline_statistics_query(self, pipeline_statistics_query: bool) -> Self

source

pub fn vertex_pipeline_stores_and_atomics( self, vertex_pipeline_stores_and_atomics: bool ) -> Self

source

pub fn fragment_stores_and_atomics( self, fragment_stores_and_atomics: bool ) -> Self

source

pub fn shader_tessellation_and_geometry_point_size( self, shader_tessellation_and_geometry_point_size: bool ) -> Self

source

pub fn shader_image_gather_extended( self, shader_image_gather_extended: bool ) -> Self

source

pub fn shader_storage_image_extended_formats( self, shader_storage_image_extended_formats: bool ) -> Self

source

pub fn shader_storage_image_multisample( self, shader_storage_image_multisample: bool ) -> Self

source

pub fn shader_storage_image_read_without_format( self, shader_storage_image_read_without_format: bool ) -> Self

source

pub fn shader_storage_image_write_without_format( self, shader_storage_image_write_without_format: bool ) -> Self

source

pub fn shader_uniform_buffer_array_dynamic_indexing( self, shader_uniform_buffer_array_dynamic_indexing: bool ) -> Self

source

pub fn shader_sampled_image_array_dynamic_indexing( self, shader_sampled_image_array_dynamic_indexing: bool ) -> Self

source

pub fn shader_storage_buffer_array_dynamic_indexing( self, shader_storage_buffer_array_dynamic_indexing: bool ) -> Self

source

pub fn shader_storage_image_array_dynamic_indexing( self, shader_storage_image_array_dynamic_indexing: bool ) -> Self

source

pub fn shader_clip_distance(self, shader_clip_distance: bool) -> Self

source

pub fn shader_cull_distance(self, shader_cull_distance: bool) -> Self

source

pub fn shader_float64(self, shader_float64: bool) -> Self

source

pub fn shader_int64(self, shader_int64: bool) -> Self

source

pub fn shader_int16(self, shader_int16: bool) -> Self

source

pub fn shader_resource_residency(self, shader_resource_residency: bool) -> Self

source

pub fn shader_resource_min_lod(self, shader_resource_min_lod: bool) -> Self

source

pub fn sparse_binding(self, sparse_binding: bool) -> Self

source

pub fn sparse_residency_buffer(self, sparse_residency_buffer: bool) -> Self

source

pub fn sparse_residency_image_2d(self, sparse_residency_image_2d: bool) -> Self

source

pub fn sparse_residency_image_3d(self, sparse_residency_image_3d: bool) -> Self

source

pub fn sparse_residency2_samples(self, sparse_residency2_samples: bool) -> Self

source

pub fn sparse_residency4_samples(self, sparse_residency4_samples: bool) -> Self

source

pub fn sparse_residency8_samples(self, sparse_residency8_samples: bool) -> Self

source

pub fn sparse_residency16_samples( self, sparse_residency16_samples: bool ) -> Self

source

pub fn sparse_residency_aliased(self, sparse_residency_aliased: bool) -> Self

source

pub fn variable_multisample_rate(self, variable_multisample_rate: bool) -> Self

source

pub fn inherited_queries(self, inherited_queries: bool) -> Self

source

pub fn build(self) -> PhysicalDeviceFeatures

Trait Implementations§

source§

impl Cast for PhysicalDeviceFeaturesBuilder

§

type Target = PhysicalDeviceFeatures

The other type this type can be used interchangeably with in FFI.
source§

fn into(self) -> Self::Target

Converts this value into a value of the other type.
source§

fn as_ref(&self) -> &Self::Target

Converts this reference into a reference to the other type.
source§

fn as_mut(&mut self) -> &mut Self::Target

Converts this mutable reference into a mutable reference to the other type.
source§

impl Clone for PhysicalDeviceFeaturesBuilder

source§

fn clone(&self) -> PhysicalDeviceFeaturesBuilder

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 PhysicalDeviceFeaturesBuilder

source§

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

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

impl Default for PhysicalDeviceFeaturesBuilder

source§

fn default() -> PhysicalDeviceFeaturesBuilder

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

impl Deref for PhysicalDeviceFeaturesBuilder

§

type Target = PhysicalDeviceFeatures

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for PhysicalDeviceFeaturesBuilder

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl Copy for PhysicalDeviceFeaturesBuilder

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 Twhere 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 Twhere 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 Twhere 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 Twhere 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.