Skip to main content

PhysicalDeviceLimits

Struct PhysicalDeviceLimits 

Source
#[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

Native structure VkPhysicalDeviceLimits.

Khronos reference: VkPhysicalDeviceLimits

Fields§

§max_image_dimension1_d: u32

Native field maxImageDimension1D.

§max_image_dimension2_d: u32

Native field maxImageDimension2D.

§max_image_dimension3_d: u32

Native field maxImageDimension3D.

§max_image_dimension_cube: u32

Native field maxImageDimensionCube.

§max_image_array_layers: u32

Native field maxImageArrayLayers.

§max_texel_buffer_elements: u32

Native field maxTexelBufferElements.

§max_uniform_buffer_range: u32

Native field maxUniformBufferRange.

§max_storage_buffer_range: u32

Native field maxStorageBufferRange.

§max_push_constants_size: u32

Native field maxPushConstantsSize.

§max_memory_allocation_count: u32

Native field maxMemoryAllocationCount.

§max_sampler_allocation_count: u32

Native field maxSamplerAllocationCount.

§buffer_image_granularity: DeviceSize

Native field bufferImageGranularity.

§sparse_address_space_size: DeviceSize

Native field sparseAddressSpaceSize.

§max_bound_descriptor_sets: u32

Native field maxBoundDescriptorSets.

§max_per_stage_descriptor_samplers: u32

Native field maxPerStageDescriptorSamplers.

§max_per_stage_descriptor_uniform_buffers: u32

Native field maxPerStageDescriptorUniformBuffers.

§max_per_stage_descriptor_storage_buffers: u32

Native field maxPerStageDescriptorStorageBuffers.

§max_per_stage_descriptor_sampled_images: u32

Native field maxPerStageDescriptorSampledImages.

§max_per_stage_descriptor_storage_images: u32

Native field maxPerStageDescriptorStorageImages.

§max_per_stage_descriptor_input_attachments: u32

Native field maxPerStageDescriptorInputAttachments.

§max_per_stage_resources: u32

Native field maxPerStageResources.

§max_descriptor_set_samplers: u32

Native field maxDescriptorSetSamplers.

§max_descriptor_set_uniform_buffers: u32

Native field maxDescriptorSetUniformBuffers.

§max_descriptor_set_uniform_buffers_dynamic: u32

Native field maxDescriptorSetUniformBuffersDynamic.

§max_descriptor_set_storage_buffers: u32

Native field maxDescriptorSetStorageBuffers.

§max_descriptor_set_storage_buffers_dynamic: u32

Native field maxDescriptorSetStorageBuffersDynamic.

§max_descriptor_set_sampled_images: u32

Native field maxDescriptorSetSampledImages.

§max_descriptor_set_storage_images: u32

Native field maxDescriptorSetStorageImages.

§max_descriptor_set_input_attachments: u32

Native field maxDescriptorSetInputAttachments.

§max_vertex_input_attributes: u32

Native field maxVertexInputAttributes.

§max_vertex_input_bindings: u32

Native field maxVertexInputBindings.

§max_vertex_input_attribute_offset: u32

Native field maxVertexInputAttributeOffset.

§max_vertex_input_binding_stride: u32

Native field maxVertexInputBindingStride.

§max_vertex_output_components: u32

Native field maxVertexOutputComponents.

§max_tessellation_generation_level: u32

Native field maxTessellationGenerationLevel.

§max_tessellation_patch_size: u32

Native field maxTessellationPatchSize.

§max_tessellation_control_per_vertex_input_components: u32

Native field maxTessellationControlPerVertexInputComponents.

§max_tessellation_control_per_vertex_output_components: u32

Native field maxTessellationControlPerVertexOutputComponents.

§max_tessellation_control_per_patch_output_components: u32

Native field maxTessellationControlPerPatchOutputComponents.

§max_tessellation_control_total_output_components: u32

Native field maxTessellationControlTotalOutputComponents.

§max_tessellation_evaluation_input_components: u32

Native field maxTessellationEvaluationInputComponents.

§max_tessellation_evaluation_output_components: u32

Native field maxTessellationEvaluationOutputComponents.

§max_geometry_shader_invocations: u32

Native field maxGeometryShaderInvocations.

§max_geometry_input_components: u32

Native field maxGeometryInputComponents.

