pub struct Vulkan10Limits {
Show 106 fields pub max_image_dimension1_d: u32, pub max_image_dimension2_d: u32, pub max_image_dimension3_d: u32, pub max_image_dimension_cube: u32, pub max_image_array_layers: u32, pub max_texel_buffer_elements: u32, pub max_uniform_buffer_range: u32, pub max_storage_buffer_range: u32, pub max_push_constants_size: u32, pub max_memory_allocation_count: u32, pub max_sampler_allocation_count: u32, pub buffer_image_granularity: DeviceSize, pub sparse_address_space_size: DeviceSize, pub max_bound_descriptor_sets: u32, pub max_per_stage_descriptor_samplers: u32, pub max_per_stage_descriptor_uniform_buffers: u32, pub max_per_stage_descriptor_storage_buffers: u32, pub max_per_stage_descriptor_sampled_images: u32, pub max_per_stage_descriptor_storage_images: u32, pub max_per_stage_descriptor_input_attachments: u32, pub max_per_stage_resources: u32, pub max_descriptor_set_samplers: u32, pub max_descriptor_set_uniform_buffers: u32, pub max_descriptor_set_uniform_buffers_dynamic: u32, pub max_descriptor_set_storage_buffers: u32, pub max_descriptor_set_storage_buffers_dynamic: u32, pub max_descriptor_set_sampled_images: u32, pub max_descriptor_set_storage_images: u32, pub max_descriptor_set_input_attachments: u32, pub max_vertex_input_attributes: u32, pub max_vertex_input_bindings: u32, pub max_vertex_input_attribute_offset: u32, pub max_vertex_input_binding_stride: u32, pub max_vertex_output_components: u32, pub max_tessellation_generation_level: u32, pub max_tessellation_patch_size: u32, pub max_tessellation_control_per_vertex_input_components: u32, pub max_tessellation_control_per_vertex_output_components: u32, pub max_tessellation_control_per_patch_output_components: u32, pub max_tessellation_control_total_output_components: u32, pub max_tessellation_evaluation_input_components: u32, pub max_tessellation_evaluation_output_components: u32, pub max_geometry_shader_invocations: u32, pub max_geometry_input_components: u32, pub max_geometry_output_components: u32, pub max_geometry_output_vertices: u32, pub max_geometry_total_output_components: u32, pub max_fragment_input_components: u32, pub max_fragment_output_attachments: u32, pub max_fragment_dual_src_attachments: u32, pub max_fragment_combined_output_resources: u32, pub max_compute_shared_memory_size: u32, pub max_compute_work_group_count: [u32; 3], pub max_compute_work_group_invocations: u32, pub max_compute_work_group_size: [u32; 3], pub sub_pixel_precision_bits: u32, pub sub_texel_precision_bits: u32, pub mipmap_precision_bits: u32, pub max_draw_indexed_index_value: u32, pub max_draw_indirect_count: u32, pub max_sampler_lod_bias: f32, pub max_sampler_anisotropy: f32, pub max_viewports: u32, pub max_viewport_dimensions: [u32; 2], pub viewport_bounds_range: [f32; 2], pub viewport_sub_pixel_bits: u32, pub min_memory_map_alignment: usize, pub min_texel_buffer_offset_alignment: DeviceSize, pub min_uniform_buffer_offset_alignment: DeviceSize, pub min_storage_buffer_offset_alignment: DeviceSize, pub min_texel_offset: i32, pub max_texel_offset: u32, pub min_texel_gather_offset: i32, pub max_texel_gather_offset: u32, pub min_interpolation_offset: f32, pub max_interpolation_offset: f32, pub sub_pixel_interpolation_offset_bits: u32, pub max_framebuffer_width: u32, pub max_framebuffer_height: u32, pub max_framebuffer_layers: u32, pub framebuffer_color_sample_counts: SampleCountFlags, pub framebuffer_depth_sample_counts: SampleCountFlags, pub framebuffer_stencil_sample_counts: SampleCountFlags, pub framebuffer_no_attachments_sample_counts: SampleCountFlags, pub max_color_attachments: u32, pub sampled_image_color_sample_counts: SampleCountFlags, pub sampled_image_integer_sample_counts: SampleCountFlags, pub sampled_image_depth_sample_counts: SampleCountFlags, pub sampled_image_stencil_sample_counts: SampleCountFlags, pub storage_image_sample_counts: SampleCountFlags, pub max_sample_mask_words: u32, pub timestamp_compute_and_graphics: bool, pub timestamp_period: f32, pub max_clip_distances: u32, pub max_cull_distances: u32, pub max_combined_clip_and_cull_distances: u32, pub discrete_queue_priorities: u32, pub point_size_range: [f32; 2], pub line_width_range: [f32; 2], pub point_size_granularity: f32, pub line_width_granularity: f32, pub strict_lines: bool, pub standard_sample_locations: bool, pub optimal_buffer_copy_offset_alignment: DeviceSize, pub optimal_buffer_copy_row_pitch_alignment: DeviceSize, pub non_coherent_atom_size: DeviceSize,
}
Expand description

Description of Vulkan limitations.

See VkPhysicalDeviceLimits manual page.

Fields§

§max_image_dimension1_d: u32

The largest dimension (width) that is guaranteed to be supported for all images created with an image type of ImageType::Texture1D.

Some combinations of image parameters (format, usage, etc.) may allow support for larger dimensions, which can be queried using Device::image_format_properties.

§max_image_dimension2_d: u32

The largest dimension (width or height) that is guaranteed to be supported for all images created with an image type of ImageType::Texture2D and without vk::ImageCreateFlags::CUBE_COMPATIBLE set in ImageInfo::flags.

Some combinations of image parameters (format, usage, etc.) may allow support for larger dimensions, which can be queried using Device::image_format_properties.

