pub struct Limits<'a> { /* private fields */ }
Expand description
Limits of a physical device.
Implementations
sourceimpl<'a> Limits<'a>
impl<'a> Limits<'a>
pub fn max_image_dimension_1d(&self) -> u32
pub fn max_image_dimension_2d(&self) -> u32
pub fn max_image_dimension_3d(&self) -> u32
pub fn max_image_dimension_cube(&self) -> u32
pub fn max_image_array_layers(&self) -> u32
pub fn max_texel_buffer_elements(&self) -> u32
pub fn max_uniform_buffer_range(&self) -> u32
pub fn max_storage_buffer_range(&self) -> u32
pub fn max_push_constants_size(&self) -> u32
pub fn max_memory_allocation_count(&self) -> u32
pub fn max_sampler_allocation_count(&self) -> u32
pub fn buffer_image_granularity(&self) -> u64
pub fn sparse_address_space_size(&self) -> u64
pub fn max_bound_descriptor_sets(&self) -> u32
pub fn max_per_stage_descriptor_samplers(&self) -> u32
pub fn max_per_stage_descriptor_uniform_buffers(&self) -> u32
pub fn max_per_stage_descriptor_storage_buffers(&self) -> u32
pub fn max_per_stage_descriptor_sampled_images(&self) -> u32
pub fn max_per_stage_descriptor_storage_images(&self) -> u32
pub fn max_per_stage_descriptor_input_attachments(&self) -> u32
pub fn max_per_stage_resources(&self) -> u32
pub fn max_descriptor_set_samplers(&self) -> u32
pub fn max_descriptor_set_uniform_buffers(&self) -> u32
pub fn max_descriptor_set_uniform_buffers_dynamic(&self) -> u32
pub fn max_descriptor_set_storage_buffers(&self) -> u32
pub fn max_descriptor_set_storage_buffers_dynamic(&self) -> u32
pub fn max_descriptor_set_sampled_images(&self) -> u32
pub fn max_descriptor_set_storage_images(&self) -> u32
pub fn max_descriptor_set_input_attachments(&self) -> u32
pub fn max_vertex_input_attributes(&self) -> u32
pub fn max_vertex_input_bindings(&self) -> u32
pub fn max_vertex_input_attribute_offset(&self) -> u32
pub fn max_vertex_input_binding_stride(&self) -> u32
pub fn max_vertex_output_components(&self) -> u32
pub fn max_tessellation_generation_level(&self) -> u32
pub fn max_tessellation_patch_size(&self) -> u32
pub fn max_tessellation_control_per_vertex_input_components(&self) -> u32
pub fn max_tessellation_control_per_vertex_output_components(&self) -> u32
pub fn max_tessellation_control_per_patch_output_components(&self) -> u32
pub fn max_tessellation_control_total_output_components(&self) -> u32
pub fn max_tessellation_evaluation_input_components(&self) -> u32
pub fn max_tessellation_evaluation_output_components(&self) -> u32
pub fn max_geometry_shader_invocations(&self) -> u32
pub fn max_geometry_input_components(&self) -> u32
pub fn max_geometry_output_components(&self) -> u32
pub fn max_geometry_output_vertices(&self) -> u32
pub fn max_geometry_total_output_components(&self) -> u32
pub fn max_fragment_input_components(&self) -> u32
pub fn max_fragment_output_attachments(&self) -> u32
pub fn max_fragment_dual_src_attachments(&self) -> u32
pub fn max_fragment_combined_output_resources(&self) -> u32
pub fn max_compute_work_group_count(&self) -> [u32; 3]
pub fn max_compute_work_group_invocations(&self) -> u32
pub fn max_compute_work_group_size(&self) -> [u32; 3]
pub fn sub_pixel_precision_bits(&self) -> u32
pub fn sub_texel_precision_bits(&self) -> u32
pub fn mipmap_precision_bits(&self) -> u32
pub fn max_draw_indexed_index_value(&self) -> u32
pub fn max_draw_indirect_count(&self) -> u32
pub fn max_sampler_lod_bias(&self) -> f32
pub fn max_sampler_anisotropy(&self) -> f32
pub fn max_viewports(&self) -> u32
pub fn max_viewport_dimensions(&self) -> [u32; 2]
pub fn viewport_bounds_range(&self) -> [f32; 2]
pub fn viewport_sub_pixel_bits(&self) -> u32
pub fn min_memory_map_alignment(&self) -> usize
pub fn min_texel_buffer_offset_alignment(&self) -> u64
pub fn min_uniform_buffer_offset_alignment(&self) -> u64
pub fn min_storage_buffer_offset_alignment(&self) -> u64
pub fn min_texel_offset(&self) -> i32
pub fn max_texel_offset(&self) -> u32
pub fn min_texel_gather_offset(&self) -> i32
pub fn max_texel_gather_offset(&self) -> u32
pub fn min_interpolation_offset(&self) -> f32
pub fn max_interpolation_offset(&self) -> f32
pub fn sub_pixel_interpolation_offset_bits(&self) -> u32
pub fn max_framebuffer_width(&self) -> u32
pub fn max_framebuffer_height(&self) -> u32
pub fn max_framebuffer_layers(&self) -> u32
pub fn framebuffer_color_sample_counts(&self) -> u32
pub fn framebuffer_depth_sample_counts(&self) -> u32
pub fn framebuffer_stencil_sample_counts(&self) -> u32
pub fn framebuffer_no_attachments_sample_counts(&self) -> u32
pub fn max_color_attachments(&self) -> u32
pub fn sampled_image_color_sample_counts(&self) -> u32
pub fn sampled_image_integer_sample_counts(&self) -> u32
pub fn sampled_image_depth_sample_counts(&self) -> u32
pub fn sampled_image_stencil_sample_counts(&self) -> u32
pub fn storage_image_sample_counts(&self) -> u32
pub fn max_sample_mask_words(&self) -> u32
pub fn timestamp_compute_and_graphics(&self) -> u32
pub fn timestamp_period(&self) -> f32
pub fn max_clip_distances(&self) -> u32
pub fn max_cull_distances(&self) -> u32
pub fn max_combined_clip_and_cull_distances(&self) -> u32
pub fn discrete_queue_priorities(&self) -> u32
pub fn point_size_range(&self) -> [f32; 2]
pub fn line_width_range(&self) -> [f32; 2]
pub fn point_size_granularity(&self) -> f32
pub fn line_width_granularity(&self) -> f32
pub fn strict_lines(&self) -> u32
pub fn standard_sample_locations(&self) -> u32
pub fn optimal_buffer_copy_offset_alignment(&self) -> u64
pub fn optimal_buffer_copy_row_pitch_alignment(&self) -> u64
pub fn non_coherent_atom_size(&self) -> u64
Auto Trait Implementations
impl<'a> RefUnwindSafe for Limits<'a>
impl<'a> Send for Limits<'a>
impl<'a> Sync for Limits<'a>
impl<'a> Unpin for Limits<'a>
impl<'a> UnwindSafe for Limits<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Content for T
impl<T> Content for T
sourcefn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
fn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
Builds a pointer to this type from a raw pointer.
sourcefn is_size_suitable(size: usize) -> bool
fn is_size_suitable(size: usize) -> bool
Returns true if the size is suitable to store a type like this.
sourcefn indiv_size() -> usize
fn indiv_size() -> usize
Returns the size of an individual element.