§max_geometry_output_components: u32

Native field maxGeometryOutputComponents.

§max_geometry_output_vertices: u32

Native field maxGeometryOutputVertices.

§max_geometry_total_output_components: u32

Native field maxGeometryTotalOutputComponents.

§max_fragment_input_components: u32

Native field maxFragmentInputComponents.

§max_fragment_output_attachments: u32

Native field maxFragmentOutputAttachments.

§max_fragment_dual_src_attachments: u32

Native field maxFragmentDualSrcAttachments.

§max_fragment_combined_output_resources: u32

Native field maxFragmentCombinedOutputResources.

§max_compute_shared_memory_size: u32

Native field maxComputeSharedMemorySize.

§max_compute_work_group_count: [u32; 3]

Native field maxComputeWorkGroupCount.

§max_compute_work_group_invocations: u32

Native field maxComputeWorkGroupInvocations.

§max_compute_work_group_size: [u32; 3]

Native field maxComputeWorkGroupSize.

§sub_pixel_precision_bits: u32

Native field subPixelPrecisionBits.

§sub_texel_precision_bits: u32

Native field subTexelPrecisionBits.

§mipmap_precision_bits: u32

Native field mipmapPrecisionBits.

§max_draw_indexed_index_value: u32

Native field maxDrawIndexedIndexValue.

§max_draw_indirect_count: u32

Native field maxDrawIndirectCount.

§max_sampler_lod_bias: f32

Native field maxSamplerLodBias.

§max_sampler_anisotropy: f32

Native field maxSamplerAnisotropy.

§max_viewports: u32

Native field maxViewports.

§max_viewport_dimensions: [u32; 2]

Native field maxViewportDimensions.

§viewport_bounds_range: [f32; 2]

Native field viewportBoundsRange.

§viewport_sub_pixel_bits: u32

Native field viewportSubPixelBits.

§min_memory_map_alignment: usize

Native field minMemoryMapAlignment.

§min_texel_buffer_offset_alignment: DeviceSize

Native field minTexelBufferOffsetAlignment.

§min_uniform_buffer_offset_alignment: DeviceSize

Native field minUniformBufferOffsetAlignment.

§min_storage_buffer_offset_alignment: DeviceSize

Native field minStorageBufferOffsetAlignment.

§min_texel_offset: i32

Native field minTexelOffset.

§max_texel_offset: u32

Native field maxTexelOffset.

§min_texel_gather_offset: i32

Native field minTexelGatherOffset.

§max_texel_gather_offset: u32

Native field maxTexelGatherOffset.

§min_interpolation_offset: f32

Native field minInterpolationOffset.

§max_interpolation_offset: f32

Native field maxInterpolationOffset.

§sub_pixel_interpolation_offset_bits: u32

Native field subPixelInterpolationOffsetBits.

§max_framebuffer_width: u32

Native field maxFramebufferWidth.

§max_framebuffer_height: u32

Native field maxFramebufferHeight.

§max_framebuffer_layers: u32

Native field maxFramebufferLayers.

§framebuffer_color_sample_counts: SampleCountFlags

Native field framebufferColorSampleCounts.

§framebuffer_depth_sample_counts: SampleCountFlags

Native field framebufferDepthSampleCounts.

§framebuffer_stencil_sample_counts: SampleCountFlags

Native field framebufferStencilSampleCounts.

§framebuffer_no_attachments_sample_counts: SampleCountFlags

Native field framebufferNoAttachmentsSampleCounts.

§max_color_attachments: u32

Native field maxColorAttachments.

§sampled_image_color_sample_counts: SampleCountFlags

Native field sampledImageColorSampleCounts.

§sampled_image_integer_sample_counts: SampleCountFlags

Native field sampledImageIntegerSampleCounts.

§sampled_image_depth_sample_counts: SampleCountFlags

Native field sampledImageDepthSampleCounts.

§sampled_image_stencil_sample_counts: SampleCountFlags

Native field sampledImageStencilSampleCounts.

§storage_image_sample_counts: SampleCountFlags

Native field storageImageSampleCounts.

§max_sample_mask_words: u32

Native field maxSampleMaskWords.

§timestamp_compute_and_graphics: Bool32

Native field timestampComputeAndGraphics.

§timestamp_period: f32

Native field timestampPeriod.

§max_clip_distances: u32

