Skip to content

KDGpu::AdapterLimits

Module: Public API

#include <KDGpu/adapter_properties.h>

Public Attributes

Name
uint32_t maxImageDimension1D
uint32_t maxImageDimension2D
uint32_t maxImageDimension3D
uint32_t maxImageDimensionCube
uint32_t maxImageArrayLayers
uint32_t maxTexelBufferElements
uint32_t maxUniformBufferRange
uint32_t maxStorageBufferRange
uint32_t maxPushConstantsSize
uint32_t maxMemoryAllocationCount
uint32_t maxSamplerAllocationCount
DeviceSize bufferImageGranularity
DeviceSize sparseAddressSpaceSize
uint32_t maxBoundDescriptorSets
uint32_t maxPerStageDescriptorSamplers
uint32_t maxPerStageDescriptorUniformBuffers
uint32_t maxPerStageDescriptorStorageBuffers
uint32_t maxPerStageDescriptorSampledImages
uint32_t maxPerStageDescriptorStorageImages
uint32_t maxPerStageDescriptorInputAttachments
uint32_t maxPerStageResources
uint32_t maxDescriptorSetSamplers
uint32_t maxDescriptorSetUniformBuffers
uint32_t maxDescriptorSetUniformBuffersDynamic
uint32_t maxDescriptorSetStorageBuffers
uint32_t maxDescriptorSetStorageBuffersDynamic
uint32_t maxDescriptorSetSampledImages
uint32_t maxDescriptorSetStorageImages
uint32_t maxDescriptorSetInputAttachments
uint32_t maxVertexInputAttributes
uint32_t maxVertexInputBindings
uint32_t maxVertexInputAttributeOffset
uint32_t maxVertexInputBindingStride
uint32_t maxVertexOutputComponents
uint32_t maxTessellationGenerationLevel
uint32_t maxTessellationPatchSize
uint32_t maxTessellationControlPerVertexInputComponents
uint32_t maxTessellationControlPerVertexOutputComponents
uint32_t maxTessellationControlPerPatchOutputComponents
uint32_t maxTessellationControlTotalOutputComponents
uint32_t maxTessellationEvaluationInputComponents
uint32_t maxTessellationEvaluationOutputComponents
uint32_t maxGeometryShaderInvocations
uint32_t maxGeometryInputComponents
uint32_t maxGeometryOutputComponents
uint32_t maxGeometryOutputVertices
uint32_t maxGeometryTotalOutputComponents
uint32_t maxFragmentInputComponents
uint32_t maxFragmentOutputAttachments
uint32_t maxFragmentDualSrcAttachments
uint32_t maxFragmentCombinedOutputResources
uint32_t maxComputeSharedMemorySize
uint32_t[3] maxComputeWorkGroupCount
uint32_t maxComputeWorkGroupInvocations
uint32_t[3] maxComputeWorkGroupSize
uint32_t subPixelPrecisionBits
uint32_t subTexelPrecisionBits
uint32_t mipmapPrecisionBits
uint32_t maxDrawIndexedIndexValue
uint32_t maxDrawIndirectCount
float maxSamplerLodBias
float maxSamplerAnisotropy
uint32_t maxViewports
uint32_t[2] maxViewportDimensions
float[2] viewportBoundsRange
uint32_t viewportSubPixelBits
size_t minMemoryMapAlignment
DeviceSize minTexelBufferOffsetAlignment
DeviceSize minUniformBufferOffsetAlignment
DeviceSize minStorageBufferOffsetAlignment
int32_t minTexelOffset
uint32_t maxTexelOffset
int32_t minTexelGatherOffset
uint32_t maxTexelGatherOffset
float minInterpolationOffset
float maxInterpolationOffset
uint32_t subPixelInterpolationOffsetBits
uint32_t maxFramebufferWidth
uint32_t maxFramebufferHeight
uint32_t maxFramebufferLayers
SampleCountFlags framebufferColorSampleCounts
SampleCountFlags framebufferDepthSampleCounts
SampleCountFlags framebufferStencilSampleCounts
SampleCountFlags framebufferNoAttachmentsSampleCounts
uint32_t maxColorAttachments
SampleCountFlags sampledImageColorSampleCounts
SampleCountFlags sampledImageIntegerSampleCounts
SampleCountFlags sampledImageDepthSampleCounts
SampleCountFlags sampledImageStencilSampleCounts
SampleCountFlags storageImageSampleCounts
uint32_t maxSampleMaskWords
bool timestampComputeAndGraphics
float timestampPeriod
uint32_t maxClipDistances
uint32_t maxCullDistances
uint32_t maxCombinedClipAndCullDistances
uint32_t discreteQueuePriorities
float[2] pointSizeRange
float[2] lineWidthRange
float pointSizeGranularity
float lineWidthGranularity
bool strictLines
bool standardSampleLocations
DeviceSize optimalBufferCopyOffsetAlignment
DeviceSize optimalBufferCopyRowPitchAlignment
DeviceSize nonCoherentAtomSize

