Realm

vk::PhysicalDeviceLimits

Native structure VkPhysicalDeviceLimits.

StRustExperimental
#[repr(C)]pub struct PhysicalDeviceLimits { 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, }
Native structure VkPhysicalDeviceLimits.

Contract

Native structure VkPhysicalDeviceLimits.

Khronos reference: VkPhysicalDeviceLimits

Fields

max_image_dimension1_d

Field
max_image_dimension1_d: u32

Native field maxImageDimension1D.

max_image_dimension2_d

Field
max_image_dimension2_d: u32

Native field maxImageDimension2D.

max_image_dimension3_d

Field
max_image_dimension3_d: u32

Native field maxImageDimension3D.

max_image_dimension_cube

Field
max_image_dimension_cube: u32

Native field maxImageDimensionCube.

max_image_array_layers

Field
max_image_array_layers: u32

Native field maxImageArrayLayers.

max_texel_buffer_elements

Field
max_texel_buffer_elements: u32

Native field maxTexelBufferElements.

max_uniform_buffer_range

Field
max_uniform_buffer_range: u32

Native field maxUniformBufferRange.

max_storage_buffer_range

Field
max_storage_buffer_range: u32

Native field maxStorageBufferRange.

max_push_constants_size

Field
max_push_constants_size: u32

Native field maxPushConstantsSize.

max_memory_allocation_count

Field
max_memory_allocation_count: u32

Native field maxMemoryAllocationCount.

max_sampler_allocation_count

Field
max_sampler_allocation_count: u32

Native field maxSamplerAllocationCount.

buffer_image_granularity

Field
buffer_image_granularity: DeviceSize

Native field bufferImageGranularity.

sparse_address_space_size

Field
sparse_address_space_size: DeviceSize

Native field sparseAddressSpaceSize.

max_bound_descriptor_sets

Field
max_bound_descriptor_sets: u32

Native field maxBoundDescriptorSets.

max_per_stage_descriptor_samplers

Field
max_per_stage_descriptor_samplers: u32

Native field maxPerStageDescriptorSamplers.

max_per_stage_descriptor_uniform_buffers

Field
max_per_stage_descriptor_uniform_buffers: u32

Native field maxPerStageDescriptorUniformBuffers.

max_per_stage_descriptor_storage_buffers

Field
max_per_stage_descriptor_storage_buffers: u32

Native field maxPerStageDescriptorStorageBuffers.

max_per_stage_descriptor_sampled_images

Field
max_per_stage_descriptor_sampled_images: u32

Native field maxPerStageDescriptorSampledImages.

max_per_stage_descriptor_storage_images

Field
max_per_stage_descriptor_storage_images: u32

Native field maxPerStageDescriptorStorageImages.

max_per_stage_descriptor_input_attachments

Field
max_per_stage_descriptor_input_attachments: u32

Native field maxPerStageDescriptorInputAttachments.

max_per_stage_resources

Field
max_per_stage_resources: u32

Native field maxPerStageResources.

max_descriptor_set_samplers

Field
max_descriptor_set_samplers: u32

Native field maxDescriptorSetSamplers.

max_descriptor_set_uniform_buffers

Field
max_descriptor_set_uniform_buffers: u32

Native field maxDescriptorSetUniformBuffers.

max_descriptor_set_uniform_buffers_dynamic

Field
max_descriptor_set_uniform_buffers_dynamic: u32

Native field maxDescriptorSetUniformBuffersDynamic.

max_descriptor_set_storage_buffers

Field
max_descriptor_set_storage_buffers: u32

Native field maxDescriptorSetStorageBuffers.

max_descriptor_set_storage_buffers_dynamic

Field
max_descriptor_set_storage_buffers_dynamic: u32

Native field maxDescriptorSetStorageBuffersDynamic.

max_descriptor_set_sampled_images

Field
max_descriptor_set_sampled_images: u32

Native field maxDescriptorSetSampledImages.

max_descriptor_set_storage_images

Field
max_descriptor_set_storage_images: u32

Native field maxDescriptorSetStorageImages.

max_descriptor_set_input_attachments

Field
max_descriptor_set_input_attachments: u32

Native field maxDescriptorSetInputAttachments.