Native field maxClipDistances.

§max_cull_distances: u32

Native field maxCullDistances.

§max_combined_clip_and_cull_distances: u32

Native field maxCombinedClipAndCullDistances.

§discrete_queue_priorities: u32

Native field discreteQueuePriorities.

§point_size_range: [f32; 2]

Native field pointSizeRange.

§line_width_range: [f32; 2]

Native field lineWidthRange.

§point_size_granularity: f32

Native field pointSizeGranularity.

§line_width_granularity: f32

Native field lineWidthGranularity.

§strict_lines: Bool32

Native field strictLines.

§standard_sample_locations: Bool32

Native field standardSampleLocations.

§optimal_buffer_copy_offset_alignment: DeviceSize

Native field optimalBufferCopyOffsetAlignment.

§optimal_buffer_copy_row_pitch_alignment: DeviceSize

Native field optimalBufferCopyRowPitchAlignment.

§non_coherent_atom_size: DeviceSize

Native field nonCoherentAtomSize.

Implementations§

Source§

impl PhysicalDeviceLimits

Source

pub fn new() -> Self

Construct the record with its default native state.

Source

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

Set native field maxImageDimension1D without native effects.

Source

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

Set native field maxImageDimension2D without native effects.

Source

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

Set native field maxImageDimension3D without native effects.

Source

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

Set native field maxImageDimensionCube without native effects.

Source

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

Set native field maxImageArrayLayers without native effects.

Source

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

Set native field maxTexelBufferElements without native effects.

Source

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

Set native field maxUniformBufferRange without native effects.

Source

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

Set native field maxStorageBufferRange without native effects.

Source

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

Set native field maxPushConstantsSize without native effects.

Source

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

Set native field maxMemoryAllocationCount without native effects.

Source

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

Set native field maxSamplerAllocationCount without native effects.

Source

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

Set native field bufferImageGranularity without native effects.

Source

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

Set native field sparseAddressSpaceSize without native effects.

Source

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

Set native field maxBoundDescriptorSets without native effects.

Source

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

Set native field maxPerStageDescriptorSamplers without native effects.

Source

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

Set native field maxPerStageDescriptorUniformBuffers without native effects.

Source

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

Set native field maxPerStageDescriptorStorageBuffers without native effects.

Source

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

Set native field maxPerStageDescriptorSampledImages without native effects.

Source

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

Set native field maxPerStageDescriptorStorageImages without native effects.

Source

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

Set native field maxPerStageDescriptorInputAttachments without native effects.

Source

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

Set native field maxPerStageResources without native effects.

Source

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

Set native field maxDescriptorSetSamplers without native effects.

Source

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

Set native field maxDescriptorSetUniformBuffers without native effects.

Source

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

Set native field maxDescriptorSetUniformBuffersDynamic without native effects.

Source

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

Set native field maxDescriptorSetStorageBuffers without native effects.

Source

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

Set native field maxDescriptorSetStorageBuffersDynamic without native effects.

Source

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

Set native field maxDescriptorSetSampledImages without native effects.

Source

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

Set native field maxDescriptorSetStorageImages without native effects.

Source

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

Set native field maxDescriptorSetInputAttachments without native effects.

Source

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

Set native field maxVertexInputAttributes without native effects.

Source

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

Set native field maxVertexInputBindings without native effects.

Source

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

Set native field maxVertexInputAttributeOffset without native effects.

Source

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

Set native field maxVertexInputBindingStride without native effects.

Source

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

Set native field maxVertexOutputComponents without native effects.

Source

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

Set native field maxTessellationGenerationLevel without native effects.

Source

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

Set native field maxTessellationPatchSize without native effects.

Source

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

Set native field maxTessellationControlPerVertexInputComponents without native effects.

Source

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

Set native field maxTessellationControlPerVertexOutputComponents without native effects.

Source

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

Set native field maxTessellationControlPerPatchOutputComponents without native effects.

Source

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

Set native field maxTessellationControlTotalOutputComponents without native effects.

Source

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

Set native field maxTessellationEvaluationInputComponents without native effects.

Source

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

Set native field maxTessellationEvaluationOutputComponents without native effects.

Source

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

Set native field maxGeometryShaderInvocations without native effects.

Source

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

Set native field maxGeometryInputComponents without native effects.

Source

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