Public Attributes Documentation

variable maxImageDimension1D

1
uint32_t maxImageDimension1D;

variable maxImageDimension2D

1
uint32_t maxImageDimension2D;

variable maxImageDimension3D

1
uint32_t maxImageDimension3D;

variable maxImageDimensionCube

1
uint32_t maxImageDimensionCube;

variable maxImageArrayLayers

1
uint32_t maxImageArrayLayers;

variable maxTexelBufferElements

1
uint32_t maxTexelBufferElements;

variable maxUniformBufferRange

1
uint32_t maxUniformBufferRange;

variable maxStorageBufferRange

1
uint32_t maxStorageBufferRange;

variable maxPushConstantsSize

1
uint32_t maxPushConstantsSize;

variable maxMemoryAllocationCount

1
uint32_t maxMemoryAllocationCount;

variable maxSamplerAllocationCount

1
uint32_t maxSamplerAllocationCount;

variable bufferImageGranularity

1
DeviceSize bufferImageGranularity;

variable sparseAddressSpaceSize

1
DeviceSize sparseAddressSpaceSize;

variable maxBoundDescriptorSets

1
uint32_t maxBoundDescriptorSets;

variable maxPerStageDescriptorSamplers

1
uint32_t maxPerStageDescriptorSamplers;

variable maxPerStageDescriptorUniformBuffers

1
uint32_t maxPerStageDescriptorUniformBuffers;

variable maxPerStageDescriptorStorageBuffers

1
uint32_t maxPerStageDescriptorStorageBuffers;

variable maxPerStageDescriptorSampledImages

1
uint32_t maxPerStageDescriptorSampledImages;

variable maxPerStageDescriptorStorageImages

1
uint32_t maxPerStageDescriptorStorageImages;

variable maxPerStageDescriptorInputAttachments

1
uint32_t maxPerStageDescriptorInputAttachments;

variable maxPerStageResources

1
uint32_t maxPerStageResources;

variable maxDescriptorSetSamplers

1
uint32_t maxDescriptorSetSamplers;

variable maxDescriptorSetUniformBuffers

1
uint32_t maxDescriptorSetUniformBuffers;

variable maxDescriptorSetUniformBuffersDynamic

1
uint32_t maxDescriptorSetUniformBuffersDynamic;

variable maxDescriptorSetStorageBuffers

1
uint32_t maxDescriptorSetStorageBuffers;

variable maxDescriptorSetStorageBuffersDynamic

1
uint32_t maxDescriptorSetStorageBuffersDynamic;

variable maxDescriptorSetSampledImages

1
uint32_t maxDescriptorSetSampledImages;

variable maxDescriptorSetStorageImages

1
uint32_t maxDescriptorSetStorageImages;

variable maxDescriptorSetInputAttachments

1
uint32_t maxDescriptorSetInputAttachments;

variable maxVertexInputAttributes

1
uint32_t maxVertexInputAttributes;

variable maxVertexInputBindings

1
uint32_t maxVertexInputBindings;

variable maxVertexInputAttributeOffset

1
uint32_t maxVertexInputAttributeOffset;

variable maxVertexInputBindingStride

1
uint32_t maxVertexInputBindingStride;

variable maxVertexOutputComponents

1
uint32_t maxVertexOutputComponents;

variable maxTessellationGenerationLevel

1
uint32_t maxTessellationGenerationLevel;

variable maxTessellationPatchSize

1
uint32_t maxTessellationPatchSize;

variable maxTessellationControlPerVertexInputComponents

1
uint32_t maxTessellationControlPerVertexInputComponents;

variable maxTessellationControlPerVertexOutputComponents

1
uint32_t maxTessellationControlPerVertexOutputComponents;

variable maxTessellationControlPerPatchOutputComponents

1
uint32_t maxTessellationControlPerPatchOutputComponents;

variable maxTessellationControlTotalOutputComponents

1
uint32_t maxTessellationControlTotalOutputComponents;

variable maxTessellationEvaluationInputComponents

1
uint32_t maxTessellationEvaluationInputComponents;

variable maxTessellationEvaluationOutputComponents

1
uint32_t maxTessellationEvaluationOutputComponents;

variable maxGeometryShaderInvocations

1
uint32_t maxGeometryShaderInvocations;

variable maxGeometryInputComponents

1
uint32_t maxGeometryInputComponents;

variable maxGeometryOutputComponents

1
uint32_t maxGeometryOutputComponents;

variable maxGeometryOutputVertices

1
uint32_t maxGeometryOutputVertices;

variable maxGeometryTotalOutputComponents

1
uint32_t maxGeometryTotalOutputComponents;

variable maxFragmentInputComponents

1
uint32_t maxFragmentInputComponents;

variable maxFragmentOutputAttachments

1
uint32_t maxFragmentOutputAttachments;

variable maxFragmentDualSrcAttachments