max_vertex_input_attributes

Field
max_vertex_input_attributes: u32

Native field maxVertexInputAttributes.

max_vertex_input_bindings

Field
max_vertex_input_bindings: u32

Native field maxVertexInputBindings.

max_vertex_input_attribute_offset

Field
max_vertex_input_attribute_offset: u32

Native field maxVertexInputAttributeOffset.

max_vertex_input_binding_stride

Field
max_vertex_input_binding_stride: u32

Native field maxVertexInputBindingStride.

max_vertex_output_components

Field
max_vertex_output_components: u32

Native field maxVertexOutputComponents.

max_tessellation_generation_level

Field
max_tessellation_generation_level: u32

Native field maxTessellationGenerationLevel.

max_tessellation_patch_size

Field
max_tessellation_patch_size: u32

Native field maxTessellationPatchSize.

max_tessellation_control_per_vertex_input_components

Field
max_tessellation_control_per_vertex_input_components: u32

Native field maxTessellationControlPerVertexInputComponents.

max_tessellation_control_per_vertex_output_components

Field
max_tessellation_control_per_vertex_output_components: u32

Native field maxTessellationControlPerVertexOutputComponents.

max_tessellation_control_per_patch_output_components

Field
max_tessellation_control_per_patch_output_components: u32

Native field maxTessellationControlPerPatchOutputComponents.

max_tessellation_control_total_output_components

Field
max_tessellation_control_total_output_components: u32

Native field maxTessellationControlTotalOutputComponents.

max_tessellation_evaluation_input_components

Field
max_tessellation_evaluation_input_components: u32

Native field maxTessellationEvaluationInputComponents.

max_tessellation_evaluation_output_components

Field
max_tessellation_evaluation_output_components: u32

Native field maxTessellationEvaluationOutputComponents.

max_geometry_shader_invocations

Field
max_geometry_shader_invocations: u32

Native field maxGeometryShaderInvocations.

max_geometry_input_components

Field
max_geometry_input_components: u32

Native field maxGeometryInputComponents.

max_geometry_output_components

Field
max_geometry_output_components: u32

Native field maxGeometryOutputComponents.

max_geometry_output_vertices

Field
max_geometry_output_vertices: u32

Native field maxGeometryOutputVertices.

max_geometry_total_output_components

Field
max_geometry_total_output_components: u32

Native field maxGeometryTotalOutputComponents.

max_fragment_input_components

Field
max_fragment_input_components: u32

Native field maxFragmentInputComponents.

max_fragment_output_attachments

Field
max_fragment_output_attachments: u32

Native field maxFragmentOutputAttachments.

max_fragment_dual_src_attachments

Field
max_fragment_dual_src_attachments: u32

Native field maxFragmentDualSrcAttachments.

max_fragment_combined_output_resources

Field
max_fragment_combined_output_resources: u32

Native field maxFragmentCombinedOutputResources.

max_compute_shared_memory_size

Field
max_compute_shared_memory_size: u32

Native field maxComputeSharedMemorySize.

max_compute_work_group_count

Field
max_compute_work_group_count: [u32; 3]

Native field maxComputeWorkGroupCount.

max_compute_work_group_invocations

Field
max_compute_work_group_invocations: u32

Native field maxComputeWorkGroupInvocations.

max_compute_work_group_size

Field
max_compute_work_group_size: [u32; 3]

Native field maxComputeWorkGroupSize.

sub_pixel_precision_bits

Field
sub_pixel_precision_bits: u32

Native field subPixelPrecisionBits.

sub_texel_precision_bits

Field
sub_texel_precision_bits: u32

Native field subTexelPrecisionBits.

mipmap_precision_bits

Field
mipmap_precision_bits: u32

Native field mipmapPrecisionBits.

max_draw_indexed_index_value

Field
max_draw_indexed_index_value: u32

Native field maxDrawIndexedIndexValue.

max_draw_indirect_count

Field
max_draw_indirect_count: u32

Native field maxDrawIndirectCount.

max_sampler_lod_bias

Field
max_sampler_lod_bias: f32

Native field maxSamplerLodBias.

max_sampler_anisotropy

Field
max_sampler_anisotropy: f32

Native field maxSamplerAnisotropy.