Set native field maxGeometryOutputComponents without native effects.

Source

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

Set native field maxGeometryOutputVertices without native effects.

Source

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

Set native field maxGeometryTotalOutputComponents without native effects.

Source

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

Set native field maxFragmentInputComponents without native effects.

Source

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

Set native field maxFragmentOutputAttachments without native effects.

Source

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

Set native field maxFragmentDualSrcAttachments without native effects.

Source

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

Set native field maxFragmentCombinedOutputResources without native effects.

Source

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

Set native field maxComputeSharedMemorySize without native effects.

Source

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

Set native field maxComputeWorkGroupCount without native effects.

Source

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

Set native field maxComputeWorkGroupInvocations without native effects.

Source

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

Set native field maxComputeWorkGroupSize without native effects.

Source

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

Set native field subPixelPrecisionBits without native effects.

Source

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

Set native field subTexelPrecisionBits without native effects.

Source

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

Set native field mipmapPrecisionBits without native effects.

Source

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

Set native field maxDrawIndexedIndexValue without native effects.

Source

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

Set native field maxDrawIndirectCount without native effects.

Source

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

Set native field maxSamplerLodBias without native effects.

Source

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

Set native field maxSamplerAnisotropy without native effects.

Source

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

Set native field maxViewports without native effects.

Source

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

Set native field maxViewportDimensions without native effects.

Source

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

Set native field viewportBoundsRange without native effects.

Source

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

Set native field viewportSubPixelBits without native effects.

Source

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

Set native field minMemoryMapAlignment without native effects.

Source

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

Set native field minTexelBufferOffsetAlignment without native effects.

Source

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

Set native field minUniformBufferOffsetAlignment without native effects.

Source

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

Set native field minStorageBufferOffsetAlignment without native effects.

Source

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

Set native field minTexelOffset without native effects.

Source

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

Set native field maxTexelOffset without native effects.

Source

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

Set native field minTexelGatherOffset without native effects.

Source

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

Set native field maxTexelGatherOffset without native effects.

Source

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

Set native field minInterpolationOffset without native effects.

Source

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

Set native field maxInterpolationOffset without native effects.

Source

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

Set native field subPixelInterpolationOffsetBits without native effects.

Source

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

Set native field maxFramebufferWidth without native effects.

Source

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

Set native field maxFramebufferHeight without native effects.

Source

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

Set native field maxFramebufferLayers without native effects.

Source

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

Set native field framebufferColorSampleCounts without native effects.

Source

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

Set native field framebufferDepthSampleCounts without native effects.

Source

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

Set native field framebufferStencilSampleCounts without native effects.

Source

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

Set native field framebufferNoAttachmentsSampleCounts without native effects.

Source

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

Set native field maxColorAttachments without native effects.

Source

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

Set native field sampledImageColorSampleCounts without native effects.

Source

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

Set native field sampledImageIntegerSampleCounts without native effects.

Source

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

Set native field sampledImageDepthSampleCounts without native effects.

Source

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

Set native field sampledImageStencilSampleCounts without native effects.

Source

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

Set native field storageImageSampleCounts without native effects.

Source

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

Set native field maxSampleMaskWords without native effects.

Source

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

Set native field timestampComputeAndGraphics without native effects.

Source

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

Set native field timestampPeriod without native effects.

Source

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

Set native field maxClipDistances without native effects.

Source

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

Set native field maxCullDistances without native effects.

Source

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

Set native field maxCombinedClipAndCullDistances without native effects.

Source

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

Set native field discreteQueuePriorities without native effects.

Source

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

Set native field pointSizeRange without native effects.

Source

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

Set native field lineWidthRange without native effects.

Source

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

Set native field pointSizeGranularity without native effects.

Source

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

Set native field lineWidthGranularity without native effects.

Source

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

Set native field strictLines without native effects.

Source

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

Set native field standardSampleLocations without native effects.

Source

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

Set native field optimalBufferCopyOffsetAlignment without native effects.

Source

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

Set native field optimalBufferCopyRowPitchAlignment without native effects.

Source

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

Set native field nonCoherentAtomSize without native effects.

Trait Implementations§

Source§

impl Clone for PhysicalDeviceLimits

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for PhysicalDeviceLimits

Source§

impl Default for PhysicalDeviceLimits

Source§

fn default() -> Self

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

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
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

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> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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.