Struct erupt::vk1_0::PhysicalDeviceLimitsBuilder
source · #[repr(transparent)]pub struct PhysicalDeviceLimitsBuilder<'a>(_, _);
Expand description
Vulkan Manual Page · Builder of PhysicalDeviceLimits
Implementations
sourceimpl<'a> PhysicalDeviceLimitsBuilder<'a>
impl<'a> PhysicalDeviceLimitsBuilder<'a>
pub fn new() -> PhysicalDeviceLimitsBuilder<'a>
pub fn max_image_dimension1_d(self, max_image_dimension1_d: u32) -> Self
pub fn max_image_dimension2_d(self, max_image_dimension2_d: u32) -> Self
pub fn max_image_dimension3_d(self, max_image_dimension3_d: u32) -> Self
pub fn max_image_dimension_cube(self, max_image_dimension_cube: u32) -> Self
pub fn max_image_array_layers(self, max_image_array_layers: u32) -> Self
pub fn max_texel_buffer_elements(self, max_texel_buffer_elements: u32) -> Self
pub fn max_uniform_buffer_range(self, max_uniform_buffer_range: u32) -> Self
pub fn max_storage_buffer_range(self, max_storage_buffer_range: u32) -> Self
pub fn max_push_constants_size(self, max_push_constants_size: u32) -> Self
pub fn max_memory_allocation_count(
self,
max_memory_allocation_count: u32
) -> Self
pub fn max_sampler_allocation_count(
self,
max_sampler_allocation_count: u32
) -> Self
pub fn buffer_image_granularity(
self,
buffer_image_granularity: DeviceSize
) -> Self
pub fn sparse_address_space_size(
self,
sparse_address_space_size: DeviceSize
) -> Self
pub fn max_bound_descriptor_sets(self, max_bound_descriptor_sets: u32) -> Self
pub fn max_per_stage_descriptor_samplers(
self,
max_per_stage_descriptor_samplers: u32
) -> Self
pub fn max_per_stage_descriptor_uniform_buffers(
self,
max_per_stage_descriptor_uniform_buffers: u32
) -> Self
pub fn max_per_stage_descriptor_storage_buffers(
self,
max_per_stage_descriptor_storage_buffers: u32
) -> Self
pub fn max_per_stage_descriptor_sampled_images(
self,
max_per_stage_descriptor_sampled_images: u32
) -> Self
pub fn max_per_stage_descriptor_storage_images(
self,
max_per_stage_descriptor_storage_images: u32
) -> Self
pub fn max_per_stage_descriptor_input_attachments(
self,
max_per_stage_descriptor_input_attachments: u32
) -> Self
pub fn max_per_stage_resources(self, max_per_stage_resources: u32) -> Self
pub fn max_descriptor_set_samplers(
self,
max_descriptor_set_samplers: u32
) -> Self
pub fn max_descriptor_set_uniform_buffers(
self,
max_descriptor_set_uniform_buffers: u32
) -> Self
pub fn max_descriptor_set_uniform_buffers_dynamic(
self,
max_descriptor_set_uniform_buffers_dynamic: u32
) -> Self
pub fn max_descriptor_set_storage_buffers(
self,
max_descriptor_set_storage_buffers: u32
) -> Self
pub fn max_descriptor_set_storage_buffers_dynamic(
self,
max_descriptor_set_storage_buffers_dynamic: u32
) -> Self
pub fn max_descriptor_set_sampled_images(
self,
max_descriptor_set_sampled_images: u32
) -> Self
pub fn max_descriptor_set_storage_images(
self,
max_descriptor_set_storage_images: u32
) -> Self
pub fn max_descriptor_set_input_attachments(
self,
max_descriptor_set_input_attachments: u32
) -> Self
pub fn max_vertex_input_attributes(
self,
max_vertex_input_attributes: u32
) -> Self
pub fn max_vertex_input_bindings(self, max_vertex_input_bindings: u32) -> Self
pub fn max_vertex_input_attribute_offset(
self,
max_vertex_input_attribute_offset: u32
) -> Self
pub fn max_vertex_input_binding_stride(
self,
max_vertex_input_binding_stride: u32
) -> Self
pub fn max_vertex_output_components(
self,
max_vertex_output_components: u32
) -> Self
pub fn max_tessellation_generation_level(
self,
max_tessellation_generation_level: u32
) -> Self
pub fn max_tessellation_patch_size(
self,
max_tessellation_patch_size: u32
) -> Self
pub fn max_tessellation_control_per_vertex_input_components(
self,
max_tessellation_control_per_vertex_input_components: u32
) -> Self
pub fn max_tessellation_control_per_vertex_output_components(
self,
max_tessellation_control_per_vertex_output_components: u32
) -> Self
pub fn max_tessellation_control_per_patch_output_components(
self,
max_tessellation_control_per_patch_output_components: u32
) -> Self
pub fn max_tessellation_control_total_output_components(
self,
max_tessellation_control_total_output_components: u32
) -> Self
pub fn max_tessellation_evaluation_input_components(
self,
max_tessellation_evaluation_input_components: u32
) -> Self
pub fn max_tessellation_evaluation_output_components(
self,
max_tessellation_evaluation_output_components: u32
) -> Self
pub fn max_geometry_shader_invocations(
self,
max_geometry_shader_invocations: u32
) -> Self
pub fn max_geometry_input_components(
self,
max_geometry_input_components: u32
) -> Self
pub fn max_geometry_output_components(
self,
max_geometry_output_components: u32
) -> Self
pub fn max_geometry_output_vertices(
self,
max_geometry_output_vertices: u32
) -> Self
pub fn max_geometry_total_output_components(
self,
max_geometry_total_output_components: u32
) -> Self
pub fn max_fragment_input_components(
self,
max_fragment_input_components: u32
) -> Self
pub fn max_fragment_output_attachments(
self,
max_fragment_output_attachments: u32
) -> Self
pub fn max_fragment_dual_src_attachments(
self,
max_fragment_dual_src_attachments: u32
) -> Self
pub fn max_fragment_combined_output_resources(
self,
max_fragment_combined_output_resources: u32
) -> Self
pub fn max_compute_work_group_count(
self,
max_compute_work_group_count: [u32; 3]
) -> Self
pub fn max_compute_work_group_invocations(
self,
max_compute_work_group_invocations: u32
) -> Self
pub fn max_compute_work_group_size(
self,
max_compute_work_group_size: [u32; 3]
) -> Self
pub fn sub_pixel_precision_bits(self, sub_pixel_precision_bits: u32) -> Self
pub fn sub_texel_precision_bits(self, sub_texel_precision_bits: u32) -> Self
pub fn mipmap_precision_bits(self, mipmap_precision_bits: u32) -> Self
pub fn max_draw_indexed_index_value(
self,
max_draw_indexed_index_value: u32
) -> Self
pub fn max_draw_indirect_count(self, max_draw_indirect_count: u32) -> Self
pub fn max_sampler_lod_bias(self, max_sampler_lod_bias: c_float) -> Self
pub fn max_sampler_anisotropy(self, max_sampler_anisotropy: c_float) -> Self
pub fn max_viewports(self, max_viewports: u32) -> Self
pub fn max_viewport_dimensions(self, max_viewport_dimensions: [u32; 2]) -> Self
pub fn viewport_bounds_range(self, viewport_bounds_range: [c_float; 2]) -> Self
pub fn viewport_sub_pixel_bits(self, viewport_sub_pixel_bits: u32) -> Self
pub fn min_memory_map_alignment(self, min_memory_map_alignment: usize) -> Self
pub fn min_texel_buffer_offset_alignment(
self,
min_texel_buffer_offset_alignment: DeviceSize
) -> Self
pub fn min_uniform_buffer_offset_alignment(
self,
min_uniform_buffer_offset_alignment: DeviceSize
) -> Self
pub fn min_storage_buffer_offset_alignment(
self,
min_storage_buffer_offset_alignment: DeviceSize
) -> Self
pub fn min_texel_offset(self, min_texel_offset: i32) -> Self
pub fn max_texel_offset(self, max_texel_offset: u32) -> Self
pub fn min_texel_gather_offset(self, min_texel_gather_offset: i32) -> Self
pub fn max_texel_gather_offset(self, max_texel_gather_offset: u32) -> Self
pub fn min_interpolation_offset(self, min_interpolation_offset: c_float) -> Self
pub fn max_interpolation_offset(self, max_interpolation_offset: c_float) -> Self
pub fn sub_pixel_interpolation_offset_bits(
self,
sub_pixel_interpolation_offset_bits: u32
) -> Self
pub fn max_framebuffer_width(self, max_framebuffer_width: u32) -> Self
pub fn max_framebuffer_height(self, max_framebuffer_height: u32) -> Self
pub fn max_framebuffer_layers(self, max_framebuffer_layers: u32) -> Self
pub fn framebuffer_color_sample_counts(
self,
framebuffer_color_sample_counts: SampleCountFlags
) -> Self
pub fn framebuffer_depth_sample_counts(
self,
framebuffer_depth_sample_counts: SampleCountFlags
) -> Self
pub fn framebuffer_stencil_sample_counts(
self,
framebuffer_stencil_sample_counts: SampleCountFlags
) -> Self
pub fn framebuffer_no_attachments_sample_counts(
self,
framebuffer_no_attachments_sample_counts: SampleCountFlags
) -> Self
pub fn max_color_attachments(self, max_color_attachments: u32) -> Self
pub fn sampled_image_color_sample_counts(
self,
sampled_image_color_sample_counts: SampleCountFlags
) -> Self
pub fn sampled_image_integer_sample_counts(
self,
sampled_image_integer_sample_counts: SampleCountFlags
) -> Self
pub fn sampled_image_depth_sample_counts(
self,
sampled_image_depth_sample_counts: SampleCountFlags
) -> Self
pub fn sampled_image_stencil_sample_counts(
self,
sampled_image_stencil_sample_counts: SampleCountFlags
) -> Self
pub fn storage_image_sample_counts(
self,
storage_image_sample_counts: SampleCountFlags
) -> Self
pub fn max_sample_mask_words(self, max_sample_mask_words: u32) -> Self
pub fn timestamp_compute_and_graphics(
self,
timestamp_compute_and_graphics: bool
) -> Self
pub fn timestamp_period(self, timestamp_period: c_float) -> Self
pub fn max_clip_distances(self, max_clip_distances: u32) -> Self
pub fn max_cull_distances(self, max_cull_distances: u32) -> Self
pub fn max_combined_clip_and_cull_distances(
self,
max_combined_clip_and_cull_distances: u32
) -> Self
pub fn discrete_queue_priorities(self, discrete_queue_priorities: u32) -> Self
pub fn point_size_range(self, point_size_range: [c_float; 2]) -> Self
pub fn line_width_range(self, line_width_range: [c_float; 2]) -> Self
pub fn point_size_granularity(self, point_size_granularity: c_float) -> Self
pub fn line_width_granularity(self, line_width_granularity: c_float) -> Self
pub fn strict_lines(self, strict_lines: bool) -> Self
pub fn standard_sample_locations(self, standard_sample_locations: bool) -> Self
pub fn optimal_buffer_copy_offset_alignment(
self,
optimal_buffer_copy_offset_alignment: DeviceSize
) -> Self
pub fn optimal_buffer_copy_row_pitch_alignment(
self,
optimal_buffer_copy_row_pitch_alignment: DeviceSize
) -> Self
pub fn non_coherent_atom_size(self, non_coherent_atom_size: DeviceSize) -> Self
pub fn build(self) -> PhysicalDeviceLimits
Trait Implementations
sourceimpl<'a> Clone for PhysicalDeviceLimitsBuilder<'a>
impl<'a> Clone for PhysicalDeviceLimitsBuilder<'a>
sourcefn clone(&self) -> PhysicalDeviceLimitsBuilder<'a>
fn clone(&self) -> PhysicalDeviceLimitsBuilder<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for PhysicalDeviceLimitsBuilder<'a>
impl<'a> Debug for PhysicalDeviceLimitsBuilder<'a>
sourceimpl<'a> Default for PhysicalDeviceLimitsBuilder<'a>
impl<'a> Default for PhysicalDeviceLimitsBuilder<'a>
sourcefn default() -> PhysicalDeviceLimitsBuilder<'a>
fn default() -> PhysicalDeviceLimitsBuilder<'a>
Returns the “default value” for a type. Read more
sourceimpl<'a> Deref for PhysicalDeviceLimitsBuilder<'a>
impl<'a> Deref for PhysicalDeviceLimitsBuilder<'a>
type Target = PhysicalDeviceLimits
type Target = PhysicalDeviceLimits
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for PhysicalDeviceLimitsBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceLimitsBuilder<'a>
impl<'a> Copy for PhysicalDeviceLimitsBuilder<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for PhysicalDeviceLimitsBuilder<'a>
impl<'a> Send for PhysicalDeviceLimitsBuilder<'a>
impl<'a> Sync for PhysicalDeviceLimitsBuilder<'a>
impl<'a> Unpin for PhysicalDeviceLimitsBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceLimitsBuilder<'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