#[repr(C)]pub struct PhysicalDeviceLimits {Show 106 fields
pub maxImageDimension1D: u32,
pub maxImageDimension2D: u32,
pub maxImageDimension3D: u32,
pub maxImageDimensionCube: u32,
pub maxImageArrayLayers: u32,
pub maxTexelBufferElements: u32,
pub maxUniformBufferRange: u32,
pub maxStorageBufferRange: u32,
pub maxPushConstantsSize: u32,
pub maxMemoryAllocationCount: u32,
pub maxSamplerAllocationCount: u32,
pub bufferImageGranularity: DeviceSize,
pub sparseAddressSpaceSize: DeviceSize,
pub maxBoundDescriptorSets: u32,
pub maxPerStageDescriptorSamplers: u32,
pub maxPerStageDescriptorUniformBuffers: u32,
pub maxPerStageDescriptorStorageBuffers: u32,
pub maxPerStageDescriptorSampledImages: u32,
pub maxPerStageDescriptorStorageImages: u32,
pub maxPerStageDescriptorInputAttachments: u32,
pub maxPerStageResources: u32,
pub maxDescriptorSetSamplers: u32,
pub maxDescriptorSetUniformBuffers: u32,
pub maxDescriptorSetUniformBuffersDynamic: u32,
pub maxDescriptorSetStorageBuffers: u32,
pub maxDescriptorSetStorageBuffersDynamic: u32,
pub maxDescriptorSetSampledImages: u32,
pub maxDescriptorSetStorageImages: u32,
pub maxDescriptorSetInputAttachments: u32,
pub maxVertexInputAttributes: u32,
pub maxVertexInputBindings: u32,
pub maxVertexInputAttributeOffset: u32,
pub maxVertexInputBindingStride: u32,
pub maxVertexOutputComponents: u32,
pub maxTessellationGenerationLevel: u32,
pub maxTessellationPatchSize: u32,
pub maxTessellationControlPerVertexInputComponents: u32,
pub maxTessellationControlPerVertexOutputComponents: u32,
pub maxTessellationControlPerPatchOutputComponents: u32,
pub maxTessellationControlTotalOutputComponents: u32,
pub maxTessellationEvaluationInputComponents: u32,
pub maxTessellationEvaluationOutputComponents: u32,
pub maxGeometryShaderInvocations: u32,
pub maxGeometryInputComponents: u32,
pub maxGeometryOutputComponents: u32,
pub maxGeometryOutputVertices: u32,
pub maxGeometryTotalOutputComponents: u32,
pub maxFragmentInputComponents: u32,
pub maxFragmentOutputAttachments: u32,
pub maxFragmentDualSrcAttachments: u32,
pub maxFragmentCombinedOutputResources: u32,
pub maxComputeSharedMemorySize: u32,
pub maxComputeWorkGroupCount: [u32; 3],
pub maxComputeWorkGroupInvocations: u32,
pub maxComputeWorkGroupSize: [u32; 3],
pub subPixelPrecisionBits: u32,
pub subTexelPrecisionBits: u32,
pub mipmapPrecisionBits: u32,
pub maxDrawIndexedIndexValue: u32,
pub maxDrawIndirectCount: u32,
pub maxSamplerLodBias: f32,
pub maxSamplerAnisotropy: f32,
pub maxViewports: u32,
pub maxViewportDimensions: [u32; 2],
pub viewportBoundsRange: [f32; 2],
pub viewportSubPixelBits: u32,
pub minMemoryMapAlignment: usize,
pub minTexelBufferOffsetAlignment: DeviceSize,
pub minUniformBufferOffsetAlignment: DeviceSize,
pub minStorageBufferOffsetAlignment: DeviceSize,
pub minTexelOffset: i32,
pub maxTexelOffset: u32,
pub minTexelGatherOffset: i32,
pub maxTexelGatherOffset: u32,
pub minInterpolationOffset: f32,
pub maxInterpolationOffset: f32,
pub subPixelInterpolationOffsetBits: u32,
pub maxFramebufferWidth: u32,
pub maxFramebufferHeight: u32,
pub maxFramebufferLayers: u32,
pub framebufferColorSampleCounts: SampleCountFlags,
pub framebufferDepthSampleCounts: SampleCountFlags,
pub framebufferStencilSampleCounts: SampleCountFlags,
pub framebufferNoAttachmentsSampleCounts: SampleCountFlags,
pub maxColorAttachments: u32,
pub sampledImageColorSampleCounts: SampleCountFlags,
pub sampledImageIntegerSampleCounts: SampleCountFlags,
pub sampledImageDepthSampleCounts: SampleCountFlags,
pub sampledImageStencilSampleCounts: SampleCountFlags,
pub storageImageSampleCounts: SampleCountFlags,
pub maxSampleMaskWords: u32,
pub timestampComputeAndGraphics: Bool32,
pub timestampPeriod: f32,
pub maxClipDistances: u32,
pub maxCullDistances: u32,
pub maxCombinedClipAndCullDistances: u32,
pub discreteQueuePriorities: u32,
pub pointSizeRange: [f32; 2],
pub lineWidthRange: [f32; 2],
pub pointSizeGranularity: f32,
pub lineWidthGranularity: f32,
pub strictLines: Bool32,
pub standardSampleLocations: Bool32,
pub optimalBufferCopyOffsetAlignment: DeviceSize,
pub optimalBufferCopyRowPitchAlignment: DeviceSize,
pub nonCoherentAtomSize: DeviceSize,
}
Fields§
§maxImageDimension1D: u32
§maxImageDimension2D: u32
§maxImageDimension3D: u32
§maxImageDimensionCube: u32
§maxImageArrayLayers: u32
§maxTexelBufferElements: u32
§maxUniformBufferRange: u32
§maxStorageBufferRange: u32
§maxPushConstantsSize: u32
§maxMemoryAllocationCount: u32
§maxSamplerAllocationCount: u32
§bufferImageGranularity: DeviceSize
§sparseAddressSpaceSize: DeviceSize
§maxBoundDescriptorSets: u32
§maxPerStageDescriptorSamplers: u32
§maxPerStageDescriptorUniformBuffers: u32
§maxPerStageDescriptorStorageBuffers: u32
§maxPerStageDescriptorSampledImages: u32
§maxPerStageDescriptorStorageImages: u32
§maxPerStageDescriptorInputAttachments: u32
§maxPerStageResources: u32
§maxDescriptorSetSamplers: u32
§maxDescriptorSetUniformBuffers: u32
§maxDescriptorSetUniformBuffersDynamic: u32
§maxDescriptorSetStorageBuffers: u32
§maxDescriptorSetStorageBuffersDynamic: u32
§maxDescriptorSetSampledImages: u32
§maxDescriptorSetStorageImages: u32
§maxDescriptorSetInputAttachments: u32
§maxVertexInputAttributes: u32
§maxVertexInputBindings: u32
§maxVertexInputAttributeOffset: u32
§maxVertexInputBindingStride: u32
§maxVertexOutputComponents: u32
§maxTessellationGenerationLevel: u32
§maxTessellationPatchSize: u32
§maxTessellationControlPerVertexInputComponents: u32
§maxTessellationControlPerVertexOutputComponents: u32
§maxTessellationControlPerPatchOutputComponents: u32
§maxTessellationControlTotalOutputComponents: u32
§maxTessellationEvaluationInputComponents: u32
§maxTessellationEvaluationOutputComponents: u32
§maxGeometryShaderInvocations: u32
§maxGeometryInputComponents: u32
§maxGeometryOutputComponents: u32
§maxGeometryOutputVertices: u32
§maxGeometryTotalOutputComponents: u32
§maxFragmentInputComponents: u32
§maxFragmentOutputAttachments: u32
§maxFragmentDualSrcAttachments: u32
§maxFragmentCombinedOutputResources: u32
§maxComputeWorkGroupCount: [u32; 3]
§maxComputeWorkGroupInvocations: u32
§maxComputeWorkGroupSize: [u32; 3]
§subPixelPrecisionBits: u32
§subTexelPrecisionBits: u32
§mipmapPrecisionBits: u32
§maxDrawIndexedIndexValue: u32
§maxDrawIndirectCount: u32
§maxSamplerLodBias: f32
§maxSamplerAnisotropy: f32
§maxViewports: u32
§maxViewportDimensions: [u32; 2]
§viewportBoundsRange: [f32; 2]
§viewportSubPixelBits: u32
§minMemoryMapAlignment: usize
§minTexelBufferOffsetAlignment: DeviceSize
§minUniformBufferOffsetAlignment: DeviceSize
§minStorageBufferOffsetAlignment: DeviceSize
§minTexelOffset: i32
§maxTexelOffset: u32
§minTexelGatherOffset: i32
§maxTexelGatherOffset: u32
§minInterpolationOffset: f32
§maxInterpolationOffset: f32
§subPixelInterpolationOffsetBits: u32
§maxFramebufferWidth: u32
§maxFramebufferHeight: u32
§maxFramebufferLayers: u32
§framebufferColorSampleCounts: SampleCountFlags
§framebufferDepthSampleCounts: SampleCountFlags
§framebufferStencilSampleCounts: SampleCountFlags
§framebufferNoAttachmentsSampleCounts: SampleCountFlags
§maxColorAttachments: u32
§sampledImageColorSampleCounts: SampleCountFlags
§sampledImageIntegerSampleCounts: SampleCountFlags
§sampledImageDepthSampleCounts: SampleCountFlags
§sampledImageStencilSampleCounts: SampleCountFlags
§storageImageSampleCounts: SampleCountFlags
§maxSampleMaskWords: u32
§timestampComputeAndGraphics: Bool32
§timestampPeriod: f32
§maxClipDistances: u32
§maxCullDistances: u32
§maxCombinedClipAndCullDistances: u32
§discreteQueuePriorities: u32
§pointSizeRange: [f32; 2]
§lineWidthRange: [f32; 2]
§pointSizeGranularity: f32
§lineWidthGranularity: f32
§strictLines: Bool32
§standardSampleLocations: Bool32
§optimalBufferCopyOffsetAlignment: DeviceSize
§optimalBufferCopyRowPitchAlignment: DeviceSize
§nonCoherentAtomSize: DeviceSize
Auto Trait Implementations§
impl Freeze for PhysicalDeviceLimits
impl RefUnwindSafe for PhysicalDeviceLimits
impl Send for PhysicalDeviceLimits
impl Sync for PhysicalDeviceLimits
impl Unpin for PhysicalDeviceLimits
impl UnwindSafe for PhysicalDeviceLimits
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more