Skip to main content

PhysicalDeviceLimitsBuilder

Struct PhysicalDeviceLimitsBuilder 

Source
pub struct PhysicalDeviceLimitsBuilder { /* private fields */ }
Expand description

Builder for PhysicalDeviceLimits.

Implementations§

Source§

impl PhysicalDeviceLimitsBuilder

Source

pub fn max_image_dimension1_d(self, value: u32) -> Self

Source

pub fn max_image_dimension2_d(self, value: u32) -> Self

Source

pub fn max_image_dimension3_d(self, value: u32) -> Self

Source

pub fn max_image_dimension_cube(self, value: u32) -> Self

Source

pub fn max_image_array_layers(self, value: u32) -> Self

Source

pub fn max_texel_buffer_elements(self, value: u32) -> Self

Source

pub fn max_uniform_buffer_range(self, value: u32) -> Self

Source

pub fn max_storage_buffer_range(self, value: u32) -> Self

Source

pub fn max_push_constants_size(self, value: u32) -> Self

Source

pub fn max_memory_allocation_count(self, value: u32) -> Self

Source

pub fn max_sampler_allocation_count(self, value: u32) -> Self

Source

pub fn buffer_image_granularity(self, value: u64) -> Self

Source

pub fn sparse_address_space_size(self, value: u64) -> Self

Source

pub fn max_bound_descriptor_sets(self, value: u32) -> Self

Source

pub fn max_per_stage_descriptor_samplers(self, value: u32) -> Self

Source

pub fn max_per_stage_descriptor_uniform_buffers(self, value: u32) -> Self

Source

pub fn max_per_stage_descriptor_storage_buffers(self, value: u32) -> Self

Source

pub fn max_per_stage_descriptor_sampled_images(self, value: u32) -> Self

Source

pub fn max_per_stage_descriptor_storage_images(self, value: u32) -> Self

Source

pub fn max_per_stage_descriptor_input_attachments(self, value: u32) -> Self

Source

pub fn max_per_stage_resources(self, value: u32) -> Self

Source

pub fn max_descriptor_set_samplers(self, value: u32) -> Self

Source

pub fn max_descriptor_set_uniform_buffers(self, value: u32) -> Self

Source

pub fn max_descriptor_set_uniform_buffers_dynamic(self, value: u32) -> Self

Source

pub fn max_descriptor_set_storage_buffers(self, value: u32) -> Self

Source

pub fn max_descriptor_set_storage_buffers_dynamic(self, value: u32) -> Self

Source

pub fn max_descriptor_set_sampled_images(self, value: u32) -> Self

Source

pub fn max_descriptor_set_storage_images(self, value: u32) -> Self

Source

pub fn max_descriptor_set_input_attachments(self, value: u32) -> Self

Source

pub fn max_vertex_input_attributes(self, value: u32) -> Self

Source

pub fn max_vertex_input_bindings(self, value: u32) -> Self

Source

pub fn max_vertex_input_attribute_offset(self, value: u32) -> Self

Source

pub fn max_vertex_input_binding_stride(self, value: u32) -> Self

Source

pub fn max_vertex_output_components(self, value: u32) -> Self

Source

pub fn max_tessellation_generation_level(self, value: u32) -> Self

Source

pub fn max_tessellation_patch_size(self, value: u32) -> Self

Source

pub fn max_tessellation_control_per_vertex_input_components( self, value: u32, ) -> Self

Source

pub fn max_tessellation_control_per_vertex_output_components( self, value: u32, ) -> Self

Source

pub fn max_tessellation_control_per_patch_output_components( self, value: u32, ) -> Self

Source

pub fn max_tessellation_control_total_output_components( self, value: u32, ) -> Self

Source

pub fn max_tessellation_evaluation_input_components(self, value: u32) -> Self

Source

pub fn max_tessellation_evaluation_output_components(self, value: u32) -> Self

Source

pub fn max_geometry_shader_invocations(self, value: u32) -> Self

Source

pub fn max_geometry_input_components(self, value: u32) -> Self

Source

pub fn max_geometry_output_components(self, value: u32) -> Self

Source

pub fn max_geometry_output_vertices(self, value: u32) -> Self

Source

pub fn max_geometry_total_output_components(self, value: u32) -> Self

Source

pub fn max_fragment_input_components(self, value: u32) -> Self

Source

pub fn max_fragment_output_attachments(self, value: u32) -> Self

Source

pub fn max_fragment_dual_src_attachments(self, value: u32) -> Self

Source

pub fn max_fragment_combined_output_resources(self, value: u32) -> Self

Source

pub fn max_compute_shared_memory_size(self, value: u32) -> Self

Source

pub fn max_compute_work_group_count(self, value: [u32; 3]) -> Self

