- java.lang.Object
-
- com.io7m.jcoronado.api.VulkanPhysicalDeviceLimits
-
- All Implemented Interfaces:
VulkanPhysicalDeviceLimitsType
public final class VulkanPhysicalDeviceLimits extends java.lang.Object implements VulkanPhysicalDeviceLimitsType
The limits of a physical device.- See Also:
- "VkPhysicalDeviceLimits"
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VulkanPhysicalDeviceLimits.Builder
Builds instances of typeVulkanPhysicalDeviceLimits
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description long
bufferImageGranularity()
static VulkanPhysicalDeviceLimits.Builder
builder()
Creates a builder forVulkanPhysicalDeviceLimits
.static VulkanPhysicalDeviceLimits
copyOf(VulkanPhysicalDeviceLimitsType instance)
Creates an immutable copy of aVulkanPhysicalDeviceLimitsType
value.int
discreteQueuePriorities()
boolean
equals(java.lang.Object another)
This instance is equal to all instances ofVulkanPhysicalDeviceLimits
that have equal attribute values.int
framebufferColorSampleCounts()
int
framebufferDepthSampleCounts()
int
framebufferNoAttachmentsSampleCounts()
int
framebufferStencilSampleCounts()
int
hashCode()
Computes a hash code from attributes:bufferImageGranularity
,discreteQueuePriorities
,framebufferColorSampleCounts
,framebufferDepthSampleCounts
,framebufferNoAttachmentsSampleCounts
,framebufferStencilSampleCounts
,lineWidthGranularity
,lineWidthRange
,maxBoundDescriptorSets
,maxClipDistances
,maxColorAttachments
,maxCombinedClipAndCullDistances
,maxComputeSharedMemorySize
,maxComputeWorkGroupCount
,maxComputeWorkGroupInvocations
,maxComputeWorkGroupSize
,maxCullDistances
,maxDescriptorSetInputAttachments
,maxDescriptorSetSampledImages
,maxDescriptorSetSamplers
,maxDescriptorSetStorageBuffersDynamic
,maxDescriptorSetStorageBuffers
,maxDescriptorSetStorageImages
,maxDescriptorSetUniformBuffersDynamic
,maxDescriptorSetUniformBuffers
,maxDrawIndexedIndexValue
,maxDrawIndirectCount
,maxFragmentCombinedOutputResources
,maxFragmentDualSrcAttachments
,maxFragmentInputComponents
,maxFragmentOutputAttachments
,maxFramebufferHeight
,maxFramebufferLayers
,maxFramebufferWidth
,maxGeometryInputComponents
,maxGeometryOutputComponents
,maxGeometryOutputVertices
,maxGeometryShaderInvocations
,maxGeometryTotalOutputComponents
,maxImageArrayLayers
,maxImageDimension1D
,maxImageDimension2D
,maxImageDimension3D
,maxImageDimensionCube
,maxInterpolationOffset
,maxMemoryAllocationCount
,maxPerStageDescriptorInputAttachments
,maxPerStageDescriptorSampledImages
,maxPerStageDescriptorSamplers
,maxPerStageDescriptorStorageBuffers
,maxPerStageDescriptorStorageImages
,maxPerStageDescriptorUniformBuffers
,maxPerStageResources
,maxPushConstantsSize
,maxSampleMaskWords
,maxSamplerAllocationCount
,maxSamplerAnisotropy
,maxSamplerLodBias
,maxStorageBufferRange
,maxTessellationControlPerPatchOutputComponents
,maxTessellationControlPerVertexInputComponents
,maxTessellationControlPerVertexOutputComponents
,maxTessellationControlTotalOutputComponents
,maxTessellationEvaluationInputComponents
,maxTessellationEvaluationOutputComponents
,maxTessellationGenerationLevel
,maxTessellationPatchSize
,maxTexelBufferElements
,maxTexelGatherOffset
,maxTexelOffset
,maxUniformBufferRange
,maxVertexInputAttributeOffset
,maxVertexInputAttributes
,maxVertexInputBindings
,maxVertexInputBindingStride
,maxVertexOutputComponents
,maxViewportDimensions
,maxViewports
,minInterpolationOffset
,minMemoryMapAlignment
,minStorageBufferOffsetAlignment
,minTexelBufferOffsetAlignment
,minTexelGatherOffset
,minTexelOffset
,minUniformBufferOffsetAlignment
,mipmapPrecisionBits
,nonCoherentAtomSize
,optimalBufferCopyOffsetAlignment
,optimalBufferCopyRowPitchAlignment
,pointSizeGranularity
,pointSizeRange
,sampledImageColorSampleCounts
,sampledImageDepthSampleCounts
,sampledImageIntegerSampleCounts
,sampledImageStencilSampleCounts
,sparseAddressSpaceSize
,standardSampleLocations
,storageImageSampleCounts
,strictLines
,subPixelInterpolationOffsetBits
,subPixelPrecisionBits
,subTexelPrecisionBits
,timestampComputeAndGraphics
,timestampPeriod
,viewportBoundsRange
,viewportSubPixelBits
.float
lineWidthGranularity()
VulkanLineWidthRange
lineWidthRange()
int
maxBoundDescriptorSets()
int
maxClipDistances()
int
maxColorAttachments()
int
maxCombinedClipAndCullDistances()
int
maxComputeSharedMemorySize()
VulkanComputeWorkGroupCount
maxComputeWorkGroupCount()
int
maxComputeWorkGroupInvocations()
VulkanComputeWorkGroupSize
maxComputeWorkGroupSize()
int
maxCullDistances()
int
maxDescriptorSetInputAttachments()
int
maxDescriptorSetSampledImages()
int
maxDescriptorSetSamplers()
int
maxDescriptorSetStorageBuffers()
int
maxDescriptorSetStorageBuffersDynamic()
int
maxDescriptorSetStorageImages()
int
maxDescriptorSetUniformBuffers()
int
maxDescriptorSetUniformBuffersDynamic()
int
maxDrawIndexedIndexValue()
int
maxDrawIndirectCount()
int
maxFragmentCombinedOutputResources()
int
maxFragmentDualSrcAttachments()
int
maxFragmentInputComponents()
int
maxFragmentOutputAttachments()
int
maxFramebufferHeight()
int
maxFramebufferLayers()
int
maxFramebufferWidth()
int
maxGeometryInputComponents()
int
maxGeometryOutputComponents()
int
maxGeometryOutputVertices()
int
maxGeometryShaderInvocations()
int
maxGeometryTotalOutputComponents()
int
maxImageArrayLayers()
int
maxImageDimension1D()
int
maxImageDimension2D()
int
maxImageDimension3D()
int
maxImageDimensionCube()
float
maxInterpolationOffset()
int
maxMemoryAllocationCount()
int
maxPerStageDescriptorInputAttachments()
int
maxPerStageDescriptorSampledImages()
int
maxPerStageDescriptorSamplers()
int
maxPerStageDescriptorStorageBuffers()
int
maxPerStageDescriptorStorageImages()
int
maxPerStageDescriptorUniformBuffers()
int
maxPerStageResources()
int
maxPushConstantsSize()
int
maxSampleMaskWords()
int
maxSamplerAllocationCount()
float
maxSamplerAnisotropy()
float
maxSamplerLodBias()
int
maxStorageBufferRange()
int
maxTessellationControlPerPatchOutputComponents()
int
maxTessellationControlPerVertexInputComponents()
int
maxTessellationControlPerVertexOutputComponents()
int
maxTessellationControlTotalOutputComponents()
int
maxTessellationEvaluationInputComponents()
int
maxTessellationEvaluationOutputComponents()
int
maxTessellationGenerationLevel()
int
maxTessellationPatchSize()
int
maxTexelBufferElements()
int
maxTexelGatherOffset()
int
maxTexelOffset()
int
maxUniformBufferRange()
int
maxVertexInputAttributeOffset()
int
maxVertexInputAttributes()
int
maxVertexInputBindings()
int
maxVertexInputBindingStride()
int
maxVertexOutputComponents()
VulkanViewportDimensions
maxViewportDimensions()
int
maxViewports()
float
minInterpolationOffset()
long
minMemoryMapAlignment()
long
minStorageBufferOffsetAlignment()
long
minTexelBufferOffsetAlignment()
int
minTexelGatherOffset()
int
minTexelOffset()
long
minUniformBufferOffsetAlignment()
int
mipmapPrecisionBits()
long
nonCoherentAtomSize()
static VulkanPhysicalDeviceLimits
of(long bufferImageGranularity, int discreteQueuePriorities, int framebufferColorSampleCounts, int framebufferDepthSampleCounts, int framebufferNoAttachmentsSampleCounts, int framebufferStencilSampleCounts, float lineWidthGranularity, VulkanLineWidthRange lineWidthRange, int maxBoundDescriptorSets, int maxClipDistances, int maxColorAttachments, int maxCombinedClipAndCullDistances, int maxComputeSharedMemorySize, VulkanComputeWorkGroupCount maxComputeWorkGroupCount, int maxComputeWorkGroupInvocations, VulkanComputeWorkGroupSize maxComputeWorkGroupSize, int maxCullDistances, int maxDescriptorSetInputAttachments, int maxDescriptorSetSampledImages, int maxDescriptorSetSamplers, int maxDescriptorSetStorageBuffersDynamic, int maxDescriptorSetStorageBuffers, int maxDescriptorSetStorageImages, int maxDescriptorSetUniformBuffersDynamic, int maxDescriptorSetUniformBuffers, int maxDrawIndexedIndexValue, int maxDrawIndirectCount, int maxFragmentCombinedOutputResources, int maxFragmentDualSrcAttachments, int maxFragmentInputComponents, int maxFragmentOutputAttachments, int maxFramebufferHeight, int maxFramebufferLayers, int maxFramebufferWidth, int maxGeometryInputComponents, int maxGeometryOutputComponents, int maxGeometryOutputVertices, int maxGeometryShaderInvocations, int maxGeometryTotalOutputComponents, int maxImageArrayLayers, int maxImageDimension1D, int maxImageDimension2D, int maxImageDimension3D, int maxImageDimensionCube, float maxInterpolationOffset, int maxMemoryAllocationCount, int maxPerStageDescriptorInputAttachments, int maxPerStageDescriptorSampledImages, int maxPerStageDescriptorSamplers, int maxPerStageDescriptorStorageBuffers, int maxPerStageDescriptorStorageImages, int maxPerStageDescriptorUniformBuffers, int maxPerStageResources, int maxPushConstantsSize, int maxSampleMaskWords, int maxSamplerAllocationCount, float maxSamplerAnisotropy, float maxSamplerLodBias, int maxStorageBufferRange, int maxTessellationControlPerPatchOutputComponents, int maxTessellationControlPerVertexInputComponents, int maxTessellationControlPerVertexOutputComponents, int maxTessellationControlTotalOutputComponents, int maxTessellationEvaluationInputComponents, int maxTessellationEvaluationOutputComponents, int maxTessellationGenerationLevel, int maxTessellationPatchSize, int maxTexelBufferElements, int maxTexelGatherOffset, int maxTexelOffset, int maxUniformBufferRange, int maxVertexInputAttributeOffset, int maxVertexInputAttributes, int maxVertexInputBindings, int maxVertexInputBindingStride, int maxVertexOutputComponents, VulkanViewportDimensions maxViewportDimensions, int maxViewports, float minInterpolationOffset, long minMemoryMapAlignment, long minStorageBufferOffsetAlignment, long minTexelBufferOffsetAlignment, int minTexelGatherOffset, int minTexelOffset, long minUniformBufferOffsetAlignment, int mipmapPrecisionBits, long nonCoherentAtomSize, long optimalBufferCopyOffsetAlignment, long optimalBufferCopyRowPitchAlignment, float pointSizeGranularity, VulkanPointSizeRange pointSizeRange, int sampledImageColorSampleCounts, int sampledImageDepthSampleCounts, int sampledImageIntegerSampleCounts, int sampledImageStencilSampleCounts, long sparseAddressSpaceSize, boolean standardSampleLocations, int storageImageSampleCounts, boolean strictLines, int subPixelInterpolationOffsetBits, int subPixelPrecisionBits, int subTexelPrecisionBits, boolean timestampComputeAndGraphics, float timestampPeriod, VulkanViewportBoundsRange viewportBoundsRange, int viewportSubPixelBits)
Construct a new immutableVulkanPhysicalDeviceLimits
instance.long
optimalBufferCopyOffsetAlignment()
long
optimalBufferCopyRowPitchAlignment()
float
pointSizeGranularity()
VulkanPointSizeRange
pointSizeRange()
int
sampledImageColorSampleCounts()
int
sampledImageDepthSampleCounts()
int
sampledImageIntegerSampleCounts()
int
sampledImageStencilSampleCounts()
long
sparseAddressSpaceSize()
boolean
standardSampleLocations()
int
storageImageSampleCounts()
boolean
strictLines()
int
subPixelInterpolationOffsetBits()
int
subPixelPrecisionBits()
int
subTexelPrecisionBits()
boolean
timestampComputeAndGraphics()
float
timestampPeriod()
java.lang.String
toString()
Prints the immutable valueVulkanPhysicalDeviceLimits
with attribute values.VulkanViewportBoundsRange
viewportBoundsRange()
int
viewportSubPixelBits()
VulkanPhysicalDeviceLimits
withBufferImageGranularity(long value)
Copy the current immutable object by setting a value for thebufferImageGranularity
attribute.VulkanPhysicalDeviceLimits
withDiscreteQueuePriorities(int value)
Copy the current immutable object by setting a value for thediscreteQueuePriorities
attribute.VulkanPhysicalDeviceLimits
withFramebufferColorSampleCounts(int value)
Copy the current immutable object by setting a value for theframebufferColorSampleCounts
attribute.VulkanPhysicalDeviceLimits
withFramebufferDepthSampleCounts(int value)
Copy the current immutable object by setting a value for theframebufferDepthSampleCounts
attribute.VulkanPhysicalDeviceLimits
withFramebufferNoAttachmentsSampleCounts(int value)
Copy the current immutable object by setting a value for theframebufferNoAttachmentsSampleCounts
attribute.VulkanPhysicalDeviceLimits
withFramebufferStencilSampleCounts(int value)
Copy the current immutable object by setting a value for theframebufferStencilSampleCounts
attribute.VulkanPhysicalDeviceLimits
withLineWidthGranularity(float value)
Copy the current immutable object by setting a value for thelineWidthGranularity
attribute.VulkanPhysicalDeviceLimits
withLineWidthRange(VulkanLineWidthRange value)
Copy the current immutable object by setting a value for thelineWidthRange
attribute.VulkanPhysicalDeviceLimits
withMaxBoundDescriptorSets(int value)
Copy the current immutable object by setting a value for themaxBoundDescriptorSets
attribute.VulkanPhysicalDeviceLimits
withMaxClipDistances(int value)
Copy the current immutable object by setting a value for themaxClipDistances
attribute.VulkanPhysicalDeviceLimits
withMaxColorAttachments(int value)
Copy the current immutable object by setting a value for themaxColorAttachments
attribute.VulkanPhysicalDeviceLimits
withMaxCombinedClipAndCullDistances(int value)
Copy the current immutable object by setting a value for themaxCombinedClipAndCullDistances
attribute.VulkanPhysicalDeviceLimits
withMaxComputeSharedMemorySize(int value)
Copy the current immutable object by setting a value for themaxComputeSharedMemorySize
attribute.VulkanPhysicalDeviceLimits
withMaxComputeWorkGroupCount(VulkanComputeWorkGroupCount value)
Copy the current immutable object by setting a value for themaxComputeWorkGroupCount
attribute.VulkanPhysicalDeviceLimits
withMaxComputeWorkGroupInvocations(int value)
Copy the current immutable object by setting a value for themaxComputeWorkGroupInvocations
attribute.VulkanPhysicalDeviceLimits
withMaxComputeWorkGroupSize(VulkanComputeWorkGroupSize value)
Copy the current immutable object by setting a value for themaxComputeWorkGroupSize
attribute.VulkanPhysicalDeviceLimits
withMaxCullDistances(int value)
Copy the current immutable object by setting a value for themaxCullDistances
attribute.VulkanPhysicalDeviceLimits
withMaxDescriptorSetInputAttachments(int value)
Copy the current immutable object by setting a value for themaxDescriptorSetInputAttachments
attribute.VulkanPhysicalDeviceLimits
withMaxDescriptorSetSampledImages(int value)
Copy the current immutable object by setting a value for themaxDescriptorSetSampledImages
attribute.VulkanPhysicalDeviceLimits
withMaxDescriptorSetSamplers(int value)
Copy the current immutable object by setting a value for themaxDescriptorSetSamplers
attribute.VulkanPhysicalDeviceLimits
withMaxDescriptorSetStorageBuffers(int value)
Copy the current immutable object by setting a value for themaxDescriptorSetStorageBuffers
attribute.VulkanPhysicalDeviceLimits
withMaxDescriptorSetStorageBuffersDynamic(int value)
Copy the current immutable object by setting a value for themaxDescriptorSetStorageBuffersDynamic
attribute.VulkanPhysicalDeviceLimits
withMaxDescriptorSetStorageImages(int value)
Copy the current immutable object by setting a value for themaxDescriptorSetStorageImages
attribute.VulkanPhysicalDeviceLimits
withMaxDescriptorSetUniformBuffers(int value)
Copy the current immutable object by setting a value for themaxDescriptorSetUniformBuffers
attribute.VulkanPhysicalDeviceLimits
withMaxDescriptorSetUniformBuffersDynamic(int value)
Copy the current immutable object by setting a value for themaxDescriptorSetUniformBuffersDynamic
attribute.VulkanPhysicalDeviceLimits
withMaxDrawIndexedIndexValue(int value)
Copy the current immutable object by setting a value for themaxDrawIndexedIndexValue
attribute.VulkanPhysicalDeviceLimits
withMaxDrawIndirectCount(int value)
Copy the current immutable object by setting a value for themaxDrawIndirectCount
attribute.VulkanPhysicalDeviceLimits
withMaxFragmentCombinedOutputResources(int value)
Copy the current immutable object by setting a value for themaxFragmentCombinedOutputResources
attribute.VulkanPhysicalDeviceLimits
withMaxFragmentDualSrcAttachments(int value)
Copy the current immutable object by setting a value for themaxFragmentDualSrcAttachments
attribute.VulkanPhysicalDeviceLimits
withMaxFragmentInputComponents(int value)
Copy the current immutable object by setting a value for themaxFragmentInputComponents
attribute.VulkanPhysicalDeviceLimits
withMaxFragmentOutputAttachments(int value)
Copy the current immutable object by setting a value for themaxFragmentOutputAttachments
attribute.VulkanPhysicalDeviceLimits
withMaxFramebufferHeight(int value)
Copy the current immutable object by setting a value for themaxFramebufferHeight
attribute.VulkanPhysicalDeviceLimits
withMaxFramebufferLayers(int value)
Copy the current immutable object by setting a value for themaxFramebufferLayers
attribute.VulkanPhysicalDeviceLimits
withMaxFramebufferWidth(int value)
Copy the current immutable object by setting a value for themaxFramebufferWidth
attribute.VulkanPhysicalDeviceLimits
withMaxGeometryInputComponents(int value)
Copy the current immutable object by setting a value for themaxGeometryInputComponents
attribute.VulkanPhysicalDeviceLimits
withMaxGeometryOutputComponents(int value)
Copy the current immutable object by setting a value for themaxGeometryOutputComponents
attribute.VulkanPhysicalDeviceLimits
withMaxGeometryOutputVertices(int value)
Copy the current immutable object by setting a value for themaxGeometryOutputVertices
attribute.VulkanPhysicalDeviceLimits
withMaxGeometryShaderInvocations(int value)
Copy the current immutable object by setting a value for themaxGeometryShaderInvocations
attribute.VulkanPhysicalDeviceLimits
withMaxGeometryTotalOutputComponents(int value)
Copy the current immutable object by setting a value for themaxGeometryTotalOutputComponents
attribute.VulkanPhysicalDeviceLimits
withMaxImageArrayLayers(int value)
Copy the current immutable object by setting a value for themaxImageArrayLayers
attribute.VulkanPhysicalDeviceLimits
withMaxImageDimension1D(int value)
Copy the current immutable object by setting a value for themaxImageDimension1D
attribute.VulkanPhysicalDeviceLimits
withMaxImageDimension2D(int value)
Copy the current immutable object by setting a value for themaxImageDimension2D
attribute.VulkanPhysicalDeviceLimits
withMaxImageDimension3D(int value)
Copy the current immutable object by setting a value for themaxImageDimension3D
attribute.VulkanPhysicalDeviceLimits
withMaxImageDimensionCube(int value)
Copy the current immutable object by setting a value for themaxImageDimensionCube
attribute.VulkanPhysicalDeviceLimits
withMaxInterpolationOffset(float value)
Copy the current immutable object by setting a value for themaxInterpolationOffset
attribute.VulkanPhysicalDeviceLimits
withMaxMemoryAllocationCount(int value)
Copy the current immutable object by setting a value for themaxMemoryAllocationCount
attribute.VulkanPhysicalDeviceLimits
withMaxPerStageDescriptorInputAttachments(int value)
Copy the current immutable object by setting a value for themaxPerStageDescriptorInputAttachments
attribute.VulkanPhysicalDeviceLimits
withMaxPerStageDescriptorSampledImages(int value)
Copy the current immutable object by setting a value for themaxPerStageDescriptorSampledImages
attribute.VulkanPhysicalDeviceLimits
withMaxPerStageDescriptorSamplers(int value)
Copy the current immutable object by setting a value for themaxPerStageDescriptorSamplers
attribute.VulkanPhysicalDeviceLimits
withMaxPerStageDescriptorStorageBuffers(int value)
Copy the current immutable object by setting a value for themaxPerStageDescriptorStorageBuffers
attribute.VulkanPhysicalDeviceLimits
withMaxPerStageDescriptorStorageImages(int value)
Copy the current immutable object by setting a value for themaxPerStageDescriptorStorageImages
attribute.VulkanPhysicalDeviceLimits
withMaxPerStageDescriptorUniformBuffers(int value)
Copy the current immutable object by setting a value for themaxPerStageDescriptorUniformBuffers
attribute.VulkanPhysicalDeviceLimits
withMaxPerStageResources(int value)
Copy the current immutable object by setting a value for themaxPerStageResources
attribute.VulkanPhysicalDeviceLimits
withMaxPushConstantsSize(int value)
Copy the current immutable object by setting a value for themaxPushConstantsSize
attribute.VulkanPhysicalDeviceLimits
withMaxSampleMaskWords(int value)
Copy the current immutable object by setting a value for themaxSampleMaskWords
attribute.VulkanPhysicalDeviceLimits
withMaxSamplerAllocationCount(int value)
Copy the current immutable object by setting a value for themaxSamplerAllocationCount
attribute.VulkanPhysicalDeviceLimits
withMaxSamplerAnisotropy(float value)
Copy the current immutable object by setting a value for themaxSamplerAnisotropy
attribute.VulkanPhysicalDeviceLimits
withMaxSamplerLodBias(float value)
Copy the current immutable object by setting a value for themaxSamplerLodBias
attribute.VulkanPhysicalDeviceLimits
withMaxStorageBufferRange(int value)
Copy the current immutable object by setting a value for themaxStorageBufferRange
attribute.VulkanPhysicalDeviceLimits
withMaxTessellationControlPerPatchOutputComponents(int value)
Copy the current immutable object by setting a value for themaxTessellationControlPerPatchOutputComponents
attribute.VulkanPhysicalDeviceLimits
withMaxTessellationControlPerVertexInputComponents(int value)
Copy the current immutable object by setting a value for themaxTessellationControlPerVertexInputComponents
attribute.VulkanPhysicalDeviceLimits
withMaxTessellationControlPerVertexOutputComponents(int value)
Copy the current immutable object by setting a value for themaxTessellationControlPerVertexOutputComponents
attribute.VulkanPhysicalDeviceLimits
withMaxTessellationControlTotalOutputComponents(int value)
Copy the current immutable object by setting a value for themaxTessellationControlTotalOutputComponents
attribute.VulkanPhysicalDeviceLimits
withMaxTessellationEvaluationInputComponents(int value)
Copy the current immutable object by setting a value for themaxTessellationEvaluationInputComponents
attribute.VulkanPhysicalDeviceLimits
withMaxTessellationEvaluationOutputComponents(int value)
Copy the current immutable object by setting a value for themaxTessellationEvaluationOutputComponents
attribute.VulkanPhysicalDeviceLimits
withMaxTessellationGenerationLevel(int value)
Copy the current immutable object by setting a value for themaxTessellationGenerationLevel
attribute.VulkanPhysicalDeviceLimits
withMaxTessellationPatchSize(int value)
Copy the current immutable object by setting a value for themaxTessellationPatchSize
attribute.VulkanPhysicalDeviceLimits
withMaxTexelBufferElements(int value)
Copy the current immutable object by setting a value for themaxTexelBufferElements
attribute.VulkanPhysicalDeviceLimits
withMaxTexelGatherOffset(int value)
Copy the current immutable object by setting a value for themaxTexelGatherOffset
attribute.VulkanPhysicalDeviceLimits
withMaxTexelOffset(int value)
Copy the current immutable object by setting a value for themaxTexelOffset
attribute.VulkanPhysicalDeviceLimits
withMaxUniformBufferRange(int value)
Copy the current immutable object by setting a value for themaxUniformBufferRange
attribute.VulkanPhysicalDeviceLimits
withMaxVertexInputAttributeOffset(int value)
Copy the current immutable object by setting a value for themaxVertexInputAttributeOffset
attribute.VulkanPhysicalDeviceLimits
withMaxVertexInputAttributes(int value)
Copy the current immutable object by setting a value for themaxVertexInputAttributes
attribute.VulkanPhysicalDeviceLimits
withMaxVertexInputBindings(int value)
Copy the current immutable object by setting a value for themaxVertexInputBindings
attribute.VulkanPhysicalDeviceLimits
withMaxVertexInputBindingStride(int value)
Copy the current immutable object by setting a value for themaxVertexInputBindingStride
attribute.VulkanPhysicalDeviceLimits
withMaxVertexOutputComponents(int value)
Copy the current immutable object by setting a value for themaxVertexOutputComponents
attribute.VulkanPhysicalDeviceLimits
withMaxViewportDimensions(VulkanViewportDimensions value)
Copy the current immutable object by setting a value for themaxViewportDimensions
attribute.VulkanPhysicalDeviceLimits
withMaxViewports(int value)
Copy the current immutable object by setting a value for themaxViewports
attribute.VulkanPhysicalDeviceLimits
withMinInterpolationOffset(float value)
Copy the current immutable object by setting a value for theminInterpolationOffset
attribute.VulkanPhysicalDeviceLimits
withMinMemoryMapAlignment(long value)
Copy the current immutable object by setting a value for theminMemoryMapAlignment
attribute.VulkanPhysicalDeviceLimits
withMinStorageBufferOffsetAlignment(long value)
Copy the current immutable object by setting a value for theminStorageBufferOffsetAlignment
attribute.VulkanPhysicalDeviceLimits
withMinTexelBufferOffsetAlignment(long value)
Copy the current immutable object by setting a value for theminTexelBufferOffsetAlignment
attribute.VulkanPhysicalDeviceLimits
withMinTexelGatherOffset(int value)
Copy the current immutable object by setting a value for theminTexelGatherOffset
attribute.VulkanPhysicalDeviceLimits
withMinTexelOffset(int value)
Copy the current immutable object by setting a value for theminTexelOffset
attribute.VulkanPhysicalDeviceLimits
withMinUniformBufferOffsetAlignment(long value)
Copy the current immutable object by setting a value for theminUniformBufferOffsetAlignment
attribute.VulkanPhysicalDeviceLimits
withMipmapPrecisionBits(int value)
Copy the current immutable object by setting a value for themipmapPrecisionBits
attribute.VulkanPhysicalDeviceLimits
withNonCoherentAtomSize(long value)
Copy the current immutable object by setting a value for thenonCoherentAtomSize
attribute.VulkanPhysicalDeviceLimits
withOptimalBufferCopyOffsetAlignment(long value)
Copy the current immutable object by setting a value for theoptimalBufferCopyOffsetAlignment
attribute.VulkanPhysicalDeviceLimits
withOptimalBufferCopyRowPitchAlignment(long value)
Copy the current immutable object by setting a value for theoptimalBufferCopyRowPitchAlignment
attribute.VulkanPhysicalDeviceLimits
withPointSizeGranularity(float value)
Copy the current immutable object by setting a value for thepointSizeGranularity
attribute.VulkanPhysicalDeviceLimits
withPointSizeRange(VulkanPointSizeRange value)
Copy the current immutable object by setting a value for thepointSizeRange
attribute.VulkanPhysicalDeviceLimits
withSampledImageColorSampleCounts(int value)
Copy the current immutable object by setting a value for thesampledImageColorSampleCounts
attribute.VulkanPhysicalDeviceLimits
withSampledImageDepthSampleCounts(int value)
Copy the current immutable object by setting a value for thesampledImageDepthSampleCounts
attribute.VulkanPhysicalDeviceLimits
withSampledImageIntegerSampleCounts(int value)
Copy the current immutable object by setting a value for thesampledImageIntegerSampleCounts
attribute.VulkanPhysicalDeviceLimits
withSampledImageStencilSampleCounts(int value)
Copy the current immutable object by setting a value for thesampledImageStencilSampleCounts
attribute.VulkanPhysicalDeviceLimits
withSparseAddressSpaceSize(long value)
Copy the current immutable object by setting a value for thesparseAddressSpaceSize
attribute.VulkanPhysicalDeviceLimits
withStandardSampleLocations(boolean value)
Copy the current immutable object by setting a value for thestandardSampleLocations
attribute.VulkanPhysicalDeviceLimits
withStorageImageSampleCounts(int value)
Copy the current immutable object by setting a value for thestorageImageSampleCounts
attribute.VulkanPhysicalDeviceLimits
withStrictLines(boolean value)
Copy the current immutable object by setting a value for thestrictLines
attribute.VulkanPhysicalDeviceLimits
withSubPixelInterpolationOffsetBits(int value)
Copy the current immutable object by setting a value for thesubPixelInterpolationOffsetBits
attribute.VulkanPhysicalDeviceLimits
withSubPixelPrecisionBits(int value)
Copy the current immutable object by setting a value for thesubPixelPrecisionBits
attribute.VulkanPhysicalDeviceLimits
withSubTexelPrecisionBits(int value)
Copy the current immutable object by setting a value for thesubTexelPrecisionBits
attribute.VulkanPhysicalDeviceLimits
withTimestampComputeAndGraphics(boolean value)
Copy the current immutable object by setting a value for thetimestampComputeAndGraphics
attribute.VulkanPhysicalDeviceLimits
withTimestampPeriod(float value)
Copy the current immutable object by setting a value for thetimestampPeriod
attribute.VulkanPhysicalDeviceLimits
withViewportBoundsRange(VulkanViewportBoundsRange value)
Copy the current immutable object by setting a value for theviewportBoundsRange
attribute.VulkanPhysicalDeviceLimits
withViewportSubPixelBits(int value)
Copy the current immutable object by setting a value for theviewportSubPixelBits
attribute.
-
-
-
Method Detail
-
bufferImageGranularity
public long bufferImageGranularity()
- Specified by:
bufferImageGranularity
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the granularity, in bytes, at which buffer or linear image resources, and optimal image resources can be bound to adjacent offsets in the same VkDeviceMemory object without aliasing.
-
discreteQueuePriorities
public int discreteQueuePriorities()
- Specified by:
discreteQueuePriorities
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the number of discrete priorities that can be assigned to a queue based on the value of each member of VkDeviceQueueCreateInfo::pQueuePriorities. This must be at least 2, and levels must be spread evenly over the range, with at least one level at 1.0, and another at 0.0. For example, if this value is 2 bits then when linearly filtering between two levels, each level could: contribute: 0%, 33%, 66%, or 100% (this is just an example and the amount of contribution should be covered by different equations in the spec).
-
framebufferColorSampleCounts
public int framebufferColorSampleCounts()
- Specified by:
framebufferColorSampleCounts
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- a bitmask1 of VkSampleCountFlagBits indicating the color sample counts that are supported for all framebuffer color attachments with floating- or fixed-point formats. There is no limit that specifies the color sample counts that are supported for all color attachments with integer formats.
-
framebufferDepthSampleCounts
public int framebufferDepthSampleCounts()
- Specified by:
framebufferDepthSampleCounts
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- a bitmask1 of VkSampleCountFlagBits indicating the supported depth sample counts for all framebuffer depth/stencil attachments, when the format includes a depth component.
-
framebufferNoAttachmentsSampleCounts
public int framebufferNoAttachmentsSampleCounts()
- Specified by:
framebufferNoAttachmentsSampleCounts
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- a bitmask1 of VkSampleCountFlagBits indicating the supported sample counts for a framebuffer with no attachments.
-
framebufferStencilSampleCounts
public int framebufferStencilSampleCounts()
- Specified by:
framebufferStencilSampleCounts
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- a bitmask1 of VkSampleCountFlagBits indicating the supported stencil sample counts for all framebuffer depth/stencil attachments, when the format includes a stencil component.
-
lineWidthGranularity
public float lineWidthGranularity()
- Specified by:
lineWidthGranularity
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the granularity of supported line widths. Not all line widths in the range defined by lineWidthRange are supported. This limit specifies the granularity (or increment) between successive supported line widths.
-
lineWidthRange
public VulkanLineWidthRange lineWidthRange()
- Specified by:
lineWidthRange
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the range [minimum,maximum] of supported widths for lines. Values specified by the lineWidth member of the VkPipelineRasterizationStateCreateInfo or the lineWidth parameter to vkCmdSetLineWidth are clamped to this range.
-
maxBoundDescriptorSets
public int maxBoundDescriptorSets()
- Specified by:
maxBoundDescriptorSets
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of descriptor sets that can be simultaneously used by a pipeline. All DescriptorSet decorations in shader modules must have a value less than maxBoundDescriptorSets.
-
maxClipDistances
public int maxClipDistances()
- Specified by:
maxClipDistances
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of clip distances that can be used in a single shader stage. The size of any array declared with the ClipDistance built-in decoration in a shader module must be less than or equal to this limit.
-
maxColorAttachments
public int maxColorAttachments()
- Specified by:
maxColorAttachments
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of color attachments that can be used by a subpass in a render pass. The colorAttachmentCount member of the VkSubpassDescription structure must be less than or equal to this limit.
-
maxCombinedClipAndCullDistances
public int maxCombinedClipAndCullDistances()
- Specified by:
maxCombinedClipAndCullDistances
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum combined number of clip and cull distances that can be used in a single shader stage. The sum of the sizes of any pair of arrays declared with the ClipDistance and CullDistance built-in decoration used by a single shader stage in a shader module must be less than or equal to this limit.
-
maxComputeSharedMemorySize
public int maxComputeSharedMemorySize()
- Specified by:
maxComputeSharedMemorySize
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum total storage size, in bytes, of all variables declared with the WorkgroupLocal storage class in shader modules (or with the shared storage qualifier in GLSL) in the compute shader stage.
-
maxComputeWorkGroupCount
public VulkanComputeWorkGroupCount maxComputeWorkGroupCount()
- Specified by:
maxComputeWorkGroupCount
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of local workgroups that can be dispatched by a single dispatch command. These three values represent the maximum number of local workgroups for the X, Y, and Z dimensions, respectively. The workgroup count parameters to the dispatch commands must be less than or equal to the corresponding limit.
-
maxComputeWorkGroupInvocations
public int maxComputeWorkGroupInvocations()
- Specified by:
maxComputeWorkGroupInvocations
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum total number of compute shader invocations in a single local workgroup. The product of the X, Y, and Z sizes as specified by the LocalSize execution mode in shader modules and by the object decorated by the WorkgroupSize decoration must be less than or equal to this limit.
-
maxComputeWorkGroupSize
public VulkanComputeWorkGroupSize maxComputeWorkGroupSize()
- Specified by:
maxComputeWorkGroupSize
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum size of a local compute workgroup, per dimension. These three values represent the maximum local workgroup size in the X, Y, and Z dimensions, respectively. The x, y, and z sizes specified by the LocalSize execution mode and by the object decorated by the WorkgroupSize decoration in shader modules must be less than or equal to the corresponding limit.
-
maxCullDistances
public int maxCullDistances()
- Specified by:
maxCullDistances
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of cull distances that can be used in a single shader stage. The size of any array declared with the CullDistance built-in decoration in a shader module must be less than or equal to this limit.
-
maxDescriptorSetInputAttachments
public int maxDescriptorSetInputAttachments()
- Specified by:
maxDescriptorSetInputAttachments
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of input attachments that can be included in descriptor bindings in a pipeline layout across all pipeline shader stages and descriptor set numbers. Descriptors with a type of VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT count against this limit. Only descriptors in descriptor set layouts created without the VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit.
-
maxDescriptorSetSampledImages
public int maxDescriptorSetSampledImages()
- Specified by:
maxDescriptorSetSampledImages
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of sampled images that can be included in descriptor bindings in a pipeline layout across all pipeline shader stages and descriptor set numbers. Descriptors with a type of VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, or VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER count against this limit. Only descriptors in descriptor set layouts created without the VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit.
-
maxDescriptorSetSamplers
public int maxDescriptorSetSamplers()
- Specified by:
maxDescriptorSetSamplers
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of samplers that can be included in descriptor bindings in a pipeline layout across all pipeline shader stages and descriptor set numbers. Descriptors with a type of VK_DESCRIPTOR_TYPE_SAMPLER or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER count against this limit. Only descriptors in descriptor set layouts created without the VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit.
-
maxDescriptorSetStorageBuffersDynamic
public int maxDescriptorSetStorageBuffersDynamic()
- Specified by:
maxDescriptorSetStorageBuffersDynamic
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of dynamic storage buffers that can be included in descriptor bindings in a pipeline layout across all pipeline shader stages and descriptor set numbers. Descriptors with a type of VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC count against this limit. Only descriptors in descriptor set layouts created without the VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit.
-
maxDescriptorSetStorageBuffers
public int maxDescriptorSetStorageBuffers()
- Specified by:
maxDescriptorSetStorageBuffers
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of storage buffers that can be included in descriptor bindings in a pipeline layout across all pipeline shader stages and descriptor set numbers. Descriptors with a type of VK_DESCRIPTOR_TYPE_STORAGE_BUFFER or VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC count against this limit. Only descriptors in descriptor set layouts created without the VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit.
-
maxDescriptorSetStorageImages
public int maxDescriptorSetStorageImages()
- Specified by:
maxDescriptorSetStorageImages
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of storage images that can be included in descriptor bindings in a pipeline layout across all pipeline shader stages and descriptor set numbers. Descriptors with a type of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, or VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER count against this limit. Only descriptors in descriptor set layouts created without the VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit.
-
maxDescriptorSetUniformBuffersDynamic
public int maxDescriptorSetUniformBuffersDynamic()
- Specified by:
maxDescriptorSetUniformBuffersDynamic
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of dynamic uniform buffers that can be included in descriptor bindings in a pipeline layout across all pipeline shader stages and descriptor set numbers. Descriptors with a type of VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC count against this limit. Only descriptors in descriptor set layouts created without the VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit.
-
maxDescriptorSetUniformBuffers
public int maxDescriptorSetUniformBuffers()
- Specified by:
maxDescriptorSetUniformBuffers
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of uniform buffers that can be included in descriptor bindings in a pipeline layout across all pipeline shader stages and descriptor set numbers. Descriptors with a type of VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER or VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC count against this limit. Only descriptors in descriptor set layouts created without the VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit.
-
maxDrawIndexedIndexValue
public int maxDrawIndexedIndexValue()
- Specified by:
maxDrawIndexedIndexValue
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum index value that can be used for indexed draw calls when using 32-bit indices. This excludes the primitive restart index value of 0xFFFFFFFF.
-
maxDrawIndirectCount
public int maxDrawIndirectCount()
- Specified by:
maxDrawIndirectCount
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum draw count that is supported for indirect draw calls.
-
maxFragmentCombinedOutputResources
public int maxFragmentCombinedOutputResources()
- Specified by:
maxFragmentCombinedOutputResources
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the total number of storage buffers, storage images, and output buffers which can be used in the fragment shader stage.
-
maxFragmentDualSrcAttachments
public int maxFragmentDualSrcAttachments()
- Specified by:
maxFragmentDualSrcAttachments
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of output attachments which can be written to by the fragment shader stage when blending is enabled and one of the dual source blend modes is in use.
-
maxFragmentInputComponents
public int maxFragmentInputComponents()
- Specified by:
maxFragmentInputComponents
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of components of input variables which can be provided as inputs to the fragment shader stage.
-
maxFragmentOutputAttachments
public int maxFragmentOutputAttachments()
- Specified by:
maxFragmentOutputAttachments
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of output attachments which can be written to by the fragment shader stage.
-
maxFramebufferHeight
public int maxFramebufferHeight()
- Specified by:
maxFramebufferHeight
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum height for a framebuffer. The height member of the VkFramebufferCreateInfo structure must be less than or equal to this limit.
-
maxFramebufferLayers
public int maxFramebufferLayers()
- Specified by:
maxFramebufferLayers
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum layer count for a layered framebuffer. The layers member of the VkFramebufferCreateInfo structure must be less than or equal to this limit.
-
maxFramebufferWidth
public int maxFramebufferWidth()
- Specified by:
maxFramebufferWidth
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum width for a framebuffer. The width member of the VkFramebufferCreateInfo structure must be less than or equal to this limit.
-
maxGeometryInputComponents
public int maxGeometryInputComponents()
- Specified by:
maxGeometryInputComponents
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of components of input variables which can be provided as inputs to the geometry shader stage.
-
maxGeometryOutputComponents
public int maxGeometryOutputComponents()
- Specified by:
maxGeometryOutputComponents
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of components of output variables which can be output from the geometry shader stage.
-
maxGeometryOutputVertices
public int maxGeometryOutputVertices()
- Specified by:
maxGeometryOutputVertices
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of vertices which can be emitted by any geometry shader.
-
maxGeometryShaderInvocations
public int maxGeometryShaderInvocations()
- Specified by:
maxGeometryShaderInvocations
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum invocation count supported for instanced geometry shaders. The value provided in the Invocations execution mode of shader modules must be less than or equal to this limit.
-
maxGeometryTotalOutputComponents
public int maxGeometryTotalOutputComponents()
- Specified by:
maxGeometryTotalOutputComponents
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum total number of components of output, across all emitted vertices, which can be output from the geometry shader stage.
-
maxImageArrayLayers
public int maxImageArrayLayers()
- Specified by:
maxImageArrayLayers
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of layers (arrayLayers) for an image.
-
maxImageDimension1D
public int maxImageDimension1D()
- Specified by:
maxImageDimension1D
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum dimension (width) supported for all images created with an imageType of VK_IMAGE_TYPE_1D.
-
maxImageDimension2D
public int maxImageDimension2D()
- Specified by:
maxImageDimension2D
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum dimension (width or height) supported for all images created with an imageType of VK_IMAGE_TYPE_2D and without VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT set in flags.
-
maxImageDimension3D
public int maxImageDimension3D()
- Specified by:
maxImageDimension3D
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum dimension (width, height, or depth) supported for all images created with an imageType of VK_IMAGE_TYPE_3D.
-
maxImageDimensionCube
public int maxImageDimensionCube()
- Specified by:
maxImageDimensionCube
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum dimension (width or height) supported for all images created with an imageType of VK_IMAGE_TYPE_2D and with VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT set in flags.
-
maxInterpolationOffset
public float maxInterpolationOffset()
- Specified by:
maxInterpolationOffset
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum positive offset value for the offset operand of the InterpolateAtOffset extended instruction.
-
maxMemoryAllocationCount
public int maxMemoryAllocationCount()
- Specified by:
maxMemoryAllocationCount
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of device memory allocations, as created by vkAllocateMemory, which can simultaneously exist.
-
maxPerStageDescriptorInputAttachments
public int maxPerStageDescriptorInputAttachments()
- Specified by:
maxPerStageDescriptorInputAttachments
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of input attachments that can be accessible to a single shader stage in a pipeline layout. Descriptors with a type of VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT count against this limit. Only descriptors in descriptor set layouts created without the VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit. A descriptor is accessible to a pipeline shader stage when the stageFlags member of the VkDescriptorSetLayoutBinding structure has the bit for that shader stage set. These are only supported for the fragment stage.
-
maxPerStageDescriptorSampledImages
public int maxPerStageDescriptorSampledImages()
- Specified by:
maxPerStageDescriptorSampledImages
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of sampled images that can be accessible to a single shader stage in a pipeline layout. Descriptors with a type of VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, or VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER count against this limit. Only descriptors in descriptor set layouts created without the VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit. A descriptor is accessible to a pipeline shader stage when the stageFlags member of the VkDescriptorSetLayoutBinding structure has the bit for that shader stage set.
-
maxPerStageDescriptorSamplers
public int maxPerStageDescriptorSamplers()
- Specified by:
maxPerStageDescriptorSamplers
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of samplers that can be accessible to a single shader stage in a pipeline layout. Descriptors with a type of VK_DESCRIPTOR_TYPE_SAMPLER or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER count against this limit. Only descriptors in descriptor set layouts created without the VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit. A descriptor is accessible to a shader stage when the stageFlags member of the VkDescriptorSetLayoutBinding structure has the bit for that shader stage set.
-
maxPerStageDescriptorStorageBuffers
public int maxPerStageDescriptorStorageBuffers()
- Specified by:
maxPerStageDescriptorStorageBuffers
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of storage buffers that can be accessible to a single shader stage in a pipeline layout. Descriptors with a type of VK_DESCRIPTOR_TYPE_STORAGE_BUFFER or VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC count against this limit. Only descriptors in descriptor set layouts created without the VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit. A descriptor is accessible to a pipeline shader stage when the stageFlags member of the VkDescriptorSetLayoutBinding structure has the bit for that shader stage set.
-
maxPerStageDescriptorStorageImages
public int maxPerStageDescriptorStorageImages()
- Specified by:
maxPerStageDescriptorStorageImages
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of storage images that can be accessible to a single shader stage in a pipeline layout. Descriptors with a type of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, or VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER count against this limit. Only descriptors in descriptor set layouts created without the VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit. A descriptor is accessible to a pipeline shader stage when the stageFlags member of the VkDescriptorSetLayoutBinding structure has the bit for that shader stage set.
-
maxPerStageDescriptorUniformBuffers
public int maxPerStageDescriptorUniformBuffers()
- Specified by:
maxPerStageDescriptorUniformBuffers
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of uniform buffers that can be accessible to a single shader stage in a pipeline layout. Descriptors with a type of VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER or VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC count against this limit. Only descriptors in descriptor set layouts created without the VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit. A descriptor is accessible to a shader stage when the stageFlags member of the VkDescriptorSetLayoutBinding structure has the bit for that shader stage set.
-
maxPerStageResources
public int maxPerStageResources()
- Specified by:
maxPerStageResources
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of resources that can be accessible to a single shader stage in a pipeline layout. Descriptors with a type of VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER, VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC, VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC, or VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT count against this limit. Only descriptors in descriptor set layouts created without the VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit. For the fragment shader stage the framebuffer color attachments also count against this limit.
-
maxPushConstantsSize
public int maxPushConstantsSize()
- Specified by:
maxPushConstantsSize
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum size, in bytes, of the pool of push constant memory. For each of the push constant ranges indicated by the pPushConstantRanges member of the VkPipelineLayoutCreateInfo structure, (offset + size) must be less than or equal to this limit.
-
maxSampleMaskWords
public int maxSampleMaskWords()
- Specified by:
maxSampleMaskWords
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of array elements of a variable decorated with the SampleMask built-in decoration.
-
maxSamplerAllocationCount
public int maxSamplerAllocationCount()
- Specified by:
maxSamplerAllocationCount
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of sampler objects, as created by vkCreateSampler, which can simultaneously exist on a device.
-
maxSamplerAnisotropy
public float maxSamplerAnisotropy()
- Specified by:
maxSamplerAnisotropy
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum degree of sampler anisotropy. The maximum degree of anisotropic filtering used for an image sampling operation is the minimum of the maxAnisotropy member of the VkSamplerCreateInfo structure and this limit.
-
maxSamplerLodBias
public float maxSamplerLodBias()
- Specified by:
maxSamplerLodBias
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum absolute sampler LOD bias. The sum of the mipLodBias member of the VkSamplerCreateInfo structure and the Bias operand of image sampling operations in shader modules (or 0 if no Bias operand is provided to an image sampling operation) are clamped to the range [-maxSamplerLodBias,+maxSamplerLodBias].
-
maxStorageBufferRange
public int maxStorageBufferRange()
- Specified by:
maxStorageBufferRange
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum value that can be specified in the range member of any VkDescriptorBufferInfo structures passed to a call to vkUpdateDescriptorSets for descriptors of type VK_DESCRIPTOR_TYPE_STORAGE_BUFFER or VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC.
-
maxTessellationControlPerPatchOutputComponents
public int maxTessellationControlPerPatchOutputComponents()
- Specified by:
maxTessellationControlPerPatchOutputComponents
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of components of per-patch output variables which can be output from the tessellation control shader stage.
-
maxTessellationControlPerVertexInputComponents
public int maxTessellationControlPerVertexInputComponents()
- Specified by:
maxTessellationControlPerVertexInputComponents
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of components of input variables which can be provided as per-vertex inputs to the tessellation control shader stage.
-
maxTessellationControlPerVertexOutputComponents
public int maxTessellationControlPerVertexOutputComponents()
- Specified by:
maxTessellationControlPerVertexOutputComponents
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of components of per-vertex output variables which can be output from the tessellation control shader stage.
-
maxTessellationControlTotalOutputComponents
public int maxTessellationControlTotalOutputComponents()
- Specified by:
maxTessellationControlTotalOutputComponents
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum total number of components of per-vertex and per-patch output variables which can be output from the tessellation control shader stage.
-
maxTessellationEvaluationInputComponents
public int maxTessellationEvaluationInputComponents()
- Specified by:
maxTessellationEvaluationInputComponents
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of components of input variables which can be provided as per-vertex inputs to the tessellation evaluation shader stage.
-
maxTessellationEvaluationOutputComponents
public int maxTessellationEvaluationOutputComponents()
- Specified by:
maxTessellationEvaluationOutputComponents
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of components of per-vertex output variables which can be output from the tessellation evaluation shader stage.
-
maxTessellationGenerationLevel
public int maxTessellationGenerationLevel()
- Specified by:
maxTessellationGenerationLevel
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum tessellation generation level supported by the fixed-function tessellation primitive generator.
-
maxTessellationPatchSize
public int maxTessellationPatchSize()
- Specified by:
maxTessellationPatchSize
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum patch size, in vertices, of patches that can be processed by the tessellation control shader and tessellation primitive generator. The patchControlPoints member of the VkPipelineTessellationStateCreateInfo structure specified at pipeline creation time and the value provided in the OutputVertices execution mode of shader modules must be less than or equal to this limit.
-
maxTexelBufferElements
public int maxTexelBufferElements()
- Specified by:
maxTexelBufferElements
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of addressable texels for a buffer view created on a buffer which was created with the VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT or VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT set in the usage member of the VkBufferCreateInfo structure.
-
maxTexelGatherOffset
public int maxTexelGatherOffset()
- Specified by:
maxTexelGatherOffset
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum offset value for the Offset or ConstOffsets image operands of any of the OpImage*Gather image instructions.
-
maxTexelOffset
public int maxTexelOffset()
- Specified by:
maxTexelOffset
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum offset value for the ConstOffset image operand of any of the OpImageSample* or OpImageFetch* image instructions.
-
maxUniformBufferRange
public int maxUniformBufferRange()
- Specified by:
maxUniformBufferRange
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum value that can be specified in the range member of any VkDescriptorBufferInfo structures passed to a call to vkUpdateDescriptorSets for descriptors of type VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER or VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC.
-
maxVertexInputAttributeOffset
public int maxVertexInputAttributeOffset()
- Specified by:
maxVertexInputAttributeOffset
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum vertex input attribute offset that can be added to the vertex input binding stride. The offset member of the VkVertexInputAttributeDescription structure must be less than or equal to this limit.
-
maxVertexInputAttributes
public int maxVertexInputAttributes()
- Specified by:
maxVertexInputAttributes
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of vertex input attributes that can be specified for a graphics pipeline. These are described in the array of VkVertexInputAttributeDescription structures that are provided at graphics pipeline creation time via the pVertexAttributeDescriptions member of the VkPipelineVertexInputStateCreateInfo structure.
-
maxVertexInputBindings
public int maxVertexInputBindings()
- Specified by:
maxVertexInputBindings
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of vertex buffers that can be specified for providing vertex attributes to a graphics pipeline. These are described in the array of VkVertexInputBindingDescription structures that are provided at graphics pipeline creation time via the pVertexBindingDescriptions member of the VkPipelineVertexInputStateCreateInfo structure. The binding member of VkVertexInputBindingDescription must be less than this limit.
-
maxVertexInputBindingStride
public int maxVertexInputBindingStride()
- Specified by:
maxVertexInputBindingStride
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum vertex input binding stride that can be specified in a vertex input binding. The stride member of the VkVertexInputBindingDescription structure must be less than or equal to this limit.
-
maxVertexOutputComponents
public int maxVertexOutputComponents()
- Specified by:
maxVertexOutputComponents
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of components of output variables which can be output by a vertex shader.
-
maxViewportDimensions
public VulkanViewportDimensions maxViewportDimensions()
- Specified by:
maxViewportDimensions
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- are the maximum viewport dimensions in the X (width) and Y (height) dimensions, respectively. The maximum viewport dimensions must be greater than or equal to the largest image which can be created and used as a framebuffer attachment.
-
maxViewports
public int maxViewports()
- Specified by:
maxViewports
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the maximum number of active viewports. The viewportCount member of the VkPipelineViewportStateCreateInfo structure that is provided at pipeline creation must be less than or equal to this limit.
-
minInterpolationOffset
public float minInterpolationOffset()
- Specified by:
minInterpolationOffset
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the minimum negative offset value for the offset operand of the InterpolateAtOffset extended instruction.
-
minMemoryMapAlignment
public long minMemoryMapAlignment()
- Specified by:
minMemoryMapAlignment
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the minimum required alignment, in bytes, of host visible memory allocations within the host address space. When mapping a memory allocation with vkMapMemory, subtracting offset bytes from the returned pointer will always produce an integer multiple of this limit.
-
minStorageBufferOffsetAlignment
public long minStorageBufferOffsetAlignment()
- Specified by:
minStorageBufferOffsetAlignment
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the minimum required alignment, in bytes, for the offset member of the VkDescriptorBufferInfo structure for storage buffers. When a descriptor of type VK_DESCRIPTOR_TYPE_STORAGE_BUFFER or VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC is updated, the offset must be an integer multiple of this limit. Similarly, dynamic offsets for storage buffers must be multiples of this limit.
-
minTexelBufferOffsetAlignment
public long minTexelBufferOffsetAlignment()
- Specified by:
minTexelBufferOffsetAlignment
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the minimum required alignment, in bytes, for the offset member of the VkBufferViewCreateInfo structure for texel buffers. When a buffer view is created for a buffer which was created with VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT or VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT set in the usage member of the VkBufferCreateInfo structure, the offset must be an integer multiple of this limit.
-
minTexelGatherOffset
public int minTexelGatherOffset()
- Specified by:
minTexelGatherOffset
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the minimum offset value for the Offset or ConstOffsets image operands of any of the OpImage*Gather image instructions.
-
minTexelOffset
public int minTexelOffset()
- Specified by:
minTexelOffset
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the minimum offset value for the ConstOffset image operand of any of the OpImageSample* or OpImageFetch* image instructions.
-
minUniformBufferOffsetAlignment
public long minUniformBufferOffsetAlignment()
- Specified by:
minUniformBufferOffsetAlignment
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the minimum required alignment, in bytes, for the offset member of the VkDescriptorBufferInfo structure for uniform buffers. When a descriptor of type VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER or VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC is updated, the offset must be an integer multiple of this limit. Similarly, dynamic offsets for uniform buffers must be multiples of this limit.
-
mipmapPrecisionBits
public int mipmapPrecisionBits()
- Specified by:
mipmapPrecisionBits
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the number of bits of division that the LOD calculation for mipmap fetching get snapped to when determining the contribution from each mip level to the mip filtered results. 2mipmapPrecisionBits is the actual number of divisions.
-
nonCoherentAtomSize
public long nonCoherentAtomSize()
- Specified by:
nonCoherentAtomSize
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the size and alignment in bytes that bounds concurrent access to host-mapped device memory.
-
optimalBufferCopyOffsetAlignment
public long optimalBufferCopyOffsetAlignment()
- Specified by:
optimalBufferCopyOffsetAlignment
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the optimal buffer offset alignment in bytes for vkCmdCopyBufferToImage and vkCmdCopyImageToBuffer. The per texel alignment requirements are enforced, but applications should use the optimal alignment for optimal performance and power use.
-
optimalBufferCopyRowPitchAlignment
public long optimalBufferCopyRowPitchAlignment()
- Specified by:
optimalBufferCopyRowPitchAlignment
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the optimal buffer row pitch alignment in bytes for vkCmdCopyBufferToImage and vkCmdCopyImageToBuffer. Row pitch is the number of bytes between texels with the same X coordinate in adjacent rows (Y coordinates differ by one). The per texel alignment requirements are enforced, but applications should use the optimal alignment for optimal performance and power use.
-
pointSizeGranularity
public float pointSizeGranularity()
- Specified by:
pointSizeGranularity
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the granularity of supported point sizes. Not all point sizes in the range defined by pointSizeRange are supported. This limit specifies the granularity (or increment) between successive supported point sizes.
-
pointSizeRange
public VulkanPointSizeRange pointSizeRange()
- Specified by:
pointSizeRange
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the range [minimum,maximum] of supported sizes for points. Values written to variables decorated with the PointSize built-in decoration are clamped to this range.
-
sampledImageColorSampleCounts
public int sampledImageColorSampleCounts()
- Specified by:
sampledImageColorSampleCounts
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- a bitmask1 of VkSampleCountFlagBits indicating the sample counts supported for all 2D images created with VK_IMAGE_TILING_OPTIMAL, usage containing VK_IMAGE_USAGE_SAMPLED_BIT, and a non-integer color format.
-
sampledImageDepthSampleCounts
public int sampledImageDepthSampleCounts()
- Specified by:
sampledImageDepthSampleCounts
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- a bitmask1 of VkSampleCountFlagBits indicating the sample counts supported for all 2D images created with VK_IMAGE_TILING_OPTIMAL, usage containing VK_IMAGE_USAGE_SAMPLED_BIT, and a depth format.
-
sampledImageIntegerSampleCounts
public int sampledImageIntegerSampleCounts()
- Specified by:
sampledImageIntegerSampleCounts
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- a bitmask1 of VkSampleCountFlagBits indicating the sample counts supported for all 2D images created with VK_IMAGE_TILING_OPTIMAL, usage containing VK_IMAGE_USAGE_SAMPLED_BIT, and an integer color format.
-
sampledImageStencilSampleCounts
public int sampledImageStencilSampleCounts()
- Specified by:
sampledImageStencilSampleCounts
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- a bitmask1 of VkSampleCountFlagBits indicating the sample supported for all 2D images created with VK_IMAGE_TILING_OPTIMAL, usage containing VK_IMAGE_USAGE_SAMPLED_BIT, and a stencil format.
-
sparseAddressSpaceSize
public long sparseAddressSpaceSize()
- Specified by:
sparseAddressSpaceSize
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the total amount of address space available, in bytes, for sparse memory resources. This is an upper bound on the sum of the size of all sparse resources, regardless of whether any memory is bound to them.
-
standardSampleLocations
public boolean standardSampleLocations()
- Specified by:
standardSampleLocations
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- specifies whether rasterization uses the standard sample locations as documented in Multisampling. If set to VK_TRUE, the implementation uses the documented sample locations. If set to VK_FALSE, the implementation may use different sample locations.
-
storageImageSampleCounts
public int storageImageSampleCounts()
- Specified by:
storageImageSampleCounts
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- a bitmask1 of VkSampleCountFlagBits indicating the sample counts supported for all 2D images created with VK_IMAGE_TILING_OPTIMAL, and usage containing VK_IMAGE_USAGE_STORAGE_BIT.
-
strictLines
public boolean strictLines()
- Specified by:
strictLines
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- specifies whether lines are rasterized according to the preferred method of rasterization. If set to VK_FALSE, lines may be rasterized under a relaxed set of rules. If set to VK_TRUE, lines are rasterized as per the strict definition.
-
subPixelInterpolationOffsetBits
public int subPixelInterpolationOffsetBits()
- Specified by:
subPixelInterpolationOffsetBits
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the number of subpixel fractional bits that the x and y offsets to the InterpolateAtOffset extended instruction may be rounded to as fixed-point values.
-
subPixelPrecisionBits
public int subPixelPrecisionBits()
- Specified by:
subPixelPrecisionBits
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the number of bits of subpixel precision in framebuffer coordinates xf and yf.
-
subTexelPrecisionBits
public int subTexelPrecisionBits()
- Specified by:
subTexelPrecisionBits
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the number of bits of precision in the division along an axis of an image used for minification and magnification filters. 2subTexelPrecisionBits is the actual number of divisions along each axis of the image represented. Sub-texel values calculated during image sampling will snap to these locations when generating the filtered results.
-
timestampComputeAndGraphics
public boolean timestampComputeAndGraphics()
- Specified by:
timestampComputeAndGraphics
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- specifies support for timestamps on all graphics and compute queues. If this limit is set to VK_TRUE, all queues that advertise the VK_QUEUE_GRAPHICS_BIT or VK_QUEUE_COMPUTE_BIT in the VkQueueFamilyProperties::queueFlags support VkQueueFamilyProperties::timestampValidBits of at least 36.
-
timestampPeriod
public float timestampPeriod()
- Specified by:
timestampPeriod
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the number of nanoseconds required for a timestamp query to be incremented by 1.
-
viewportBoundsRange
public VulkanViewportBoundsRange viewportBoundsRange()
- Specified by:
viewportBoundsRange
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the [minimum, maximum] range that the corners of a viewport must be contained in. This range must be at least [-2 × size, 2 × size - 1], where size = max(maxViewportDimensions[0], maxViewportDimensions[1]). The intent of the viewportBoundsRange limit is to allow a maximum sized viewport to be arbitrarily shifted relative to the output target as long as at least some portion intersects. This would give a bounds limit of [-size + 1, 2 × size - 1] which would allow all possible non-empty-set intersections of the output target and the viewport. Since these numbers are typically powers of two, picking the signed number range using the smallest possible number of bits ends up with the specified range.
-
viewportSubPixelBits
public int viewportSubPixelBits()
- Specified by:
viewportSubPixelBits
in interfaceVulkanPhysicalDeviceLimitsType
- Returns:
- the number of bits of subpixel precision for viewport bounds. The subpixel precision that floating-point viewport bounds are interpreted at is given by this limit.
-
withBufferImageGranularity
public final VulkanPhysicalDeviceLimits withBufferImageGranularity(long value)
Copy the current immutable object by setting a value for thebufferImageGranularity
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for bufferImageGranularity- Returns:
- A modified copy of the
this
object
-
withDiscreteQueuePriorities
public final VulkanPhysicalDeviceLimits withDiscreteQueuePriorities(int value)
Copy the current immutable object by setting a value for thediscreteQueuePriorities
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for discreteQueuePriorities- Returns:
- A modified copy of the
this
object
-
withFramebufferColorSampleCounts
public final VulkanPhysicalDeviceLimits withFramebufferColorSampleCounts(int value)
Copy the current immutable object by setting a value for theframebufferColorSampleCounts
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for framebufferColorSampleCounts- Returns:
- A modified copy of the
this
object
-
withFramebufferDepthSampleCounts
public final VulkanPhysicalDeviceLimits withFramebufferDepthSampleCounts(int value)
Copy the current immutable object by setting a value for theframebufferDepthSampleCounts
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for framebufferDepthSampleCounts- Returns:
- A modified copy of the
this
object
-
withFramebufferNoAttachmentsSampleCounts
public final VulkanPhysicalDeviceLimits withFramebufferNoAttachmentsSampleCounts(int value)
Copy the current immutable object by setting a value for theframebufferNoAttachmentsSampleCounts
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for framebufferNoAttachmentsSampleCounts- Returns:
- A modified copy of the
this
object
-
withFramebufferStencilSampleCounts
public final VulkanPhysicalDeviceLimits withFramebufferStencilSampleCounts(int value)
Copy the current immutable object by setting a value for theframebufferStencilSampleCounts
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for framebufferStencilSampleCounts- Returns:
- A modified copy of the
this
object
-
withLineWidthGranularity
public final VulkanPhysicalDeviceLimits withLineWidthGranularity(float value)
Copy the current immutable object by setting a value for thelineWidthGranularity
attribute. A value strict bits equality used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for lineWidthGranularity- Returns:
- A modified copy of the
this
object
-
withLineWidthRange
public final VulkanPhysicalDeviceLimits withLineWidthRange(VulkanLineWidthRange value)
Copy the current immutable object by setting a value for thelineWidthRange
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for lineWidthRange- Returns:
- A modified copy of the
this
object
-
withMaxBoundDescriptorSets
public final VulkanPhysicalDeviceLimits withMaxBoundDescriptorSets(int value)
Copy the current immutable object by setting a value for themaxBoundDescriptorSets
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxBoundDescriptorSets- Returns:
- A modified copy of the
this
object
-
withMaxClipDistances
public final VulkanPhysicalDeviceLimits withMaxClipDistances(int value)
Copy the current immutable object by setting a value for themaxClipDistances
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxClipDistances- Returns:
- A modified copy of the
this
object
-
withMaxColorAttachments
public final VulkanPhysicalDeviceLimits withMaxColorAttachments(int value)
Copy the current immutable object by setting a value for themaxColorAttachments
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxColorAttachments- Returns:
- A modified copy of the
this
object
-
withMaxCombinedClipAndCullDistances
public final VulkanPhysicalDeviceLimits withMaxCombinedClipAndCullDistances(int value)
Copy the current immutable object by setting a value for themaxCombinedClipAndCullDistances
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxCombinedClipAndCullDistances- Returns:
- A modified copy of the
this
object
-
withMaxComputeSharedMemorySize
public final VulkanPhysicalDeviceLimits withMaxComputeSharedMemorySize(int value)
Copy the current immutable object by setting a value for themaxComputeSharedMemorySize
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxComputeSharedMemorySize- Returns:
- A modified copy of the
this
object
-
withMaxComputeWorkGroupCount
public final VulkanPhysicalDeviceLimits withMaxComputeWorkGroupCount(VulkanComputeWorkGroupCount value)
Copy the current immutable object by setting a value for themaxComputeWorkGroupCount
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxComputeWorkGroupCount- Returns:
- A modified copy of the
this
object
-
withMaxComputeWorkGroupInvocations
public final VulkanPhysicalDeviceLimits withMaxComputeWorkGroupInvocations(int value)
Copy the current immutable object by setting a value for themaxComputeWorkGroupInvocations
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxComputeWorkGroupInvocations- Returns:
- A modified copy of the
this
object
-
withMaxComputeWorkGroupSize
public final VulkanPhysicalDeviceLimits withMaxComputeWorkGroupSize(VulkanComputeWorkGroupSize value)
Copy the current immutable object by setting a value for themaxComputeWorkGroupSize
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxComputeWorkGroupSize- Returns:
- A modified copy of the
this
object
-
withMaxCullDistances
public final VulkanPhysicalDeviceLimits withMaxCullDistances(int value)
Copy the current immutable object by setting a value for themaxCullDistances
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxCullDistances- Returns:
- A modified copy of the
this
object
-
withMaxDescriptorSetInputAttachments
public final VulkanPhysicalDeviceLimits withMaxDescriptorSetInputAttachments(int value)
Copy the current immutable object by setting a value for themaxDescriptorSetInputAttachments
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxDescriptorSetInputAttachments- Returns:
- A modified copy of the
this
object
-
withMaxDescriptorSetSampledImages
public final VulkanPhysicalDeviceLimits withMaxDescriptorSetSampledImages(int value)
Copy the current immutable object by setting a value for themaxDescriptorSetSampledImages
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxDescriptorSetSampledImages- Returns:
- A modified copy of the
this
object
-
withMaxDescriptorSetSamplers
public final VulkanPhysicalDeviceLimits withMaxDescriptorSetSamplers(int value)
Copy the current immutable object by setting a value for themaxDescriptorSetSamplers
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxDescriptorSetSamplers- Returns:
- A modified copy of the
this
object
-
withMaxDescriptorSetStorageBuffersDynamic
public final VulkanPhysicalDeviceLimits withMaxDescriptorSetStorageBuffersDynamic(int value)
Copy the current immutable object by setting a value for themaxDescriptorSetStorageBuffersDynamic
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxDescriptorSetStorageBuffersDynamic- Returns:
- A modified copy of the
this
object
-
withMaxDescriptorSetStorageBuffers
public final VulkanPhysicalDeviceLimits withMaxDescriptorSetStorageBuffers(int value)
Copy the current immutable object by setting a value for themaxDescriptorSetStorageBuffers
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxDescriptorSetStorageBuffers- Returns:
- A modified copy of the
this
object
-
withMaxDescriptorSetStorageImages
public final VulkanPhysicalDeviceLimits withMaxDescriptorSetStorageImages(int value)
Copy the current immutable object by setting a value for themaxDescriptorSetStorageImages
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxDescriptorSetStorageImages- Returns:
- A modified copy of the
this
object
-
withMaxDescriptorSetUniformBuffersDynamic
public final VulkanPhysicalDeviceLimits withMaxDescriptorSetUniformBuffersDynamic(int value)
Copy the current immutable object by setting a value for themaxDescriptorSetUniformBuffersDynamic
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxDescriptorSetUniformBuffersDynamic- Returns:
- A modified copy of the
this
object
-
withMaxDescriptorSetUniformBuffers
public final VulkanPhysicalDeviceLimits withMaxDescriptorSetUniformBuffers(int value)
Copy the current immutable object by setting a value for themaxDescriptorSetUniformBuffers
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxDescriptorSetUniformBuffers- Returns:
- A modified copy of the
this
object
-
withMaxDrawIndexedIndexValue
public final VulkanPhysicalDeviceLimits withMaxDrawIndexedIndexValue(int value)
Copy the current immutable object by setting a value for themaxDrawIndexedIndexValue
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxDrawIndexedIndexValue- Returns:
- A modified copy of the
this
object
-
withMaxDrawIndirectCount
public final VulkanPhysicalDeviceLimits withMaxDrawIndirectCount(int value)
Copy the current immutable object by setting a value for themaxDrawIndirectCount
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxDrawIndirectCount- Returns:
- A modified copy of the
this
object
-
withMaxFragmentCombinedOutputResources
public final VulkanPhysicalDeviceLimits withMaxFragmentCombinedOutputResources(int value)
Copy the current immutable object by setting a value for themaxFragmentCombinedOutputResources
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxFragmentCombinedOutputResources- Returns:
- A modified copy of the
this
object
-
withMaxFragmentDualSrcAttachments
public final VulkanPhysicalDeviceLimits withMaxFragmentDualSrcAttachments(int value)
Copy the current immutable object by setting a value for themaxFragmentDualSrcAttachments
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxFragmentDualSrcAttachments- Returns:
- A modified copy of the
this
object
-
withMaxFragmentInputComponents
public final VulkanPhysicalDeviceLimits withMaxFragmentInputComponents(int value)
Copy the current immutable object by setting a value for themaxFragmentInputComponents
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxFragmentInputComponents- Returns:
- A modified copy of the
this
object
-
withMaxFragmentOutputAttachments
public final VulkanPhysicalDeviceLimits withMaxFragmentOutputAttachments(int value)
Copy the current immutable object by setting a value for themaxFragmentOutputAttachments
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxFragmentOutputAttachments- Returns:
- A modified copy of the
this
object
-
withMaxFramebufferHeight
public final VulkanPhysicalDeviceLimits withMaxFramebufferHeight(int value)
Copy the current immutable object by setting a value for themaxFramebufferHeight
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxFramebufferHeight- Returns:
- A modified copy of the
this
object
-
withMaxFramebufferLayers
public final VulkanPhysicalDeviceLimits withMaxFramebufferLayers(int value)
Copy the current immutable object by setting a value for themaxFramebufferLayers
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxFramebufferLayers- Returns:
- A modified copy of the
this
object
-
withMaxFramebufferWidth
public final VulkanPhysicalDeviceLimits withMaxFramebufferWidth(int value)
Copy the current immutable object by setting a value for themaxFramebufferWidth
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxFramebufferWidth- Returns:
- A modified copy of the
this
object
-
withMaxGeometryInputComponents
public final VulkanPhysicalDeviceLimits withMaxGeometryInputComponents(int value)
Copy the current immutable object by setting a value for themaxGeometryInputComponents
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxGeometryInputComponents- Returns:
- A modified copy of the
this
object
-
withMaxGeometryOutputComponents
public final VulkanPhysicalDeviceLimits withMaxGeometryOutputComponents(int value)
Copy the current immutable object by setting a value for themaxGeometryOutputComponents
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxGeometryOutputComponents- Returns:
- A modified copy of the
this
object
-
withMaxGeometryOutputVertices
public final VulkanPhysicalDeviceLimits withMaxGeometryOutputVertices(int value)
Copy the current immutable object by setting a value for themaxGeometryOutputVertices
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxGeometryOutputVertices- Returns:
- A modified copy of the
this
object
-
withMaxGeometryShaderInvocations
public final VulkanPhysicalDeviceLimits withMaxGeometryShaderInvocations(int value)
Copy the current immutable object by setting a value for themaxGeometryShaderInvocations
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxGeometryShaderInvocations- Returns:
- A modified copy of the
this
object
-
withMaxGeometryTotalOutputComponents
public final VulkanPhysicalDeviceLimits withMaxGeometryTotalOutputComponents(int value)
Copy the current immutable object by setting a value for themaxGeometryTotalOutputComponents
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxGeometryTotalOutputComponents- Returns:
- A modified copy of the
this
object
-
withMaxImageArrayLayers
public final VulkanPhysicalDeviceLimits withMaxImageArrayLayers(int value)
Copy the current immutable object by setting a value for themaxImageArrayLayers
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxImageArrayLayers- Returns:
- A modified copy of the
this
object
-
withMaxImageDimension1D
public final VulkanPhysicalDeviceLimits withMaxImageDimension1D(int value)
Copy the current immutable object by setting a value for themaxImageDimension1D
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxImageDimension1D- Returns:
- A modified copy of the
this
object
-
withMaxImageDimension2D
public final VulkanPhysicalDeviceLimits withMaxImageDimension2D(int value)
Copy the current immutable object by setting a value for themaxImageDimension2D
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxImageDimension2D- Returns:
- A modified copy of the
this
object
-
withMaxImageDimension3D
public final VulkanPhysicalDeviceLimits withMaxImageDimension3D(int value)
Copy the current immutable object by setting a value for themaxImageDimension3D
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxImageDimension3D- Returns:
- A modified copy of the
this
object
-
withMaxImageDimensionCube
public final VulkanPhysicalDeviceLimits withMaxImageDimensionCube(int value)
Copy the current immutable object by setting a value for themaxImageDimensionCube
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxImageDimensionCube- Returns:
- A modified copy of the
this
object
-
withMaxInterpolationOffset
public final VulkanPhysicalDeviceLimits withMaxInterpolationOffset(float value)
Copy the current immutable object by setting a value for themaxInterpolationOffset
attribute. A value strict bits equality used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxInterpolationOffset- Returns:
- A modified copy of the
this
object
-
withMaxMemoryAllocationCount
public final VulkanPhysicalDeviceLimits withMaxMemoryAllocationCount(int value)
Copy the current immutable object by setting a value for themaxMemoryAllocationCount
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxMemoryAllocationCount- Returns:
- A modified copy of the
this
object
-
withMaxPerStageDescriptorInputAttachments
public final VulkanPhysicalDeviceLimits withMaxPerStageDescriptorInputAttachments(int value)
Copy the current immutable object by setting a value for themaxPerStageDescriptorInputAttachments
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxPerStageDescriptorInputAttachments- Returns:
- A modified copy of the
this
object
-
withMaxPerStageDescriptorSampledImages
public final VulkanPhysicalDeviceLimits withMaxPerStageDescriptorSampledImages(int value)
Copy the current immutable object by setting a value for themaxPerStageDescriptorSampledImages
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxPerStageDescriptorSampledImages- Returns:
- A modified copy of the
this
object
-
withMaxPerStageDescriptorSamplers
public final VulkanPhysicalDeviceLimits withMaxPerStageDescriptorSamplers(int value)
Copy the current immutable object by setting a value for themaxPerStageDescriptorSamplers
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxPerStageDescriptorSamplers- Returns:
- A modified copy of the
this
object
-
withMaxPerStageDescriptorStorageBuffers
public final VulkanPhysicalDeviceLimits withMaxPerStageDescriptorStorageBuffers(int value)
Copy the current immutable object by setting a value for themaxPerStageDescriptorStorageBuffers
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxPerStageDescriptorStorageBuffers- Returns:
- A modified copy of the
this
object
-
withMaxPerStageDescriptorStorageImages
public final VulkanPhysicalDeviceLimits withMaxPerStageDescriptorStorageImages(int value)
Copy the current immutable object by setting a value for themaxPerStageDescriptorStorageImages
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxPerStageDescriptorStorageImages- Returns:
- A modified copy of the
this
object
-
withMaxPerStageDescriptorUniformBuffers
public final VulkanPhysicalDeviceLimits withMaxPerStageDescriptorUniformBuffers(int value)
Copy the current immutable object by setting a value for themaxPerStageDescriptorUniformBuffers
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxPerStageDescriptorUniformBuffers- Returns:
- A modified copy of the
this
object
-
withMaxPerStageResources
public final VulkanPhysicalDeviceLimits withMaxPerStageResources(int value)
Copy the current immutable object by setting a value for themaxPerStageResources
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxPerStageResources- Returns:
- A modified copy of the
this
object
-
withMaxPushConstantsSize
public final VulkanPhysicalDeviceLimits withMaxPushConstantsSize(int value)
Copy the current immutable object by setting a value for themaxPushConstantsSize
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxPushConstantsSize- Returns:
- A modified copy of the
this
object
-
withMaxSampleMaskWords
public final VulkanPhysicalDeviceLimits withMaxSampleMaskWords(int value)
Copy the current immutable object by setting a value for themaxSampleMaskWords
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxSampleMaskWords- Returns:
- A modified copy of the
this
object
-
withMaxSamplerAllocationCount
public final VulkanPhysicalDeviceLimits withMaxSamplerAllocationCount(int value)
Copy the current immutable object by setting a value for themaxSamplerAllocationCount
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxSamplerAllocationCount- Returns:
- A modified copy of the
this
object
-
withMaxSamplerAnisotropy
public final VulkanPhysicalDeviceLimits withMaxSamplerAnisotropy(float value)
Copy the current immutable object by setting a value for themaxSamplerAnisotropy
attribute. A value strict bits equality used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxSamplerAnisotropy- Returns:
- A modified copy of the
this
object
-
withMaxSamplerLodBias
public final VulkanPhysicalDeviceLimits withMaxSamplerLodBias(float value)
Copy the current immutable object by setting a value for themaxSamplerLodBias
attribute. A value strict bits equality used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxSamplerLodBias- Returns:
- A modified copy of the
this
object
-
withMaxStorageBufferRange
public final VulkanPhysicalDeviceLimits withMaxStorageBufferRange(int value)
Copy the current immutable object by setting a value for themaxStorageBufferRange
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxStorageBufferRange- Returns:
- A modified copy of the
this
object
-
withMaxTessellationControlPerPatchOutputComponents
public final VulkanPhysicalDeviceLimits withMaxTessellationControlPerPatchOutputComponents(int value)
Copy the current immutable object by setting a value for themaxTessellationControlPerPatchOutputComponents
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxTessellationControlPerPatchOutputComponents- Returns:
- A modified copy of the
this
object
-
withMaxTessellationControlPerVertexInputComponents
public final VulkanPhysicalDeviceLimits withMaxTessellationControlPerVertexInputComponents(int value)
Copy the current immutable object by setting a value for themaxTessellationControlPerVertexInputComponents
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxTessellationControlPerVertexInputComponents- Returns:
- A modified copy of the
this
object
-
withMaxTessellationControlPerVertexOutputComponents
public final VulkanPhysicalDeviceLimits withMaxTessellationControlPerVertexOutputComponents(int value)
Copy the current immutable object by setting a value for themaxTessellationControlPerVertexOutputComponents
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxTessellationControlPerVertexOutputComponents- Returns:
- A modified copy of the
this
object
-
withMaxTessellationControlTotalOutputComponents
public final VulkanPhysicalDeviceLimits withMaxTessellationControlTotalOutputComponents(int value)
Copy the current immutable object by setting a value for themaxTessellationControlTotalOutputComponents
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxTessellationControlTotalOutputComponents- Returns:
- A modified copy of the
this
object
-
withMaxTessellationEvaluationInputComponents
public final VulkanPhysicalDeviceLimits withMaxTessellationEvaluationInputComponents(int value)
Copy the current immutable object by setting a value for themaxTessellationEvaluationInputComponents
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxTessellationEvaluationInputComponents- Returns:
- A modified copy of the
this
object
-
withMaxTessellationEvaluationOutputComponents
public final VulkanPhysicalDeviceLimits withMaxTessellationEvaluationOutputComponents(int value)
Copy the current immutable object by setting a value for themaxTessellationEvaluationOutputComponents
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxTessellationEvaluationOutputComponents- Returns:
- A modified copy of the
this
object
-
withMaxTessellationGenerationLevel
public final VulkanPhysicalDeviceLimits withMaxTessellationGenerationLevel(int value)
Copy the current immutable object by setting a value for themaxTessellationGenerationLevel
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxTessellationGenerationLevel- Returns:
- A modified copy of the
this
object
-
withMaxTessellationPatchSize
public final VulkanPhysicalDeviceLimits withMaxTessellationPatchSize(int value)
Copy the current immutable object by setting a value for themaxTessellationPatchSize
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxTessellationPatchSize- Returns:
- A modified copy of the
this
object
-
withMaxTexelBufferElements
public final VulkanPhysicalDeviceLimits withMaxTexelBufferElements(int value)
Copy the current immutable object by setting a value for themaxTexelBufferElements
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxTexelBufferElements- Returns:
- A modified copy of the
this
object
-
withMaxTexelGatherOffset
public final VulkanPhysicalDeviceLimits withMaxTexelGatherOffset(int value)
Copy the current immutable object by setting a value for themaxTexelGatherOffset
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxTexelGatherOffset- Returns:
- A modified copy of the
this
object
-
withMaxTexelOffset
public final VulkanPhysicalDeviceLimits withMaxTexelOffset(int value)
Copy the current immutable object by setting a value for themaxTexelOffset
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxTexelOffset- Returns:
- A modified copy of the
this
object
-
withMaxUniformBufferRange
public final VulkanPhysicalDeviceLimits withMaxUniformBufferRange(int value)
Copy the current immutable object by setting a value for themaxUniformBufferRange
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxUniformBufferRange- Returns:
- A modified copy of the
this
object
-
withMaxVertexInputAttributeOffset
public final VulkanPhysicalDeviceLimits withMaxVertexInputAttributeOffset(int value)
Copy the current immutable object by setting a value for themaxVertexInputAttributeOffset
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxVertexInputAttributeOffset- Returns:
- A modified copy of the
this
object
-
withMaxVertexInputAttributes
public final VulkanPhysicalDeviceLimits withMaxVertexInputAttributes(int value)
Copy the current immutable object by setting a value for themaxVertexInputAttributes
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxVertexInputAttributes- Returns:
- A modified copy of the
this
object
-
withMaxVertexInputBindings
public final VulkanPhysicalDeviceLimits withMaxVertexInputBindings(int value)
Copy the current immutable object by setting a value for themaxVertexInputBindings
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxVertexInputBindings- Returns:
- A modified copy of the
this
object
-
withMaxVertexInputBindingStride
public final VulkanPhysicalDeviceLimits withMaxVertexInputBindingStride(int value)
Copy the current immutable object by setting a value for themaxVertexInputBindingStride
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxVertexInputBindingStride- Returns:
- A modified copy of the
this
object
-
withMaxVertexOutputComponents
public final VulkanPhysicalDeviceLimits withMaxVertexOutputComponents(int value)
Copy the current immutable object by setting a value for themaxVertexOutputComponents
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxVertexOutputComponents- Returns:
- A modified copy of the
this
object
-
withMaxViewportDimensions
public final VulkanPhysicalDeviceLimits withMaxViewportDimensions(VulkanViewportDimensions value)
Copy the current immutable object by setting a value for themaxViewportDimensions
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxViewportDimensions- Returns:
- A modified copy of the
this
object
-
withMaxViewports
public final VulkanPhysicalDeviceLimits withMaxViewports(int value)
Copy the current immutable object by setting a value for themaxViewports
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maxViewports- Returns:
- A modified copy of the
this
object
-
withMinInterpolationOffset
public final VulkanPhysicalDeviceLimits withMinInterpolationOffset(float value)
Copy the current immutable object by setting a value for theminInterpolationOffset
attribute. A value strict bits equality used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for minInterpolationOffset- Returns:
- A modified copy of the
this
object
-
withMinMemoryMapAlignment
public final VulkanPhysicalDeviceLimits withMinMemoryMapAlignment(long value)
Copy the current immutable object by setting a value for theminMemoryMapAlignment
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for minMemoryMapAlignment- Returns:
- A modified copy of the
this
object
-
withMinStorageBufferOffsetAlignment
public final VulkanPhysicalDeviceLimits withMinStorageBufferOffsetAlignment(long value)
Copy the current immutable object by setting a value for theminStorageBufferOffsetAlignment
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for minStorageBufferOffsetAlignment- Returns:
- A modified copy of the
this
object
-
withMinTexelBufferOffsetAlignment
public final VulkanPhysicalDeviceLimits withMinTexelBufferOffsetAlignment(long value)
Copy the current immutable object by setting a value for theminTexelBufferOffsetAlignment
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for minTexelBufferOffsetAlignment- Returns:
- A modified copy of the
this
object
-
withMinTexelGatherOffset
public final VulkanPhysicalDeviceLimits withMinTexelGatherOffset(int value)
Copy the current immutable object by setting a value for theminTexelGatherOffset
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for minTexelGatherOffset- Returns:
- A modified copy of the
this
object
-
withMinTexelOffset
public final VulkanPhysicalDeviceLimits withMinTexelOffset(int value)
Copy the current immutable object by setting a value for theminTexelOffset
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for minTexelOffset- Returns:
- A modified copy of the
this
object
-
withMinUniformBufferOffsetAlignment
public final VulkanPhysicalDeviceLimits withMinUniformBufferOffsetAlignment(long value)
Copy the current immutable object by setting a value for theminUniformBufferOffsetAlignment
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for minUniformBufferOffsetAlignment- Returns:
- A modified copy of the
this
object
-
withMipmapPrecisionBits
public final VulkanPhysicalDeviceLimits withMipmapPrecisionBits(int value)
Copy the current immutable object by setting a value for themipmapPrecisionBits
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for mipmapPrecisionBits- Returns:
- A modified copy of the
this
object
-
withNonCoherentAtomSize
public final VulkanPhysicalDeviceLimits withNonCoherentAtomSize(long value)
Copy the current immutable object by setting a value for thenonCoherentAtomSize
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for nonCoherentAtomSize- Returns:
- A modified copy of the
this
object
-
withOptimalBufferCopyOffsetAlignment
public final VulkanPhysicalDeviceLimits withOptimalBufferCopyOffsetAlignment(long value)
Copy the current immutable object by setting a value for theoptimalBufferCopyOffsetAlignment
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for optimalBufferCopyOffsetAlignment- Returns:
- A modified copy of the
this
object
-
withOptimalBufferCopyRowPitchAlignment
public final VulkanPhysicalDeviceLimits withOptimalBufferCopyRowPitchAlignment(long value)
Copy the current immutable object by setting a value for theoptimalBufferCopyRowPitchAlignment
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for optimalBufferCopyRowPitchAlignment- Returns:
- A modified copy of the
this
object
-
withPointSizeGranularity
public final VulkanPhysicalDeviceLimits withPointSizeGranularity(float value)
Copy the current immutable object by setting a value for thepointSizeGranularity
attribute. A value strict bits equality used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for pointSizeGranularity- Returns:
- A modified copy of the
this
object
-
withPointSizeRange
public final VulkanPhysicalDeviceLimits withPointSizeRange(VulkanPointSizeRange value)
Copy the current immutable object by setting a value for thepointSizeRange
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for pointSizeRange- Returns:
- A modified copy of the
this
object
-
withSampledImageColorSampleCounts
public final VulkanPhysicalDeviceLimits withSampledImageColorSampleCounts(int value)
Copy the current immutable object by setting a value for thesampledImageColorSampleCounts
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for sampledImageColorSampleCounts- Returns:
- A modified copy of the
this
object
-
withSampledImageDepthSampleCounts
public final VulkanPhysicalDeviceLimits withSampledImageDepthSampleCounts(int value)
Copy the current immutable object by setting a value for thesampledImageDepthSampleCounts
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for sampledImageDepthSampleCounts- Returns:
- A modified copy of the
this
object
-
withSampledImageIntegerSampleCounts
public final VulkanPhysicalDeviceLimits withSampledImageIntegerSampleCounts(int value)
Copy the current immutable object by setting a value for thesampledImageIntegerSampleCounts
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for sampledImageIntegerSampleCounts- Returns:
- A modified copy of the
this
object
-
withSampledImageStencilSampleCounts
public final VulkanPhysicalDeviceLimits withSampledImageStencilSampleCounts(int value)
Copy the current immutable object by setting a value for thesampledImageStencilSampleCounts
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for sampledImageStencilSampleCounts- Returns:
- A modified copy of the
this
object
-
withSparseAddressSpaceSize
public final VulkanPhysicalDeviceLimits withSparseAddressSpaceSize(long value)
Copy the current immutable object by setting a value for thesparseAddressSpaceSize
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for sparseAddressSpaceSize- Returns:
- A modified copy of the
this
object
-
withStandardSampleLocations
public final VulkanPhysicalDeviceLimits withStandardSampleLocations(boolean value)
Copy the current immutable object by setting a value for thestandardSampleLocations
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for standardSampleLocations- Returns:
- A modified copy of the
this
object
-
withStorageImageSampleCounts
public final VulkanPhysicalDeviceLimits withStorageImageSampleCounts(int value)
Copy the current immutable object by setting a value for thestorageImageSampleCounts
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for storageImageSampleCounts- Returns:
- A modified copy of the
this
object
-
withStrictLines
public final VulkanPhysicalDeviceLimits withStrictLines(boolean value)
Copy the current immutable object by setting a value for thestrictLines
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for strictLines- Returns:
- A modified copy of the
this
object
-
withSubPixelInterpolationOffsetBits
public final VulkanPhysicalDeviceLimits withSubPixelInterpolationOffsetBits(int value)
Copy the current immutable object by setting a value for thesubPixelInterpolationOffsetBits
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for subPixelInterpolationOffsetBits- Returns:
- A modified copy of the
this
object
-
withSubPixelPrecisionBits
public final VulkanPhysicalDeviceLimits withSubPixelPrecisionBits(int value)
Copy the current immutable object by setting a value for thesubPixelPrecisionBits
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for subPixelPrecisionBits- Returns:
- A modified copy of the
this
object
-
withSubTexelPrecisionBits
public final VulkanPhysicalDeviceLimits withSubTexelPrecisionBits(int value)
Copy the current immutable object by setting a value for thesubTexelPrecisionBits
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for subTexelPrecisionBits- Returns:
- A modified copy of the
this
object
-
withTimestampComputeAndGraphics
public final VulkanPhysicalDeviceLimits withTimestampComputeAndGraphics(boolean value)
Copy the current immutable object by setting a value for thetimestampComputeAndGraphics
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for timestampComputeAndGraphics- Returns:
- A modified copy of the
this
object
-
withTimestampPeriod
public final VulkanPhysicalDeviceLimits withTimestampPeriod(float value)
Copy the current immutable object by setting a value for thetimestampPeriod
attribute. A value strict bits equality used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for timestampPeriod- Returns:
- A modified copy of the
this
object
-
withViewportBoundsRange
public final VulkanPhysicalDeviceLimits withViewportBoundsRange(VulkanViewportBoundsRange value)
Copy the current immutable object by setting a value for theviewportBoundsRange
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for viewportBoundsRange- Returns:
- A modified copy of the
this
object
-
withViewportSubPixelBits
public final VulkanPhysicalDeviceLimits withViewportSubPixelBits(int value)
Copy the current immutable object by setting a value for theviewportSubPixelBits
attribute. A value equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for viewportSubPixelBits- Returns:
- A modified copy of the
this
object
-
equals
public boolean equals(java.lang.Object another)
This instance is equal to all instances ofVulkanPhysicalDeviceLimits
that have equal attribute values.- Overrides:
equals
in classjava.lang.Object
- Returns:
true
ifthis
is equal toanother
instance
-
hashCode
public int hashCode()
Computes a hash code from attributes:bufferImageGranularity
,discreteQueuePriorities
,framebufferColorSampleCounts
,framebufferDepthSampleCounts
,framebufferNoAttachmentsSampleCounts
,framebufferStencilSampleCounts
,lineWidthGranularity
,lineWidthRange
,maxBoundDescriptorSets
,maxClipDistances
,maxColorAttachments
,maxCombinedClipAndCullDistances
,maxComputeSharedMemorySize
,maxComputeWorkGroupCount
,maxComputeWorkGroupInvocations
,maxComputeWorkGroupSize
,maxCullDistances
,maxDescriptorSetInputAttachments
,maxDescriptorSetSampledImages
,maxDescriptorSetSamplers
,maxDescriptorSetStorageBuffersDynamic
,maxDescriptorSetStorageBuffers
,maxDescriptorSetStorageImages
,maxDescriptorSetUniformBuffersDynamic
,maxDescriptorSetUniformBuffers
,maxDrawIndexedIndexValue
,maxDrawIndirectCount
,maxFragmentCombinedOutputResources
,maxFragmentDualSrcAttachments
,maxFragmentInputComponents
,maxFragmentOutputAttachments
,maxFramebufferHeight
,maxFramebufferLayers
,maxFramebufferWidth
,maxGeometryInputComponents
,maxGeometryOutputComponents
,maxGeometryOutputVertices
,maxGeometryShaderInvocations
,maxGeometryTotalOutputComponents
,maxImageArrayLayers
,maxImageDimension1D
,maxImageDimension2D
,maxImageDimension3D
,maxImageDimensionCube
,maxInterpolationOffset
,maxMemoryAllocationCount
,maxPerStageDescriptorInputAttachments
,maxPerStageDescriptorSampledImages
,maxPerStageDescriptorSamplers
,maxPerStageDescriptorStorageBuffers
,maxPerStageDescriptorStorageImages
,maxPerStageDescriptorUniformBuffers
,maxPerStageResources
,maxPushConstantsSize
,maxSampleMaskWords
,maxSamplerAllocationCount
,maxSamplerAnisotropy
,maxSamplerLodBias
,maxStorageBufferRange
,maxTessellationControlPerPatchOutputComponents
,maxTessellationControlPerVertexInputComponents
,maxTessellationControlPerVertexOutputComponents
,maxTessellationControlTotalOutputComponents
,maxTessellationEvaluationInputComponents
,maxTessellationEvaluationOutputComponents
,maxTessellationGenerationLevel
,maxTessellationPatchSize
,maxTexelBufferElements
,maxTexelGatherOffset
,maxTexelOffset
,maxUniformBufferRange
,maxVertexInputAttributeOffset
,maxVertexInputAttributes
,maxVertexInputBindings
,maxVertexInputBindingStride
,maxVertexOutputComponents
,maxViewportDimensions
,maxViewports
,minInterpolationOffset
,minMemoryMapAlignment
,minStorageBufferOffsetAlignment
,minTexelBufferOffsetAlignment
,minTexelGatherOffset
,minTexelOffset
,minUniformBufferOffsetAlignment
,mipmapPrecisionBits
,nonCoherentAtomSize
,optimalBufferCopyOffsetAlignment
,optimalBufferCopyRowPitchAlignment
,pointSizeGranularity
,pointSizeRange
,sampledImageColorSampleCounts
,sampledImageDepthSampleCounts
,sampledImageIntegerSampleCounts
,sampledImageStencilSampleCounts
,sparseAddressSpaceSize
,standardSampleLocations
,storageImageSampleCounts
,strictLines
,subPixelInterpolationOffsetBits
,subPixelPrecisionBits
,subTexelPrecisionBits
,timestampComputeAndGraphics
,timestampPeriod
,viewportBoundsRange
,viewportSubPixelBits
.- Overrides:
hashCode
in classjava.lang.Object
- Returns:
- hashCode value
-
toString
public java.lang.String toString()
Prints the immutable valueVulkanPhysicalDeviceLimits
with attribute values.- Overrides:
toString
in classjava.lang.Object
- Returns:
- A string representation of the value
-
of
public static VulkanPhysicalDeviceLimits of(long bufferImageGranularity, int discreteQueuePriorities, int framebufferColorSampleCounts, int framebufferDepthSampleCounts, int framebufferNoAttachmentsSampleCounts, int framebufferStencilSampleCounts, float lineWidthGranularity, VulkanLineWidthRange lineWidthRange, int maxBoundDescriptorSets, int maxClipDistances, int maxColorAttachments, int maxCombinedClipAndCullDistances, int maxComputeSharedMemorySize, VulkanComputeWorkGroupCount maxComputeWorkGroupCount, int maxComputeWorkGroupInvocations, VulkanComputeWorkGroupSize maxComputeWorkGroupSize, int maxCullDistances, int maxDescriptorSetInputAttachments, int maxDescriptorSetSampledImages, int maxDescriptorSetSamplers, int maxDescriptorSetStorageBuffersDynamic, int maxDescriptorSetStorageBuffers, int maxDescriptorSetStorageImages, int maxDescriptorSetUniformBuffersDynamic, int maxDescriptorSetUniformBuffers, int maxDrawIndexedIndexValue, int maxDrawIndirectCount, int maxFragmentCombinedOutputResources, int maxFragmentDualSrcAttachments, int maxFragmentInputComponents, int maxFragmentOutputAttachments, int maxFramebufferHeight, int maxFramebufferLayers, int maxFramebufferWidth, int maxGeometryInputComponents, int maxGeometryOutputComponents, int maxGeometryOutputVertices, int maxGeometryShaderInvocations, int maxGeometryTotalOutputComponents, int maxImageArrayLayers, int maxImageDimension1D, int maxImageDimension2D, int maxImageDimension3D, int maxImageDimensionCube, float maxInterpolationOffset, int maxMemoryAllocationCount, int maxPerStageDescriptorInputAttachments, int maxPerStageDescriptorSampledImages, int maxPerStageDescriptorSamplers, int maxPerStageDescriptorStorageBuffers, int maxPerStageDescriptorStorageImages, int maxPerStageDescriptorUniformBuffers, int maxPerStageResources, int maxPushConstantsSize, int maxSampleMaskWords, int maxSamplerAllocationCount, float maxSamplerAnisotropy, float maxSamplerLodBias, int maxStorageBufferRange, int maxTessellationControlPerPatchOutputComponents, int maxTessellationControlPerVertexInputComponents, int maxTessellationControlPerVertexOutputComponents, int maxTessellationControlTotalOutputComponents, int maxTessellationEvaluationInputComponents, int maxTessellationEvaluationOutputComponents, int maxTessellationGenerationLevel, int maxTessellationPatchSize, int maxTexelBufferElements, int maxTexelGatherOffset, int maxTexelOffset, int maxUniformBufferRange, int maxVertexInputAttributeOffset, int maxVertexInputAttributes, int maxVertexInputBindings, int maxVertexInputBindingStride, int maxVertexOutputComponents, VulkanViewportDimensions maxViewportDimensions, int maxViewports, float minInterpolationOffset, long minMemoryMapAlignment, long minStorageBufferOffsetAlignment, long minTexelBufferOffsetAlignment, int minTexelGatherOffset, int minTexelOffset, long minUniformBufferOffsetAlignment, int mipmapPrecisionBits, long nonCoherentAtomSize, long optimalBufferCopyOffsetAlignment, long optimalBufferCopyRowPitchAlignment, float pointSizeGranularity, VulkanPointSizeRange pointSizeRange, int sampledImageColorSampleCounts, int sampledImageDepthSampleCounts, int sampledImageIntegerSampleCounts, int sampledImageStencilSampleCounts, long sparseAddressSpaceSize, boolean standardSampleLocations, int storageImageSampleCounts, boolean strictLines, int subPixelInterpolationOffsetBits, int subPixelPrecisionBits, int subTexelPrecisionBits, boolean timestampComputeAndGraphics, float timestampPeriod, VulkanViewportBoundsRange viewportBoundsRange, int viewportSubPixelBits)
Construct a new immutableVulkanPhysicalDeviceLimits
instance.- Parameters:
bufferImageGranularity
- The value for thebufferImageGranularity
attributediscreteQueuePriorities
- The value for thediscreteQueuePriorities
attributeframebufferColorSampleCounts
- The value for theframebufferColorSampleCounts
attributeframebufferDepthSampleCounts
- The value for theframebufferDepthSampleCounts
attributeframebufferNoAttachmentsSampleCounts
- The value for theframebufferNoAttachmentsSampleCounts
attributeframebufferStencilSampleCounts
- The value for theframebufferStencilSampleCounts
attributelineWidthGranularity
- The value for thelineWidthGranularity
attributelineWidthRange
- The value for thelineWidthRange
attributemaxBoundDescriptorSets
- The value for themaxBoundDescriptorSets
attributemaxClipDistances
- The value for themaxClipDistances
attributemaxColorAttachments
- The value for themaxColorAttachments
attributemaxCombinedClipAndCullDistances
- The value for themaxCombinedClipAndCullDistances
attributemaxComputeSharedMemorySize
- The value for themaxComputeSharedMemorySize
attributemaxComputeWorkGroupCount
- The value for themaxComputeWorkGroupCount
attributemaxComputeWorkGroupInvocations
- The value for themaxComputeWorkGroupInvocations
attributemaxComputeWorkGroupSize
- The value for themaxComputeWorkGroupSize
attributemaxCullDistances
- The value for themaxCullDistances
attributemaxDescriptorSetInputAttachments
- The value for themaxDescriptorSetInputAttachments
attributemaxDescriptorSetSampledImages
- The value for themaxDescriptorSetSampledImages
attributemaxDescriptorSetSamplers
- The value for themaxDescriptorSetSamplers
attributemaxDescriptorSetStorageBuffersDynamic
- The value for themaxDescriptorSetStorageBuffersDynamic
attributemaxDescriptorSetStorageBuffers
- The value for themaxDescriptorSetStorageBuffers
attributemaxDescriptorSetStorageImages
- The value for themaxDescriptorSetStorageImages
attributemaxDescriptorSetUniformBuffersDynamic
- The value for themaxDescriptorSetUniformBuffersDynamic
attributemaxDescriptorSetUniformBuffers
- The value for themaxDescriptorSetUniformBuffers
attributemaxDrawIndexedIndexValue
- The value for themaxDrawIndexedIndexValue
attributemaxDrawIndirectCount
- The value for themaxDrawIndirectCount
attributemaxFragmentCombinedOutputResources
- The value for themaxFragmentCombinedOutputResources
attributemaxFragmentDualSrcAttachments
- The value for themaxFragmentDualSrcAttachments
attributemaxFragmentInputComponents
- The value for themaxFragmentInputComponents
attributemaxFragmentOutputAttachments
- The value for themaxFragmentOutputAttachments
attributemaxFramebufferHeight
- The value for themaxFramebufferHeight
attributemaxFramebufferLayers
- The value for themaxFramebufferLayers
attributemaxFramebufferWidth
- The value for themaxFramebufferWidth
attributemaxGeometryInputComponents
- The value for themaxGeometryInputComponents
attributemaxGeometryOutputComponents
- The value for themaxGeometryOutputComponents
attributemaxGeometryOutputVertices
- The value for themaxGeometryOutputVertices
attributemaxGeometryShaderInvocations
- The value for themaxGeometryShaderInvocations
attributemaxGeometryTotalOutputComponents
- The value for themaxGeometryTotalOutputComponents
attributemaxImageArrayLayers
- The value for themaxImageArrayLayers
attributemaxImageDimension1D
- The value for themaxImageDimension1D
attributemaxImageDimension2D
- The value for themaxImageDimension2D
attributemaxImageDimension3D
- The value for themaxImageDimension3D
attributemaxImageDimensionCube
- The value for themaxImageDimensionCube
attributemaxInterpolationOffset
- The value for themaxInterpolationOffset
attributemaxMemoryAllocationCount
- The value for themaxMemoryAllocationCount
attributemaxPerStageDescriptorInputAttachments
- The value for themaxPerStageDescriptorInputAttachments
attributemaxPerStageDescriptorSampledImages
- The value for themaxPerStageDescriptorSampledImages
attributemaxPerStageDescriptorSamplers
- The value for themaxPerStageDescriptorSamplers
attributemaxPerStageDescriptorStorageBuffers
- The value for themaxPerStageDescriptorStorageBuffers
attributemaxPerStageDescriptorStorageImages
- The value for themaxPerStageDescriptorStorageImages
attributemaxPerStageDescriptorUniformBuffers
- The value for themaxPerStageDescriptorUniformBuffers
attributemaxPerStageResources
- The value for themaxPerStageResources
attributemaxPushConstantsSize
- The value for themaxPushConstantsSize
attributemaxSampleMaskWords
- The value for themaxSampleMaskWords
attributemaxSamplerAllocationCount
- The value for themaxSamplerAllocationCount
attributemaxSamplerAnisotropy
- The value for themaxSamplerAnisotropy
attributemaxSamplerLodBias
- The value for themaxSamplerLodBias
attributemaxStorageBufferRange
- The value for themaxStorageBufferRange
attributemaxTessellationControlPerPatchOutputComponents
- The value for themaxTessellationControlPerPatchOutputComponents
attributemaxTessellationControlPerVertexInputComponents
- The value for themaxTessellationControlPerVertexInputComponents
attributemaxTessellationControlPerVertexOutputComponents
- The value for themaxTessellationControlPerVertexOutputComponents
attributemaxTessellationControlTotalOutputComponents
- The value for themaxTessellationControlTotalOutputComponents
attributemaxTessellationEvaluationInputComponents
- The value for themaxTessellationEvaluationInputComponents
attributemaxTessellationEvaluationOutputComponents
- The value for themaxTessellationEvaluationOutputComponents
attributemaxTessellationGenerationLevel
- The value for themaxTessellationGenerationLevel
attributemaxTessellationPatchSize
- The value for themaxTessellationPatchSize
attributemaxTexelBufferElements
- The value for themaxTexelBufferElements
attributemaxTexelGatherOffset
- The value for themaxTexelGatherOffset
attributemaxTexelOffset
- The value for themaxTexelOffset
attributemaxUniformBufferRange
- The value for themaxUniformBufferRange
attributemaxVertexInputAttributeOffset
- The value for themaxVertexInputAttributeOffset
attributemaxVertexInputAttributes
- The value for themaxVertexInputAttributes
attributemaxVertexInputBindings
- The value for themaxVertexInputBindings
attributemaxVertexInputBindingStride
- The value for themaxVertexInputBindingStride
attributemaxVertexOutputComponents
- The value for themaxVertexOutputComponents
attributemaxViewportDimensions
- The value for themaxViewportDimensions
attributemaxViewports
- The value for themaxViewports
attributeminInterpolationOffset
- The value for theminInterpolationOffset
attributeminMemoryMapAlignment
- The value for theminMemoryMapAlignment
attributeminStorageBufferOffsetAlignment
- The value for theminStorageBufferOffsetAlignment
attributeminTexelBufferOffsetAlignment
- The value for theminTexelBufferOffsetAlignment
attributeminTexelGatherOffset
- The value for theminTexelGatherOffset
attributeminTexelOffset
- The value for theminTexelOffset
attributeminUniformBufferOffsetAlignment
- The value for theminUniformBufferOffsetAlignment
attributemipmapPrecisionBits
- The value for themipmapPrecisionBits
attributenonCoherentAtomSize
- The value for thenonCoherentAtomSize
attributeoptimalBufferCopyOffsetAlignment
- The value for theoptimalBufferCopyOffsetAlignment
attributeoptimalBufferCopyRowPitchAlignment
- The value for theoptimalBufferCopyRowPitchAlignment
attributepointSizeGranularity
- The value for thepointSizeGranularity
attributepointSizeRange
- The value for thepointSizeRange
attributesampledImageColorSampleCounts
- The value for thesampledImageColorSampleCounts
attributesampledImageDepthSampleCounts
- The value for thesampledImageDepthSampleCounts
attributesampledImageIntegerSampleCounts
- The value for thesampledImageIntegerSampleCounts
attributesampledImageStencilSampleCounts
- The value for thesampledImageStencilSampleCounts
attributesparseAddressSpaceSize
- The value for thesparseAddressSpaceSize
attributestandardSampleLocations
- The value for thestandardSampleLocations
attributestorageImageSampleCounts
- The value for thestorageImageSampleCounts
attributestrictLines
- The value for thestrictLines
attributesubPixelInterpolationOffsetBits
- The value for thesubPixelInterpolationOffsetBits
attributesubPixelPrecisionBits
- The value for thesubPixelPrecisionBits
attributesubTexelPrecisionBits
- The value for thesubTexelPrecisionBits
attributetimestampComputeAndGraphics
- The value for thetimestampComputeAndGraphics
attributetimestampPeriod
- The value for thetimestampPeriod
attributeviewportBoundsRange
- The value for theviewportBoundsRange
attributeviewportSubPixelBits
- The value for theviewportSubPixelBits
attribute- Returns:
- An immutable VulkanPhysicalDeviceLimits instance
-
copyOf
public static VulkanPhysicalDeviceLimits copyOf(VulkanPhysicalDeviceLimitsType instance)
Creates an immutable copy of aVulkanPhysicalDeviceLimitsType
value. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.- Parameters:
instance
- The instance to copy- Returns:
- A copied immutable VulkanPhysicalDeviceLimits instance
-
builder
public static VulkanPhysicalDeviceLimits.Builder builder()
Creates a builder forVulkanPhysicalDeviceLimits
.- Returns:
- A new VulkanPhysicalDeviceLimits builder
-
-