max_viewports

Field
max_viewports: u32

Native field maxViewports.

max_viewport_dimensions

Field
max_viewport_dimensions: [u32; 2]

Native field maxViewportDimensions.

viewport_bounds_range

Field
viewport_bounds_range: [f32; 2]

Native field viewportBoundsRange.

viewport_sub_pixel_bits

Field
viewport_sub_pixel_bits: u32

Native field viewportSubPixelBits.

min_memory_map_alignment

Field
min_memory_map_alignment: usize

Native field minMemoryMapAlignment.

min_texel_buffer_offset_alignment

Field
min_texel_buffer_offset_alignment: DeviceSize

Native field minTexelBufferOffsetAlignment.

min_uniform_buffer_offset_alignment

Field
min_uniform_buffer_offset_alignment: DeviceSize

Native field minUniformBufferOffsetAlignment.

min_storage_buffer_offset_alignment

Field
min_storage_buffer_offset_alignment: DeviceSize

Native field minStorageBufferOffsetAlignment.

min_texel_offset

Field
min_texel_offset: i32

Native field minTexelOffset.

max_texel_offset

Field
max_texel_offset: u32

Native field maxTexelOffset.

min_texel_gather_offset

Field
min_texel_gather_offset: i32

Native field minTexelGatherOffset.

max_texel_gather_offset

Field
max_texel_gather_offset: u32

Native field maxTexelGatherOffset.

min_interpolation_offset

Field
min_interpolation_offset: f32

Native field minInterpolationOffset.

max_interpolation_offset

Field
max_interpolation_offset: f32

Native field maxInterpolationOffset.

sub_pixel_interpolation_offset_bits

Field
sub_pixel_interpolation_offset_bits: u32

Native field subPixelInterpolationOffsetBits.

max_framebuffer_width

Field
max_framebuffer_width: u32

Native field maxFramebufferWidth.

max_framebuffer_height

Field
max_framebuffer_height: u32

Native field maxFramebufferHeight.

max_framebuffer_layers

Field
max_framebuffer_layers: u32

Native field maxFramebufferLayers.

framebuffer_color_sample_counts

Field
framebuffer_color_sample_counts: SampleCountFlags

Native field framebufferColorSampleCounts.

framebuffer_depth_sample_counts

Field
framebuffer_depth_sample_counts: SampleCountFlags

Native field framebufferDepthSampleCounts.

framebuffer_stencil_sample_counts

Field
framebuffer_stencil_sample_counts: SampleCountFlags

Native field framebufferStencilSampleCounts.

framebuffer_no_attachments_sample_counts

Field
framebuffer_no_attachments_sample_counts: SampleCountFlags

Native field framebufferNoAttachmentsSampleCounts.

max_color_attachments

Field
max_color_attachments: u32

Native field maxColorAttachments.

sampled_image_color_sample_counts

Field
sampled_image_color_sample_counts: SampleCountFlags

Native field sampledImageColorSampleCounts.

sampled_image_integer_sample_counts

Field
sampled_image_integer_sample_counts: SampleCountFlags

Native field sampledImageIntegerSampleCounts.

sampled_image_depth_sample_counts

Field
sampled_image_depth_sample_counts: SampleCountFlags

Native field sampledImageDepthSampleCounts.

sampled_image_stencil_sample_counts

Field
sampled_image_stencil_sample_counts: SampleCountFlags

Native field sampledImageStencilSampleCounts.

storage_image_sample_counts

Field
storage_image_sample_counts: SampleCountFlags

Native field storageImageSampleCounts.

max_sample_mask_words

Field
max_sample_mask_words: u32

Native field maxSampleMaskWords.

timestamp_compute_and_graphics

Field
timestamp_compute_and_graphics: Bool32

Native field timestampComputeAndGraphics.

timestamp_period

Field
timestamp_period: f32

Native field timestampPeriod.

max_clip_distances

Field
max_clip_distances: u32

Native field maxClipDistances.

max_cull_distances

Field
max_cull_distances: u32

Native field maxCullDistances.

max_combined_clip_and_cull_distances

Field
max_combined_clip_and_cull_distances: u32

Native field maxCombinedClipAndCullDistances.

discrete_queue_priorities

