Struct ash::vk::PhysicalDeviceLimits[][src]

#[repr(C)]
pub struct PhysicalDeviceLimits {
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: Bool32, 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: Bool32, pub standard_sample_locations: Bool32, pub optimal_buffer_copy_offset_alignment: DeviceSize, pub optimal_buffer_copy_row_pitch_alignment: DeviceSize, pub non_coherent_atom_size: DeviceSize,
}
Expand description

Fields

max_image_dimension1_d: u32max_image_dimension2_d: u32max_image_dimension3_d: u32max_image_dimension_cube: u32max_image_array_layers: u32max_texel_buffer_elements: u32max_uniform_buffer_range: u32max_storage_buffer_range: u32max_push_constants_size: u32max_memory_allocation_count: u32max_sampler_allocation_count: u32buffer_image_granularity: DeviceSizesparse_address_space_size: DeviceSizemax_bound_descriptor_sets: u32max_per_stage_descriptor_samplers: u32max_per_stage_descriptor_uniform_buffers: u32max_per_stage_descriptor_storage_buffers: u32max_per_stage_descriptor_sampled_images: u32max_per_stage_descriptor_storage_images: u32max_per_stage_descriptor_input_attachments: u32max_per_stage_resources: u32max_descriptor_set_samplers: u32max_descriptor_set_uniform_buffers: u32max_descriptor_set_uniform_buffers_dynamic: u32max_descriptor_set_storage_buffers: u32max_descriptor_set_storage_buffers_dynamic: u32max_descriptor_set_sampled_images: u32max_descriptor_set_storage_images: u32max_descriptor_set_input_attachments: u32max_vertex_input_attributes: u32max_vertex_input_bindings: u32max_vertex_input_attribute_offset: u32max_vertex_input_binding_stride: u32max_vertex_output_components: u32max_tessellation_generation_level: u32max_tessellation_patch_size: u32max_tessellation_control_per_vertex_input_components: u32max_tessellation_control_per_vertex_output_components: u32max_tessellation_control_per_patch_output_components: u32max_tessellation_control_total_output_components: u32max_tessellation_evaluation_input_components: u32max_tessellation_evaluation_output_components: u32max_geometry_shader_invocations: u32max_geometry_input_components: u32max_geometry_output_components: u32max_geometry_output_vertices: u32max_geometry_total_output_components: u32max_fragment_input_components: u32max_fragment_output_attachments: u32max_fragment_dual_src_attachments: u32max_fragment_combined_output_resources: u32max_compute_shared_memory_size: u32max_compute_work_group_count: [u32; 3]max_compute_work_group_invocations: u32max_compute_work_group_size: [u32; 3]sub_pixel_precision_bits: u32sub_texel_precision_bits: u32mipmap_precision_bits: u32max_draw_indexed_index_value: u32max_draw_indirect_count: u32max_sampler_lod_bias: f32max_sampler_anisotropy: f32max_viewports: u32max_viewport_dimensions: [u32; 2]viewport_bounds_range: [f32; 2]viewport_sub_pixel_bits: u32min_memory_map_alignment: usizemin_texel_buffer_offset_alignment: DeviceSizemin_uniform_buffer_offset_alignment: DeviceSizemin_storage_buffer_offset_alignment: DeviceSizemin_texel_offset: i32max_texel_offset: u32min_texel_gather_offset: i32max_texel_gather_offset: u32min_interpolation_offset: f32max_interpolation_offset: f32sub_pixel_interpolation_offset_bits: u32max_framebuffer_width: u32max_framebuffer_height: u32max_framebuffer_layers: u32framebuffer_color_sample_counts: SampleCountFlagsframebuffer_depth_sample_counts: SampleCountFlagsframebuffer_stencil_sample_counts: SampleCountFlagsframebuffer_no_attachments_sample_counts: SampleCountFlagsmax_color_attachments: u32sampled_image_color_sample_counts: SampleCountFlagssampled_image_integer_sample_counts: SampleCountFlagssampled_image_depth_sample_counts: SampleCountFlagssampled_image_stencil_sample_counts: SampleCountFlagsstorage_image_sample_counts: SampleCountFlagsmax_sample_mask_words: u32timestamp_compute_and_graphics: Bool32timestamp_period: f32max_clip_distances: u32max_cull_distances: u32max_combined_clip_and_cull_distances: u32discrete_queue_priorities: u32point_size_range: [f32; 2]line_width_range: [f32; 2]point_size_granularity: f32line_width_granularity: f32strict_lines: Bool32standard_sample_locations: Bool32optimal_buffer_copy_offset_alignment: DeviceSizeoptimal_buffer_copy_row_pitch_alignment: DeviceSizenon_coherent_atom_size: DeviceSize

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.