Class VkPhysicalDeviceLimits

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • MAXIMAGEDIMENSION1D, MAXIMAGEDIMENSION2D, MAXIMAGEDIMENSION3D, MAXIMAGEDIMENSIONCUBE, MAXIMAGEARRAYLAYERS, MAXTEXELBUFFERELEMENTS, MAXUNIFORMBUFFERRANGE, MAXSTORAGEBUFFERRANGE, MAXPUSHCONSTANTSSIZE, MAXMEMORYALLOCATIONCOUNT, MAXSAMPLERALLOCATIONCOUNT, BUFFERIMAGEGRANULARITY, SPARSEADDRESSSPACESIZE, MAXBOUNDDESCRIPTORSETS, MAXPERSTAGEDESCRIPTORSAMPLERS, MAXPERSTAGEDESCRIPTORUNIFORMBUFFERS, MAXPERSTAGEDESCRIPTORSTORAGEBUFFERS, MAXPERSTAGEDESCRIPTORSAMPLEDIMAGES, MAXPERSTAGEDESCRIPTORSTORAGEIMAGES, MAXPERSTAGEDESCRIPTORINPUTATTACHMENTS, MAXPERSTAGERESOURCES, MAXDESCRIPTORSETSAMPLERS, MAXDESCRIPTORSETUNIFORMBUFFERS, MAXDESCRIPTORSETUNIFORMBUFFERSDYNAMIC, MAXDESCRIPTORSETSTORAGEBUFFERS, MAXDESCRIPTORSETSTORAGEBUFFERSDYNAMIC, MAXDESCRIPTORSETSAMPLEDIMAGES, MAXDESCRIPTORSETSTORAGEIMAGES, MAXDESCRIPTORSETINPUTATTACHMENTS, MAXVERTEXINPUTATTRIBUTES, MAXVERTEXINPUTBINDINGS, MAXVERTEXINPUTATTRIBUTEOFFSET, MAXVERTEXINPUTBINDINGSTRIDE, MAXVERTEXOUTPUTCOMPONENTS, MAXTESSELLATIONGENERATIONLEVEL, MAXTESSELLATIONPATCHSIZE, MAXTESSELLATIONCONTROLPERVERTEXINPUTCOMPONENTS, MAXTESSELLATIONCONTROLPERVERTEXOUTPUTCOMPONENTS, MAXTESSELLATIONCONTROLPERPATCHOUTPUTCOMPONENTS, MAXTESSELLATIONCONTROLTOTALOUTPUTCOMPONENTS, MAXTESSELLATIONEVALUATIONINPUTCOMPONENTS, MAXTESSELLATIONEVALUATIONOUTPUTCOMPONENTS, MAXGEOMETRYSHADERINVOCATIONS, MAXGEOMETRYINPUTCOMPONENTS, MAXGEOMETRYOUTPUTCOMPONENTS, MAXGEOMETRYOUTPUTVERTICES, MAXGEOMETRYTOTALOUTPUTCOMPONENTS, MAXFRAGMENTINPUTCOMPONENTS, MAXFRAGMENTOUTPUTATTACHMENTS, MAXFRAGMENTDUALSRCATTACHMENTS, MAXFRAGMENTCOMBINEDOUTPUTRESOURCES, MAXCOMPUTESHAREDMEMORYSIZE, MAXCOMPUTEWORKGROUPCOUNT, MAXCOMPUTEWORKGROUPINVOCATIONS, MAXCOMPUTEWORKGROUPSIZE, SUBPIXELPRECISIONBITS, SUBTEXELPRECISIONBITS, MIPMAPPRECISIONBITS, MAXDRAWINDEXEDINDEXVALUE, MAXDRAWINDIRECTCOUNT, MAXSAMPLERLODBIAS, MAXSAMPLERANISOTROPY, MAXVIEWPORTS, MAXVIEWPORTDIMENSIONS, VIEWPORTBOUNDSRANGE, VIEWPORTSUBPIXELBITS, MINMEMORYMAPALIGNMENT, MINTEXELBUFFEROFFSETALIGNMENT, MINUNIFORMBUFFEROFFSETALIGNMENT, MINSTORAGEBUFFEROFFSETALIGNMENT, MINTEXELOFFSET, MAXTEXELOFFSET, MINTEXELGATHEROFFSET, MAXTEXELGATHEROFFSET, MININTERPOLATIONOFFSET, MAXINTERPOLATIONOFFSET, SUBPIXELINTERPOLATIONOFFSETBITS, MAXFRAMEBUFFERWIDTH, MAXFRAMEBUFFERHEIGHT, MAXFRAMEBUFFERLAYERS, FRAMEBUFFERCOLORSAMPLECOUNTS, FRAMEBUFFERDEPTHSAMPLECOUNTS, FRAMEBUFFERSTENCILSAMPLECOUNTS, FRAMEBUFFERNOATTACHMENTSSAMPLECOUNTS, MAXCOLORATTACHMENTS, SAMPLEDIMAGECOLORSAMPLECOUNTS, SAMPLEDIMAGEINTEGERSAMPLECOUNTS, SAMPLEDIMAGEDEPTHSAMPLECOUNTS, SAMPLEDIMAGESTENCILSAMPLECOUNTS, STORAGEIMAGESAMPLECOUNTS, MAXSAMPLEMASKWORDS, TIMESTAMPCOMPUTEANDGRAPHICS, TIMESTAMPPERIOD, MAXCLIPDISTANCES, MAXCULLDISTANCES, MAXCOMBINEDCLIPANDCULLDISTANCES, DISCRETEQUEUEPRIORITIES, POINTSIZERANGE, LINEWIDTHRANGE, POINTSIZEGRANULARITY, LINEWIDTHGRANULARITY, STRICTLINES, STANDARDSAMPLELOCATIONS, OPTIMALBUFFERCOPYOFFSETALIGNMENT, OPTIMALBUFFERCOPYROWPITCHALIGNMENT, NONCOHERENTATOMSIZE

        The struct member offsets.
    • Constructor Detail

      • VkPhysicalDeviceLimits

        public VkPhysicalDeviceLimits​(java.nio.ByteBuffer container)
        Creates a VkPhysicalDeviceLimits instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

        The created instance holds a strong reference to the container object.

    • Method Detail

      • sizeof

        public int sizeof()
        Specified by:
        sizeof in class org.lwjgl.system.Struct
      • maxImageDimension1D

        public int maxImageDimension1D()
        the largest dimension (width) that is guaranteed to be supported for all images created with an imageType of IMAGE_TYPE_1D. Some combinations of image parameters (format, usage, etc.) may allow support for larger dimensions, which can be queried using GetPhysicalDeviceImageFormatProperties.
      • maxImageDimension2D

        public int maxImageDimension2D()
        the largest dimension (width or height) that is guaranteed to be supported for all images created with an imageType of IMAGE_TYPE_2D and without IMAGE_CREATE_CUBE_COMPATIBLE_BIT set in flags. Some combinations of image parameters (format, usage, etc.) may allow support for larger dimensions, which can be queried using GetPhysicalDeviceImageFormatProperties.
      • maxImageDimension3D

        public int maxImageDimension3D()
        the largest dimension (width, height, or depth) that is guaranteed to be supported for all images created with an imageType of IMAGE_TYPE_3D. Some combinations of image parameters (format, usage, etc.) may allow support for larger dimensions, which can be queried using GetPhysicalDeviceImageFormatProperties.
      • maxImageDimensionCube

        public int maxImageDimensionCube()
        the largest dimension (width or height) that is guaranteed to be supported for all images created with an imageType of IMAGE_TYPE_2D and with IMAGE_CREATE_CUBE_COMPATIBLE_BIT set in flags. Some combinations of image parameters (format, usage, etc.) may allow support for larger dimensions, which can be queried using GetPhysicalDeviceImageFormatProperties.
      • maxImageArrayLayers

        public int maxImageArrayLayers()
        the maximum number of layers (arrayLayers) for an image.
      • maxPushConstantsSize

        public int maxPushConstantsSize()
        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.
      • maxMemoryAllocationCount

        public int maxMemoryAllocationCount()
        the maximum number of device memory allocations, as created by AllocateMemory, which can simultaneously exist.
      • maxSamplerAllocationCount

        public int maxSamplerAllocationCount()
        the maximum number of sampler objects, as created by CreateSampler, which can simultaneously exist on a device.
      • bufferImageGranularity

        public long bufferImageGranularity()
        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. See Buffer-Image Granularity for more details.
      • sparseAddressSpaceSize

        public long sparseAddressSpaceSize()
        the total amount of address space available, in bytes, for sparse memory resources. This is an upper bound on the sum of the sizes of all sparse resources, regardless of whether any memory is bound to them.
      • maxBoundDescriptorSets

        public int maxBoundDescriptorSets()
        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. See Descriptor Sets.
      • maxPerStageDescriptorInputAttachments

        public int maxPerStageDescriptorInputAttachments()
        the maximum number of input attachments that can be accessible to a single shader stage in a pipeline layout. Descriptors with a type of DESCRIPTOR_TYPE_INPUT_ATTACHMENT count against this limit. Only descriptors in descriptor set layouts created without the DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT 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. See Input Attachment.
      • maxVertexInputAttributeOffset

        public int maxVertexInputAttributeOffset()
        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. See Vertex Input Description.
      • maxVertexInputBindingStride

        public int maxVertexInputBindingStride()
        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. See Vertex Input Description.
      • maxVertexOutputComponents

        public int maxVertexOutputComponents()
        the maximum number of components of output variables which can be output by a vertex shader. See Vertex Shaders.
      • maxTessellationGenerationLevel

        public int maxTessellationGenerationLevel()
        the maximum tessellation generation level supported by the fixed-function tessellation primitive generator. See Tessellation.
      • maxTessellationPatchSize

        public int maxTessellationPatchSize()
        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. See Tessellation.
      • maxTessellationControlPerVertexInputComponents

        public int maxTessellationControlPerVertexInputComponents()
        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()
        the maximum number of components of per-vertex output variables which can be output from the tessellation control shader stage.
      • maxTessellationControlPerPatchOutputComponents

        public int maxTessellationControlPerPatchOutputComponents()
        the maximum number of components of per-patch output variables which can be output from the tessellation control shader stage.
      • maxTessellationControlTotalOutputComponents

        public int maxTessellationControlTotalOutputComponents()
        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()
        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()
        the maximum number of components of per-vertex output variables which can be output from the tessellation evaluation shader stage.
      • maxGeometryShaderInvocations

        public int maxGeometryShaderInvocations()
        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. See Geometry Shading.
      • maxGeometryInputComponents

        public int maxGeometryInputComponents()
        the maximum number of components of input variables which can be provided as inputs to the geometry shader stage.
      • maxGeometryOutputComponents

        public int maxGeometryOutputComponents()
        the maximum number of components of output variables which can be output from the geometry shader stage.
      • maxGeometryOutputVertices

        public int maxGeometryOutputVertices()
        the maximum number of vertices which can be emitted by any geometry shader.
      • maxGeometryTotalOutputComponents

        public int maxGeometryTotalOutputComponents()
        the maximum total number of components of output variables, across all emitted vertices, which can be output from the geometry shader stage.
      • maxFragmentInputComponents

        public int maxFragmentInputComponents()
        the maximum number of components of input variables which can be provided as inputs to the fragment shader stage.
      • maxFragmentOutputAttachments

        public int maxFragmentOutputAttachments()
        the maximum number of output attachments which can be written to by the fragment shader stage.
      • maxFragmentDualSrcAttachments

        public int maxFragmentDualSrcAttachments()
        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. See Dual-Source Blending and dualSrcBlend.
      • maxFragmentCombinedOutputResources

        public int maxFragmentCombinedOutputResources()
        the total number of storage buffers, storage images, and output Location decorated color attachments (described in Fragment Output Interface) which can be used in the fragment shader stage.
      • maxComputeSharedMemorySize

        public int maxComputeSharedMemorySize()
        the maximum total storage size, in bytes, available for variables declared with the Workgroup storage class in shader modules (or with the shared storage qualifier in GLSL) in the compute shader stage. When variables declared with the Workgroup storage class are explicitly laid out (hence they are also decorated with Block), the amount of storage consumed is the size of the largest Block variable, not counting any padding at the end. The amount of storage consumed by the non-Block variables declared with the Workgroup storage class is implementation-dependent. However, the amount of storage consumed may not exceed the largest block size that would be obtained if all active non-Block variables declared with Workgroup storage class were assigned offsets in an arbitrary order by successively taking the smallest valid offset according to the Standard Storage Buffer Layout rules. (This is equivalent to using the GLSL std430 layout rules.)
      • maxComputeWorkGroupCount

        public java.nio.IntBuffer maxComputeWorkGroupCount()
        
        public int maxComputeWorkGroupCount​(int index)
        
        the maximum number of local workgroups that can be dispatched by a single dispatching 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 dispatching commands must be less than or equal to the corresponding limit. See Dispatching Commands.
      • maxComputeWorkGroupInvocations

        public int maxComputeWorkGroupInvocations()
        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 or LocalSizeId execution mode in shader modules or by the object decorated by the WorkgroupSize decoration, must be less than or equal to this limit.
      • maxComputeWorkGroupSize

        public java.nio.IntBuffer maxComputeWorkGroupSize()
        
        public int maxComputeWorkGroupSize​(int index)
        
        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, as specified by the LocalSize or LocalSizeId execution mode or by the object decorated by the WorkgroupSize decoration in shader modules, must be less than or equal to the corresponding limit.
      • subPixelPrecisionBits

        public int subPixelPrecisionBits()
        the number of bits of subpixel precision in framebuffer coordinates xf and yf. See Rasterization.
      • subTexelPrecisionBits

        public int subTexelPrecisionBits()
        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.
      • mipmapPrecisionBits

        public int mipmapPrecisionBits()
        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.
      • maxDrawIndexedIndexValue

        public int maxDrawIndexedIndexValue()
        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. See fullDrawIndexUint32.
      • maxDrawIndirectCount

        public int maxDrawIndirectCount()
        the maximum draw count that is supported for indirect drawing calls. See multiDrawIndirect.
      • maxSamplerLodBias

        public float maxSamplerLodBias()
        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]. See samplers-mipLodBias.
      • maxSamplerAnisotropy

        public float maxSamplerAnisotropy()
        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. See samplers-maxAnisotropy.
      • maxViewports

        public int maxViewports()
        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.
      • maxViewportDimensions

        public java.nio.IntBuffer maxViewportDimensions()
        
        public int maxViewportDimensions​(int index)
        
        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. See Controlling the Viewport.
      • viewportBoundsRange

        public java.nio.FloatBuffer viewportBoundsRange()
        
        public float viewportBoundsRange​(int index)
        
        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]). See Controlling the Viewport.
        Note

        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()
        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.
      • minMemoryMapAlignment

        public long minMemoryMapAlignment()
        the minimum required alignment, in bytes, of host visible memory allocations within the host address space. When mapping a memory allocation with MapMemory, subtracting offset bytes from the returned pointer will always produce an integer multiple of this limit. See Host Access to Device Memory Objects. The value must be a power of two.
      • minUniformBufferOffsetAlignment

        public long minUniformBufferOffsetAlignment()
        the minimum required alignment, in bytes, for the offset member of the VkDescriptorBufferInfo structure for uniform buffers. When a descriptor of type DESCRIPTOR_TYPE_UNIFORM_BUFFER or 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. The value must be a power of two.
      • minStorageBufferOffsetAlignment

        public long minStorageBufferOffsetAlignment()
        the minimum required alignment, in bytes, for the offset member of the VkDescriptorBufferInfo structure for storage buffers. When a descriptor of type DESCRIPTOR_TYPE_STORAGE_BUFFER or 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. The value must be a power of two.
      • minTexelOffset

        public int minTexelOffset()
        the minimum offset value for the ConstOffset image operand of any of the OpImageSample* or OpImageFetch* image instructions.
      • maxTexelOffset

        public int maxTexelOffset()
        the maximum offset value for the ConstOffset image operand of any of the OpImageSample* or OpImageFetch* image instructions.
      • minTexelGatherOffset

        public int minTexelGatherOffset()
        the minimum offset value for the Offset, ConstOffset, or ConstOffsets image operands of any of the OpImage*Gather image instructions.
      • maxTexelGatherOffset

        public int maxTexelGatherOffset()
        the maximum offset value for the Offset, ConstOffset, or ConstOffsets image operands of any of the OpImage*Gather image instructions.
      • minInterpolationOffset

        public float minInterpolationOffset()
        the base minimum (inclusive) negative offset value for the Offset operand of the InterpolateAtOffset extended instruction.
      • maxInterpolationOffset

        public float maxInterpolationOffset()
        the base maximum (inclusive) positive offset value for the Offset operand of the InterpolateAtOffset extended instruction.
      • subPixelInterpolationOffsetBits

        public int subPixelInterpolationOffsetBits()
        the number of fractional bits that the x and y offsets to the InterpolateAtOffset extended instruction may be rounded to as fixed-point values.
      • maxFramebufferWidth

        public int maxFramebufferWidth()
        the maximum width for a framebuffer. The width member of the VkFramebufferCreateInfo structure must be less than or equal to this limit.
      • maxFramebufferHeight

        public int maxFramebufferHeight()
        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()
        the maximum layer count for a layered framebuffer. The layers member of the VkFramebufferCreateInfo structure must be less than or equal to this limit.
      • framebufferColorSampleCounts

        public int framebufferColorSampleCounts()
        a bitmask1 of VkSampleCountFlagBits indicating the color sample counts that are supported for all framebuffer color attachments with floating- or fixed-point formats. For color attachments with integer formats, see framebufferIntegerColorSampleCounts.
      • framebufferDepthSampleCounts

        public int framebufferDepthSampleCounts()
        a bitmask1 of VkSampleCountFlagBits indicating the supported depth sample counts for all framebuffer depth/stencil attachments, when the format includes a depth component.
      • framebufferStencilSampleCounts

        public int framebufferStencilSampleCounts()
        a bitmask1 of VkSampleCountFlagBits indicating the supported stencil sample counts for all framebuffer depth/stencil attachments, when the format includes a stencil component.
      • framebufferNoAttachmentsSampleCounts

        public int framebufferNoAttachmentsSampleCounts()
        a bitmask1 of VkSampleCountFlagBits indicating the supported sample counts for a subpass which uses no attachments.
      • maxColorAttachments

        public int maxColorAttachments()
        the maximum number of color attachments that can be used by a subpass in a render pass. The colorAttachmentCount member of the VkSubpassDescription or VkSubpassDescription2 structure must be less than or equal to this limit.
      • sampledImageColorSampleCounts

        public int sampledImageColorSampleCounts()
        a bitmask1 of VkSampleCountFlagBits indicating the sample counts supported for all 2D images created with IMAGE_TILING_OPTIMAL, usage containing IMAGE_USAGE_SAMPLED_BIT, and a non-integer color format.
      • sampledImageIntegerSampleCounts

        public int sampledImageIntegerSampleCounts()
        a bitmask1 of VkSampleCountFlagBits indicating the sample counts supported for all 2D images created with IMAGE_TILING_OPTIMAL, usage containing IMAGE_USAGE_SAMPLED_BIT, and an integer color format.
      • sampledImageDepthSampleCounts

        public int sampledImageDepthSampleCounts()
        a bitmask1 of VkSampleCountFlagBits indicating the sample counts supported for all 2D images created with IMAGE_TILING_OPTIMAL, usage containing IMAGE_USAGE_SAMPLED_BIT, and a depth format.
      • sampledImageStencilSampleCounts

        public int sampledImageStencilSampleCounts()
        a bitmask1 of VkSampleCountFlagBits indicating the sample counts supported for all 2D images created with IMAGE_TILING_OPTIMAL, usage containing IMAGE_USAGE_SAMPLED_BIT, and a stencil format.
      • storageImageSampleCounts

        public int storageImageSampleCounts()
        a bitmask1 of VkSampleCountFlagBits indicating the sample counts supported for all 2D images created with IMAGE_TILING_OPTIMAL, and usage containing IMAGE_USAGE_STORAGE_BIT.
      • maxSampleMaskWords

        public int maxSampleMaskWords()
        the maximum number of array elements of a variable decorated with the SampleMask built-in decoration.
      • timestampPeriod

        public float timestampPeriod()
        the number of nanoseconds required for a timestamp query to be incremented by 1. See Timestamp Queries.
      • maxClipDistances

        public int maxClipDistances()
        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.
      • maxCullDistances

        public int maxCullDistances()
        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.
      • maxCombinedClipAndCullDistances

        public int maxCombinedClipAndCullDistances()
        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.
      • discreteQueuePriorities

        public int discreteQueuePriorities()
        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. See Queue Priority.
      • pointSizeRange

        public java.nio.FloatBuffer pointSizeRange()
        
        public float pointSizeRange​(int index)
        
        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.
      • lineWidthRange

        public java.nio.FloatBuffer lineWidthRange()
        
        public float lineWidthRange​(int index)
        
        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.
      • pointSizeGranularity

        public float pointSizeGranularity()
        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.
      • lineWidthGranularity

        public float lineWidthGranularity()
        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.
      • strictLines

        public boolean strictLines()
        specifies whether lines are rasterized according to the preferred method of rasterization. If set to FALSE, lines may be rasterized under a relaxed set of rules. If set to TRUE, lines are rasterized as per the strict definition. See Basic Line Segment Rasterization.
      • standardSampleLocations

        public boolean standardSampleLocations()
        specifies whether rasterization uses the standard sample locations as documented in Multisampling. If set to TRUE, the implementation uses the documented sample locations. If set to FALSE, the implementation may use different sample locations.
      • optimalBufferCopyRowPitchAlignment

        public long optimalBufferCopyRowPitchAlignment()
        the optimal buffer row pitch alignment in bytes for CmdCopyBufferToImage2, CmdCopyBufferToImage, CmdCopyImageToBuffer2, and CmdCopyImageToBuffer. 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. The value must be a power of two.
      • nonCoherentAtomSize

        public long nonCoherentAtomSize()
        the size and alignment in bytes that bounds concurrent access to host-mapped device memory. The value must be a power of two.
      • create

        public static VkPhysicalDeviceLimits create​(long address)
        Returns a new VkPhysicalDeviceLimits instance for the specified memory address.
      • createSafe

        @Nullable
        public static VkPhysicalDeviceLimits createSafe​(long address)
        Like create, but returns null if address is NULL.
      • nmaxImageDimension1D

        public static int nmaxImageDimension1D​(long struct)
        Unsafe version of maxImageDimension1D().
      • nmaxImageDimension2D

        public static int nmaxImageDimension2D​(long struct)
        Unsafe version of maxImageDimension2D().
      • nmaxImageDimension3D

        public static int nmaxImageDimension3D​(long struct)
        Unsafe version of maxImageDimension3D().
      • nmaxImageDimensionCube

        public static int nmaxImageDimensionCube​(long struct)
        Unsafe version of maxImageDimensionCube().
      • nmaxImageArrayLayers

        public static int nmaxImageArrayLayers​(long struct)
        Unsafe version of maxImageArrayLayers().
      • nmaxTexelBufferElements

        public static int nmaxTexelBufferElements​(long struct)
        Unsafe version of maxTexelBufferElements().
      • nmaxUniformBufferRange

        public static int nmaxUniformBufferRange​(long struct)
        Unsafe version of maxUniformBufferRange().
      • nmaxStorageBufferRange

        public static int nmaxStorageBufferRange​(long struct)
        Unsafe version of maxStorageBufferRange().
      • nmaxPushConstantsSize

        public static int nmaxPushConstantsSize​(long struct)
        Unsafe version of maxPushConstantsSize().
      • nmaxMemoryAllocationCount

        public static int nmaxMemoryAllocationCount​(long struct)
        Unsafe version of maxMemoryAllocationCount().
      • nmaxSamplerAllocationCount

        public static int nmaxSamplerAllocationCount​(long struct)
        Unsafe version of maxSamplerAllocationCount().
      • nbufferImageGranularity

        public static long nbufferImageGranularity​(long struct)
        Unsafe version of bufferImageGranularity().
      • nsparseAddressSpaceSize

        public static long nsparseAddressSpaceSize​(long struct)
        Unsafe version of sparseAddressSpaceSize().
      • nmaxBoundDescriptorSets

        public static int nmaxBoundDescriptorSets​(long struct)
        Unsafe version of maxBoundDescriptorSets().
      • nmaxPerStageResources

        public static int nmaxPerStageResources​(long struct)
        Unsafe version of maxPerStageResources().
      • nmaxDescriptorSetSamplers

        public static int nmaxDescriptorSetSamplers​(long struct)
        Unsafe version of maxDescriptorSetSamplers().
      • nmaxVertexInputAttributes

        public static int nmaxVertexInputAttributes​(long struct)
        Unsafe version of maxVertexInputAttributes().
      • nmaxVertexInputBindings

        public static int nmaxVertexInputBindings​(long struct)
        Unsafe version of maxVertexInputBindings().
      • nmaxVertexInputBindingStride

        public static int nmaxVertexInputBindingStride​(long struct)
      • nmaxVertexOutputComponents

        public static int nmaxVertexOutputComponents​(long struct)
        Unsafe version of maxVertexOutputComponents().
      • nmaxTessellationPatchSize

        public static int nmaxTessellationPatchSize​(long struct)
        Unsafe version of maxTessellationPatchSize().
      • nmaxGeometryInputComponents

        public static int nmaxGeometryInputComponents​(long struct)
        Unsafe version of maxGeometryInputComponents().
      • nmaxGeometryOutputComponents

        public static int nmaxGeometryOutputComponents​(long struct)
      • nmaxGeometryOutputVertices

        public static int nmaxGeometryOutputVertices​(long struct)
        Unsafe version of maxGeometryOutputVertices().
      • nmaxFragmentInputComponents

        public static int nmaxFragmentInputComponents​(long struct)
        Unsafe version of maxFragmentInputComponents().
      • nmaxComputeSharedMemorySize

        public static int nmaxComputeSharedMemorySize​(long struct)
        Unsafe version of maxComputeSharedMemorySize().
      • nmaxComputeWorkGroupCount

        public static java.nio.IntBuffer nmaxComputeWorkGroupCount​(long struct)
        Unsafe version of maxComputeWorkGroupCount().
      • nmaxComputeWorkGroupCount

        public static int nmaxComputeWorkGroupCount​(long struct,
                                                    int index)
        Unsafe version of maxComputeWorkGroupCount.
      • nmaxComputeWorkGroupSize

        public static java.nio.IntBuffer nmaxComputeWorkGroupSize​(long struct)
        Unsafe version of maxComputeWorkGroupSize().
      • nmaxComputeWorkGroupSize

        public static int nmaxComputeWorkGroupSize​(long struct,
                                                   int index)
        Unsafe version of maxComputeWorkGroupSize.
      • nsubPixelPrecisionBits

        public static int nsubPixelPrecisionBits​(long struct)
        Unsafe version of subPixelPrecisionBits().
      • nsubTexelPrecisionBits

        public static int nsubTexelPrecisionBits​(long struct)
        Unsafe version of subTexelPrecisionBits().
      • nmipmapPrecisionBits

        public static int nmipmapPrecisionBits​(long struct)
        Unsafe version of mipmapPrecisionBits().
      • nmaxDrawIndexedIndexValue

        public static int nmaxDrawIndexedIndexValue​(long struct)
        Unsafe version of maxDrawIndexedIndexValue().
      • nmaxDrawIndirectCount

        public static int nmaxDrawIndirectCount​(long struct)
        Unsafe version of maxDrawIndirectCount().
      • nmaxSamplerLodBias

        public static float nmaxSamplerLodBias​(long struct)
        Unsafe version of maxSamplerLodBias().
      • nmaxSamplerAnisotropy

        public static float nmaxSamplerAnisotropy​(long struct)
        Unsafe version of maxSamplerAnisotropy().
      • nmaxViewports

        public static int nmaxViewports​(long struct)
        Unsafe version of maxViewports().
      • nmaxViewportDimensions

        public static java.nio.IntBuffer nmaxViewportDimensions​(long struct)
        Unsafe version of maxViewportDimensions().
      • nmaxViewportDimensions

        public static int nmaxViewportDimensions​(long struct,
                                                 int index)
        Unsafe version of maxViewportDimensions.
      • nviewportBoundsRange

        public static java.nio.FloatBuffer nviewportBoundsRange​(long struct)
        Unsafe version of viewportBoundsRange().
      • nviewportBoundsRange

        public static float nviewportBoundsRange​(long struct,
                                                 int index)
        Unsafe version of viewportBoundsRange.
      • nviewportSubPixelBits

        public static int nviewportSubPixelBits​(long struct)
        Unsafe version of viewportSubPixelBits().
      • nminMemoryMapAlignment

        public static long nminMemoryMapAlignment​(long struct)
        Unsafe version of minMemoryMapAlignment().
      • nminTexelOffset

        public static int nminTexelOffset​(long struct)
        Unsafe version of minTexelOffset().
      • nmaxTexelOffset

        public static int nmaxTexelOffset​(long struct)
        Unsafe version of maxTexelOffset().
      • nminTexelGatherOffset

        public static int nminTexelGatherOffset​(long struct)
        Unsafe version of minTexelGatherOffset().
      • nmaxTexelGatherOffset

        public static int nmaxTexelGatherOffset​(long struct)
        Unsafe version of maxTexelGatherOffset().
      • nminInterpolationOffset

        public static float nminInterpolationOffset​(long struct)
        Unsafe version of minInterpolationOffset().
      • nmaxInterpolationOffset

        public static float nmaxInterpolationOffset​(long struct)
        Unsafe version of maxInterpolationOffset().
      • nmaxFramebufferWidth

        public static int nmaxFramebufferWidth​(long struct)
        Unsafe version of maxFramebufferWidth().
      • nmaxFramebufferHeight

        public static int nmaxFramebufferHeight​(long struct)
        Unsafe version of maxFramebufferHeight().
      • nmaxFramebufferLayers

        public static int nmaxFramebufferLayers​(long struct)
        Unsafe version of maxFramebufferLayers().
      • nmaxColorAttachments

        public static int nmaxColorAttachments​(long struct)
        Unsafe version of maxColorAttachments().
      • nstorageImageSampleCounts

        public static int nstorageImageSampleCounts​(long struct)
        Unsafe version of storageImageSampleCounts().
      • nmaxSampleMaskWords

        public static int nmaxSampleMaskWords​(long struct)
        Unsafe version of maxSampleMaskWords().
      • ntimestampComputeAndGraphics

        public static int ntimestampComputeAndGraphics​(long struct)
      • ntimestampPeriod

        public static float ntimestampPeriod​(long struct)
        Unsafe version of timestampPeriod().
      • nmaxClipDistances

        public static int nmaxClipDistances​(long struct)
        Unsafe version of maxClipDistances().
      • nmaxCullDistances

        public static int nmaxCullDistances​(long struct)
        Unsafe version of maxCullDistances().
      • ndiscreteQueuePriorities

        public static int ndiscreteQueuePriorities​(long struct)
        Unsafe version of discreteQueuePriorities().
      • npointSizeRange

        public static java.nio.FloatBuffer npointSizeRange​(long struct)
        Unsafe version of pointSizeRange().
      • npointSizeRange

        public static float npointSizeRange​(long struct,
                                            int index)
        Unsafe version of pointSizeRange.
      • nlineWidthRange

        public static java.nio.FloatBuffer nlineWidthRange​(long struct)
        Unsafe version of lineWidthRange().
      • nlineWidthRange

        public static float nlineWidthRange​(long struct,
                                            int index)
        Unsafe version of lineWidthRange.
      • npointSizeGranularity

        public static float npointSizeGranularity​(long struct)
        Unsafe version of pointSizeGranularity().
      • nlineWidthGranularity

        public static float nlineWidthGranularity​(long struct)
        Unsafe version of lineWidthGranularity().
      • nstrictLines

        public static int nstrictLines​(long struct)
        Unsafe version of strictLines().
      • nstandardSampleLocations

        public static int nstandardSampleLocations​(long struct)
        Unsafe version of standardSampleLocations().
      • nnonCoherentAtomSize

        public static long nnonCoherentAtomSize​(long struct)
        Unsafe version of nonCoherentAtomSize().