§max_image_dimension3_d: u32

The largest dimension (width, height, or depth) that is guaranteed to be supported for all images created with an image type of ImageType::Texture3D.

Some combinations of image parameters (format, usage, etc.) may allow support for larger dimensions, which can be queried using Device::image_format_properties.

§max_image_dimension_cube: u32

The largest dimension (width or height) that is guaranteed to be supported for all images created with an image type of ImageType::Texture2D and with vk::ImageCreateFlags::CUBE_COMPATIBLE set in ImageInfo::flags.

Some combinations of image parameters (format, usage, etc.) may allow support for larger dimensions, which can be queried using Device::image_format_properties.

§max_image_array_layers: u32

The maximum number of layers (ImageInfo::array_elements) for an image.

§max_texel_buffer_elements: u32

The maximum number of addressable texels for a buffer view created on a buffer which was created with the vk::BufferUsageFlags::UNIFORM_TEXEL_BUFFER or vk::BufferUsageFlags::STORAGE_TEXEL_BUFFER set in BufferInfo::usage.

§max_uniform_buffer_range: u32§max_storage_buffer_range: u32§max_push_constants_size: u32§max_memory_allocation_count: u32§max_sampler_allocation_count: u32§buffer_image_granularity: DeviceSize§sparse_address_space_size: DeviceSize§max_bound_descriptor_sets: u32§max_per_stage_descriptor_samplers: u32§max_per_stage_descriptor_uniform_buffers: u32§max_per_stage_descriptor_storage_buffers: u32§max_per_stage_descriptor_sampled_images: u32§max_per_stage_descriptor_storage_images: u32§max_per_stage_descriptor_input_attachments: u32§max_per_stage_resources: u32§max_descriptor_set_samplers: u32§max_descriptor_set_uniform_buffers: u32§max_descriptor_set_uniform_buffers_dynamic: u32§max_descriptor_set_storage_buffers: u32§max_descriptor_set_storage_buffers_dynamic: u32§max_descriptor_set_sampled_images: u32§max_descriptor_set_storage_images: u32§max_descriptor_set_input_attachments: u32§max_vertex_input_attributes: u32§max_vertex_input_bindings: u32§max_vertex_input_attribute_offset: u32§max_vertex_input_binding_stride: u32§max_vertex_output_components: u32§max_tessellation_generation_level: u32§max_tessellation_patch_size: u32§max_tessellation_control_per_vertex_input_components: u32§max_tessellation_control_per_vertex_output_components: u32§max_tessellation_control_per_patch_output_components: u32§max_tessellation_control_total_output_components: u32§max_tessellation_evaluation_input_components: u32§max_tessellation_evaluation_output_components: u32§max_geometry_shader_invocations: u32§max_geometry_input_components: u32§max_geometry_output_components: u32§max_geometry_output_vertices: u32§max_geometry_total_output_components: u32§max_fragment_input_components: u32§max_fragment_output_attachments: u32§max_fragment_dual_src_attachments: u32§max_fragment_combined_output_resources: u32§max_compute_shared_memory_size: u32§max_compute_work_group_count: [u32; 3]§max_compute_work_group_invocations: u32§max_compute_work_group_size: [u32; 3]§sub_pixel_precision_bits: u32§sub_texel_precision_bits: u32§mipmap_precision_bits: u32§max_draw_indexed_index_value: u32§max_draw_indirect_count: u32§max_sampler_lod_bias: f32§max_sampler_anisotropy: f32§max_viewports: u32§max_viewport_dimensions: [u32; 2]§viewport_bounds_range: [f32; 2]§viewport_sub_pixel_bits: u32§min_memory_map_alignment: usize§min_texel_buffer_offset_alignment: DeviceSize§min_uniform_buffer_offset_alignment: DeviceSize§min_storage_buffer_offset_alignment: DeviceSize§min_texel_offset: i32§max_texel_offset: u32§min_texel_gather_offset: i32§max_texel_gather_offset: u32§min_interpolation_offset: f32§max_interpolation_offset: f32§sub_pixel_interpolation_offset_bits: u32§max_framebuffer_width: u32§max_framebuffer_height: u32§max_framebuffer_layers: u32§framebuffer_color_sample_counts: SampleCountFlags§framebuffer_depth_sample_counts: SampleCountFlags§framebuffer_stencil_sample_counts: SampleCountFlags§framebuffer_no_attachments_sample_counts: SampleCountFlags§max_color_attachments: u32§sampled_image_color_sample_counts: SampleCountFlags§sampled_image_integer_sample_counts: SampleCountFlags§sampled_image_depth_sample_counts: SampleCountFlags§sampled_image_stencil_sample_counts: SampleCountFlags§storage_image_sample_counts: SampleCountFlags§max_sample_mask_words: u32§timestamp_compute_and_graphics: bool§timestamp_period: f32§max_clip_distances: u32§max_cull_distances: u32§max_combined_clip_and_cull_distances: u32§discrete_queue_priorities: u32§point_size_range: [f32; 2]§line_width_range: [f32; 2]§point_size_granularity: f32§line_width_granularity: f32§strict_lines: bool§standard_sample_locations: bool§optimal_buffer_copy_offset_alignment: DeviceSize§optimal_buffer_copy_row_pitch_alignment: DeviceSize§non_coherent_atom_size: DeviceSize

Trait Implementations§

source§

impl Debug for Vulkan10Limits

source§

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

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

impl From<PhysicalDeviceLimits> for Vulkan10Limits

source§

fn from(limits: PhysicalDeviceLimits) -> Self

Converts to this type from the input type.

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
§

impl<T> Downcast for T
where T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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<T, U> TryFrom<U> for T
where 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 T
where 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.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more