Field
discrete_queue_priorities: u32

Native field discreteQueuePriorities.

point_size_range

Field
point_size_range: [f32; 2]

Native field pointSizeRange.

line_width_range

Field
line_width_range: [f32; 2]

Native field lineWidthRange.

point_size_granularity

Field
point_size_granularity: f32

Native field pointSizeGranularity.

line_width_granularity

Field
line_width_granularity: f32

Native field lineWidthGranularity.

strict_lines

Field
strict_lines: Bool32

Native field strictLines.

standard_sample_locations

Field
standard_sample_locations: Bool32

Native field standardSampleLocations.

optimal_buffer_copy_offset_alignment

Field
optimal_buffer_copy_offset_alignment: DeviceSize

Native field optimalBufferCopyOffsetAlignment.

optimal_buffer_copy_row_pitch_alignment

Field
optimal_buffer_copy_row_pitch_alignment: DeviceSize

Native field optimalBufferCopyRowPitchAlignment.

non_coherent_atom_size

Field
non_coherent_atom_size: DeviceSize

Native field nonCoherentAtomSize.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_max_image_dimension1_d

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

Set native field maxImageDimension1D without native effects.

set_max_image_dimension2_d

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

Set native field maxImageDimension2D without native effects.

set_max_image_dimension3_d

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

Set native field maxImageDimension3D without native effects.

set_max_image_dimension_cube

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

Set native field maxImageDimensionCube without native effects.

set_max_image_array_layers

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

Set native field maxImageArrayLayers without native effects.

set_max_texel_buffer_elements

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

Set native field maxTexelBufferElements without native effects.

set_max_uniform_buffer_range

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

Set native field maxUniformBufferRange without native effects.

set_max_storage_buffer_range

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

Set native field maxStorageBufferRange without native effects.

set_max_push_constants_size

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

Set native field maxPushConstantsSize without native effects.

set_max_memory_allocation_count

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

Set native field maxMemoryAllocationCount without native effects.

set_max_sampler_allocation_count

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

Set native field maxSamplerAllocationCount without native effects.

set_buffer_image_granularity

Method
pub fn set_buffer_image_granularity(self, value: DeviceSize) -> Self

Set native field bufferImageGranularity without native effects.

set_sparse_address_space_size

Method
pub fn set_sparse_address_space_size(self, value: DeviceSize) -> Self

Set native field sparseAddressSpaceSize without native effects.

set_max_bound_descriptor_sets

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

Set native field maxBoundDescriptorSets without native effects.

set_max_per_stage_descriptor_samplers

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

Set native field maxPerStageDescriptorSamplers without native effects.

set_max_per_stage_descriptor_uniform_buffers

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

Set native field maxPerStageDescriptorUniformBuffers without native effects.

set_max_per_stage_descriptor_storage_buffers

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

Set native field maxPerStageDescriptorStorageBuffers without native effects.

set_max_per_stage_descriptor_sampled_images

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

Set native field maxPerStageDescriptorSampledImages without native effects.

set_max_per_stage_descriptor_storage_images

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

Set native field maxPerStageDescriptorStorageImages without native effects.

set_max_per_stage_descriptor_input_attachments

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

Set native field maxPerStageDescriptorInputAttachments without native effects.

set_max_per_stage_resources

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

Set native field maxPerStageResources without native effects.

set_max_descriptor_set_samplers

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

Set native field maxDescriptorSetSamplers without native effects.

set_max_descriptor_set_uniform_buffers

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

Set native field maxDescriptorSetUniformBuffers without native effects.

set_max_descriptor_set_uniform_buffers_dynamic

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

Set native field maxDescriptorSetUniformBuffersDynamic without native effects.

set_max_descriptor_set_storage_buffers

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

Set native field maxDescriptorSetStorageBuffers without native effects.

set_max_descriptor_set_storage_buffers_dynamic

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

Set native field maxDescriptorSetStorageBuffersDynamic without native effects.

set_max_descriptor_set_sampled_images

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

Set native field maxDescriptorSetSampledImages without native effects.

set_max_descriptor_set_storage_images

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

Set native field maxDescriptorSetStorageImages without native effects.

set_max_descriptor_set_input_attachments

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