1
uint32_t maxFragmentDualSrcAttachments;

variable maxFragmentCombinedOutputResources

1
uint32_t maxFragmentCombinedOutputResources;

variable maxComputeSharedMemorySize

1
uint32_t maxComputeSharedMemorySize;

variable maxComputeWorkGroupCount

1
uint32_t[3] maxComputeWorkGroupCount;

variable maxComputeWorkGroupInvocations

1
uint32_t maxComputeWorkGroupInvocations;

variable maxComputeWorkGroupSize

1
uint32_t[3] maxComputeWorkGroupSize;

variable subPixelPrecisionBits

1
uint32_t subPixelPrecisionBits;

variable subTexelPrecisionBits

1
uint32_t subTexelPrecisionBits;

variable mipmapPrecisionBits

1
uint32_t mipmapPrecisionBits;

variable maxDrawIndexedIndexValue

1
uint32_t maxDrawIndexedIndexValue;

variable maxDrawIndirectCount

1
uint32_t maxDrawIndirectCount;

variable maxSamplerLodBias

1
float maxSamplerLodBias;

variable maxSamplerAnisotropy

1
float maxSamplerAnisotropy;

variable maxViewports

1
uint32_t maxViewports;

variable maxViewportDimensions

1
uint32_t[2] maxViewportDimensions;

variable viewportBoundsRange

1
float[2] viewportBoundsRange;

variable viewportSubPixelBits

1
uint32_t viewportSubPixelBits;

variable minMemoryMapAlignment

1
size_t minMemoryMapAlignment;

variable minTexelBufferOffsetAlignment

1
DeviceSize minTexelBufferOffsetAlignment;

variable minUniformBufferOffsetAlignment

1
DeviceSize minUniformBufferOffsetAlignment;

variable minStorageBufferOffsetAlignment

1
DeviceSize minStorageBufferOffsetAlignment;

variable minTexelOffset

1
int32_t minTexelOffset;

variable maxTexelOffset

1
uint32_t maxTexelOffset;

variable minTexelGatherOffset

1
int32_t minTexelGatherOffset;

variable maxTexelGatherOffset

1
uint32_t maxTexelGatherOffset;

variable minInterpolationOffset

1
float minInterpolationOffset;

variable maxInterpolationOffset

1
float maxInterpolationOffset;

variable subPixelInterpolationOffsetBits

1
uint32_t subPixelInterpolationOffsetBits;

variable maxFramebufferWidth

1
uint32_t maxFramebufferWidth;

variable maxFramebufferHeight

1
uint32_t maxFramebufferHeight;

variable maxFramebufferLayers

1
uint32_t maxFramebufferLayers;

variable framebufferColorSampleCounts

1
SampleCountFlags framebufferColorSampleCounts;

variable framebufferDepthSampleCounts

1
SampleCountFlags framebufferDepthSampleCounts;

variable framebufferStencilSampleCounts

1
SampleCountFlags framebufferStencilSampleCounts;

variable framebufferNoAttachmentsSampleCounts

1
SampleCountFlags framebufferNoAttachmentsSampleCounts;

variable maxColorAttachments

1
uint32_t maxColorAttachments;

variable sampledImageColorSampleCounts

1
SampleCountFlags sampledImageColorSampleCounts;

variable sampledImageIntegerSampleCounts

1
SampleCountFlags sampledImageIntegerSampleCounts;

variable sampledImageDepthSampleCounts

1
SampleCountFlags sampledImageDepthSampleCounts;

variable sampledImageStencilSampleCounts

1
SampleCountFlags sampledImageStencilSampleCounts;

variable storageImageSampleCounts

1
SampleCountFlags storageImageSampleCounts;

variable maxSampleMaskWords

1
uint32_t maxSampleMaskWords;

variable timestampComputeAndGraphics

1
bool timestampComputeAndGraphics;

variable timestampPeriod

1
float timestampPeriod;

variable maxClipDistances

1
uint32_t maxClipDistances;

variable maxCullDistances

1
uint32_t maxCullDistances;

variable maxCombinedClipAndCullDistances

1
uint32_t maxCombinedClipAndCullDistances;

variable discreteQueuePriorities

1
uint32_t discreteQueuePriorities;

variable pointSizeRange

1
float[2] pointSizeRange;

variable lineWidthRange

1
float[2] lineWidthRange;

variable pointSizeGranularity

1
float pointSizeGranularity;

variable lineWidthGranularity

1
float lineWidthGranularity;

variable strictLines

1
bool strictLines;

variable standardSampleLocations

1
bool standardSampleLocations;

variable optimalBufferCopyOffsetAlignment

1
DeviceSize optimalBufferCopyOffsetAlignment;

variable optimalBufferCopyRowPitchAlignment

1
DeviceSize optimalBufferCopyRowPitchAlignment;

variable nonCoherentAtomSize

1
DeviceSize nonCoherentAtomSize;

Updated on 2024-12-22 at 00:01:23 +0000