Source

pub fn max_compute_work_group_invocations(self, value: u32) -> Self

Source

pub fn max_compute_work_group_size(self, value: [u32; 3]) -> Self

Source

pub fn sub_pixel_precision_bits(self, value: u32) -> Self

Source

pub fn sub_texel_precision_bits(self, value: u32) -> Self

Source

pub fn mipmap_precision_bits(self, value: u32) -> Self

Source

pub fn max_draw_indexed_index_value(self, value: u32) -> Self

Source

pub fn max_draw_indirect_count(self, value: u32) -> Self

Source

pub fn max_sampler_lod_bias(self, value: f32) -> Self

Source

pub fn max_sampler_anisotropy(self, value: f32) -> Self

Source

pub fn max_viewports(self, value: u32) -> Self

Source

pub fn max_viewport_dimensions(self, value: [u32; 2]) -> Self

Source

pub fn viewport_bounds_range(self, value: [f32; 2]) -> Self

Source

pub fn viewport_sub_pixel_bits(self, value: u32) -> Self

Source

pub fn min_memory_map_alignment(self, value: usize) -> Self

Source

pub fn min_texel_buffer_offset_alignment(self, value: u64) -> Self

Source

pub fn min_uniform_buffer_offset_alignment(self, value: u64) -> Self

Source

pub fn min_storage_buffer_offset_alignment(self, value: u64) -> Self

Source

pub fn min_texel_offset(self, value: i32) -> Self

Source

pub fn max_texel_offset(self, value: u32) -> Self

Source

pub fn min_texel_gather_offset(self, value: i32) -> Self

Source

pub fn max_texel_gather_offset(self, value: u32) -> Self

Source

pub fn min_interpolation_offset(self, value: f32) -> Self

Source

pub fn max_interpolation_offset(self, value: f32) -> Self

Source

pub fn sub_pixel_interpolation_offset_bits(self, value: u32) -> Self

Source

pub fn max_framebuffer_width(self, value: u32) -> Self

Source

pub fn max_framebuffer_height(self, value: u32) -> Self

Source

pub fn max_framebuffer_layers(self, value: u32) -> Self

Source

pub fn framebuffer_color_sample_counts(self, value: SampleCountFlags) -> Self

Source

pub fn framebuffer_depth_sample_counts(self, value: SampleCountFlags) -> Self

Source

pub fn framebuffer_stencil_sample_counts(self, value: SampleCountFlags) -> Self

Source

pub fn framebuffer_no_attachments_sample_counts( self, value: SampleCountFlags, ) -> Self

Source

pub fn max_color_attachments(self, value: u32) -> Self

Source

pub fn sampled_image_color_sample_counts(self, value: SampleCountFlags) -> Self

Source

pub fn sampled_image_integer_sample_counts( self, value: SampleCountFlags, ) -> Self

Source

pub fn sampled_image_depth_sample_counts(self, value: SampleCountFlags) -> Self

Source

pub fn sampled_image_stencil_sample_counts( self, value: SampleCountFlags, ) -> Self

Source

pub fn storage_image_sample_counts(self, value: SampleCountFlags) -> Self

Source

pub fn max_sample_mask_words(self, value: u32) -> Self

Source

pub fn timestamp_compute_and_graphics(self, value: bool) -> Self

Source

pub fn timestamp_period(self, value: f32) -> Self

Source

pub fn max_clip_distances(self, value: u32) -> Self

Source

pub fn max_cull_distances(self, value: u32) -> Self

Source

pub fn max_combined_clip_and_cull_distances(self, value: u32) -> Self

Source

pub fn discrete_queue_priorities(self, value: u32) -> Self

Source

pub fn point_size_range(self, value: [f32; 2]) -> Self

Source

pub fn line_width_range(self, value: [f32; 2]) -> Self

Source

pub fn point_size_granularity(self, value: f32) -> Self

Source

pub fn line_width_granularity(self, value: f32) -> Self

Source

pub fn strict_lines(self, value: bool) -> Self

Source

pub fn standard_sample_locations(self, value: bool) -> Self

Source

pub fn optimal_buffer_copy_offset_alignment(self, value: u64) -> Self

Source

pub fn optimal_buffer_copy_row_pitch_alignment(self, value: u64) -> Self

Source

pub fn non_coherent_atom_size(self, value: u64) -> Self

Trait Implementations§

Source§

impl Deref for PhysicalDeviceLimitsBuilder

Source§

type Target = PhysicalDeviceLimits

The resulting type after dereferencing.
Source§

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

Dereferences the value.
Source§

impl DerefMut for PhysicalDeviceLimitsBuilder

Source§

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

Mutably dereferences the value.

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> 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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
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.