Set native field maxDescriptorSetInputAttachments without native effects.

set_max_vertex_input_attributes

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

Set native field maxVertexInputAttributes without native effects.

set_max_vertex_input_bindings

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

Set native field maxVertexInputBindings without native effects.

set_max_vertex_input_attribute_offset

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

Set native field maxVertexInputAttributeOffset without native effects.

set_max_vertex_input_binding_stride

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

Set native field maxVertexInputBindingStride without native effects.

set_max_vertex_output_components

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

Set native field maxVertexOutputComponents without native effects.

set_max_tessellation_generation_level

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

Set native field maxTessellationGenerationLevel without native effects.

set_max_tessellation_patch_size

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

Set native field maxTessellationPatchSize without native effects.

set_max_tessellation_control_per_vertex_input_components

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

Set native field maxTessellationControlPerVertexInputComponents without native effects.

set_max_tessellation_control_per_vertex_output_components

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

Set native field maxTessellationControlPerVertexOutputComponents without native effects.

set_max_tessellation_control_per_patch_output_components

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

Set native field maxTessellationControlPerPatchOutputComponents without native effects.

set_max_tessellation_control_total_output_components

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

Set native field maxTessellationControlTotalOutputComponents without native effects.

set_max_tessellation_evaluation_input_components

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

Set native field maxTessellationEvaluationInputComponents without native effects.

set_max_tessellation_evaluation_output_components

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

Set native field maxTessellationEvaluationOutputComponents without native effects.

set_max_geometry_shader_invocations

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

Set native field maxGeometryShaderInvocations without native effects.

set_max_geometry_input_components

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

Set native field maxGeometryInputComponents without native effects.

set_max_geometry_output_components

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

Set native field maxGeometryOutputComponents without native effects.

set_max_geometry_output_vertices

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

Set native field maxGeometryOutputVertices without native effects.

set_max_geometry_total_output_components

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

Set native field maxGeometryTotalOutputComponents without native effects.

set_max_fragment_input_components

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

Set native field maxFragmentInputComponents without native effects.

set_max_fragment_output_attachments

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

Set native field maxFragmentOutputAttachments without native effects.

set_max_fragment_dual_src_attachments

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

Set native field maxFragmentDualSrcAttachments without native effects.

set_max_fragment_combined_output_resources

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

Set native field maxFragmentCombinedOutputResources without native effects.

set_max_compute_shared_memory_size

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

Set native field maxComputeSharedMemorySize without native effects.

set_max_compute_work_group_count

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

Set native field maxComputeWorkGroupCount without native effects.

set_max_compute_work_group_invocations

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

Set native field maxComputeWorkGroupInvocations without native effects.

set_max_compute_work_group_size

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

Set native field maxComputeWorkGroupSize without native effects.

set_sub_pixel_precision_bits

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

Set native field subPixelPrecisionBits without native effects.

set_sub_texel_precision_bits

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

Set native field subTexelPrecisionBits without native effects.

set_mipmap_precision_bits

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

Set native field mipmapPrecisionBits without native effects.

set_max_draw_indexed_index_value

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

Set native field maxDrawIndexedIndexValue without native effects.

set_max_draw_indirect_count

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

Set native field maxDrawIndirectCount without native effects.

set_max_sampler_lod_bias

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

Set native field maxSamplerLodBias without native effects.

set_max_sampler_anisotropy

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

Set native field maxSamplerAnisotropy without native effects.

set_max_viewports

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

Set native field maxViewports without native effects.

set_max_viewport_dimensions

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

Set native field maxViewportDimensions without native effects.

set_viewport_bounds_range

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

Set native field viewportBoundsRange without native effects.

set_viewport_sub_pixel_bits

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

Set native field viewportSubPixelBits without native effects.

set_min_memory_map_alignment

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

Set native field minMemoryMapAlignment without native effects.

set_min_texel_buffer_offset_alignment

Method
pub fn set_min_texel_buffer_offset_alignment(self, value: DeviceSize) -> Self

Set native field minTexelBufferOffsetAlignment without native effects.

set_min_uniform_buffer_offset_alignment

Method
pub fn set_min_uniform_buffer_offset_alignment(self, value: DeviceSize) -> Self

Set native field minUniformBufferOffsetAlignment without native effects.

set_min_storage_buffer_offset_alignment

Method
pub fn set_min_storage_buffer_offset_alignment(self, value: DeviceSize) -> Self

Set native field minStorageBufferOffsetAlignment without native effects.

set_min_texel_offset

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

Set native field minTexelOffset without native effects.

set_max_texel_offset

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

Set native field maxTexelOffset without native effects.

set_min_texel_gather_offset

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

Set native field minTexelGatherOffset without native effects.

set_max_texel_gather_offset

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

Set native field maxTexelGatherOffset without native effects.

set_min_interpolation_offset

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

Set native field minInterpolationOffset without native effects.

set_max_interpolation_offset

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

Set native field maxInterpolationOffset without native effects.

set_sub_pixel_interpolation_offset_bits

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

Set native field subPixelInterpolationOffsetBits without native effects.

set_max_framebuffer_width

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

Set native field maxFramebufferWidth without native effects.

set_max_framebuffer_height

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

Set native field maxFramebufferHeight without native effects.

set_max_framebuffer_layers

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

Set native field maxFramebufferLayers without native effects.

set_framebuffer_color_sample_counts

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

Set native field framebufferColorSampleCounts without native effects.

set_framebuffer_depth_sample_counts

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

Set native field framebufferDepthSampleCounts without native effects.

set_framebuffer_stencil_sample_counts

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

Set native field framebufferStencilSampleCounts without native effects.

set_framebuffer_no_attachments_sample_counts

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

Set native field framebufferNoAttachmentsSampleCounts without native effects.

set_max_color_attachments

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

Set native field maxColorAttachments without native effects.

set_sampled_image_color_sample_counts

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

Set native field sampledImageColorSampleCounts without native effects.

set_sampled_image_integer_sample_counts

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

Set native field sampledImageIntegerSampleCounts without native effects.

set_sampled_image_depth_sample_counts

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

Set native field sampledImageDepthSampleCounts without native effects.

set_sampled_image_stencil_sample_counts

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

Set native field sampledImageStencilSampleCounts without native effects.

set_storage_image_sample_counts

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

Set native field storageImageSampleCounts without native effects.

set_max_sample_mask_words

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

Set native field maxSampleMaskWords without native effects.

set_timestamp_compute_and_graphics

Method
pub fn set_timestamp_compute_and_graphics(self, value: Bool32) -> Self

Set native field timestampComputeAndGraphics without native effects.

set_timestamp_period

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

Set native field timestampPeriod without native effects.

set_max_clip_distances

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

Set native field maxClipDistances without native effects.

set_max_cull_distances

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

Set native field maxCullDistances without native effects.

set_max_combined_clip_and_cull_distances

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

Set native field maxCombinedClipAndCullDistances without native effects.

set_discrete_queue_priorities

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

Set native field discreteQueuePriorities without native effects.

set_point_size_range

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

Set native field pointSizeRange without native effects.

set_line_width_range

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

Set native field lineWidthRange without native effects.

set_point_size_granularity

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

Set native field pointSizeGranularity without native effects.

set_line_width_granularity

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

Set native field lineWidthGranularity without native effects.

set_strict_lines

Method
pub fn set_strict_lines(self, value: Bool32) -> Self

Set native field strictLines without native effects.

set_standard_sample_locations

Method
pub fn set_standard_sample_locations(self, value: Bool32) -> Self

Set native field standardSampleLocations without native effects.

set_optimal_buffer_copy_offset_alignment

Method
pub fn set_optimal_buffer_copy_offset_alignment(self, value: DeviceSize) -> Self

Set native field optimalBufferCopyOffsetAlignment without native effects.

set_optimal_buffer_copy_row_pitch_alignment

Method
pub fn set_optimal_buffer_copy_row_pitch_alignment( self, value: DeviceSize, ) -> Self

Set native field optimalBufferCopyRowPitchAlignment without native effects.

set_non_coherent_atom_size

Method
pub fn set_non_coherent_atom_size(self, value: DeviceSize) -> Self

Set native field nonCoherentAtomSize without native effects.

clone

Method
fn clone(&self) -> PhysicalDeviceLimits
Returns a duplicate of the value. Read more