Class VkPhysicalDeviceLimits

  • All Implemented Interfaces:
    Pointer

    public class VkPhysicalDeviceLimits
    extends Struct
    Structure reporting implementation-dependent physical device limits.
    Description
    1
    For all bitmasks of VkSampleCountFlagBits, the sample count limits defined above represent the minimum supported sample counts for each image type. Individual images may support additional sample counts, which are queried using GetPhysicalDeviceImageFormatProperties as described in Supported Sample Counts.
    See Also

    VkPhysicalDeviceProperties

    Member documentation

    • maxImageDimension1D – the maximum dimension (width) supported for all images created with an imageType of IMAGE_TYPE_1D.
    • maxImageDimension2D – the maximum dimension (width or height) supported for all images created with an imageType of IMAGE_TYPE_2D and without IMAGE_CREATE_CUBE_COMPATIBLE_BIT set in flags.
    • maxImageDimension3D – the maximum dimension (width, height, or depth) supported for all images created with an imageType of IMAGE_TYPE_3D.
    • maxImageDimensionCube – the maximum dimension (width or height) supported for all images created with an imageType of IMAGE_TYPE_2D and with IMAGE_CREATE_CUBE_COMPATIBLE_BIT set in flags.
    • maxImageArrayLayers – the maximum number of layers (arrayLayers) for an image.
    • maxTexelBufferElements – the maximum number of addressable texels for a buffer view created on a buffer which was created with the BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT or BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT set in the usage member of the VkBufferCreateInfo structure.
    • maxUniformBufferRange – the maximum value that can be specified in the range member of any VkDescriptorBufferInfo structures passed to a call to UpdateDescriptorSets for descriptors of type DESCRIPTOR_TYPE_UNIFORM_BUFFER or DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC.
    • maxStorageBufferRange – the maximum value that can be specified in the range member of any VkDescriptorBufferInfo structures passed to a call to UpdateDescriptorSets for descriptors of type DESCRIPTOR_TYPE_STORAGE_BUFFER or DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC.
    • 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 – the maximum number of device memory allocations, as created by AllocateMemory, which can simultaneously exist.
    • maxSamplerAllocationCount – the maximum number of sampler objects, as created by CreateSampler, which can simultaneously exist on a device.
    • 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 – 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.
    • 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 the “Descriptor Sets” section.
    • maxPerStageDescriptorSamplers – the maximum number of samplers that can be accessible to a single shader stage in a pipeline layout. Descriptors with a type of DESCRIPTOR_TYPE_SAMPLER or DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER count against this limit. Only descriptors in descriptor set layouts created without the 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. See the “Sampler” section and the “Combined Image Sampler” section.
    • maxPerStageDescriptorUniformBuffers – the maximum number of uniform buffers that can be accessible to a single shader stage in a pipeline layout. Descriptors with a type of DESCRIPTOR_TYPE_UNIFORM_BUFFER or DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC count against this limit. Only descriptors in descriptor set layouts created without the 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. See the “Uniform Buffer” section and the “Dynamic Uniform Buffer” section.
    • maxPerStageDescriptorStorageBuffers – the maximum number of storage buffers that can be accessible to a single shader stage in a pipeline layout. Descriptors with a type of DESCRIPTOR_TYPE_STORAGE_BUFFER or DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC count against this limit. Only descriptors in descriptor set layouts created without the 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. See the “Storage Buffer” section and the “Dynamic Storage Buffer” section.
    • maxPerStageDescriptorSampledImages – the maximum number of sampled images that can be accessible to a single shader stage in a pipeline layout. Descriptors with a type of DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, DESCRIPTOR_TYPE_SAMPLED_IMAGE, or DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER count against this limit. Only descriptors in descriptor set layouts created without the 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. See the “Combined Image Sampler” section, the “Sampled Image” section, and the “Uniform Texel Buffer” section.
    • maxPerStageDescriptorStorageImages – the maximum number of storage images that can be accessible to a single shader stage in a pipeline layout. Descriptors with a type of DESCRIPTOR_TYPE_STORAGE_IMAGE, or DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER count against this limit. Only descriptors in descriptor set layouts created without the 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. See the “Storage Image” section, and the “Storage Texel Buffer” section.
    • 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_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. See the “Input Attachment” section.
    • maxPerStageResources – the maximum number of resources that can be accessible to a single shader stage in a pipeline layout. Descriptors with a type of DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, DESCRIPTOR_TYPE_SAMPLED_IMAGE, DESCRIPTOR_TYPE_STORAGE_IMAGE, DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER, DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, DESCRIPTOR_TYPE_UNIFORM_BUFFER, DESCRIPTOR_TYPE_STORAGE_BUFFER, DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC, DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC, or 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_EXT bit set count against this limit. For the fragment shader stage the framebuffer color attachments also count against this limit.
    • maxDescriptorSetSamplers – 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 DESCRIPTOR_TYPE_SAMPLER or DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER count against this limit. Only descriptors in descriptor set layouts created without the DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit. See the “Sampler” section and the “Combined Image Sampler” section.
    • maxDescriptorSetUniformBuffers – 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 DESCRIPTOR_TYPE_UNIFORM_BUFFER or DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC count against this limit. Only descriptors in descriptor set layouts created without the DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit. See the “Uniform Buffer” section and the “Dynamic Uniform Buffer” section.
    • maxDescriptorSetUniformBuffersDynamic – 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 DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC count against this limit. Only descriptors in descriptor set layouts created without the DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit. See the “Dynamic Uniform Buffer” section.
    • maxDescriptorSetStorageBuffers – 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 DESCRIPTOR_TYPE_STORAGE_BUFFER or DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC count against this limit. Only descriptors in descriptor set layouts created without the DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit. See the “Storage Buffer” section and the “Dynamic Storage Buffer” section.
    • maxDescriptorSetStorageBuffersDynamic – 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 DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC count against this limit. Only descriptors in descriptor set layouts created without the DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit. See the “Dynamic Storage Buffer” section.
    • maxDescriptorSetSampledImages – 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 DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, DESCRIPTOR_TYPE_SAMPLED_IMAGE, or DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER count against this limit. Only descriptors in descriptor set layouts created without the DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit. See the “Combined Image Sampler” section, the “Sampled Image” section, and the “Uniform Texel Buffer” section.
    • maxDescriptorSetStorageImages – 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 DESCRIPTOR_TYPE_STORAGE_IMAGE, or DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER count against this limit. Only descriptors in descriptor set layouts created without the DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit. See the “Storage Image” section, and the “Storage Texel Buffer” section.
    • maxDescriptorSetInputAttachments – 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 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_EXT bit set count against this limit. See the “Input Attachment” section.
    • maxVertexInputAttributes – 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. See the “Vertex Attributes” section and the “Vertex Input Description” section.
    • maxVertexInputBindings – 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. See the “Vertex Input Description” section.
    • 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 the “Vertex Input Description” section.
    • 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 the “Vertex Input Description” section.
    • maxVertexOutputComponents – the maximum number of components of output variables which can be output by a vertex shader. See the “Vertex Shaders” section.
    • maxTessellationGenerationLevel – the maximum tessellation generation level supported by the fixed-function tessellation primitive generator. See the “Tessellation” chapter.
    • 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 the “Tessellation” chapter.
    • maxTessellationControlPerVertexInputComponents – the maximum number of components of input variables which can be provided as per-vertex inputs to the tessellation control shader stage.
    • maxTessellationControlPerVertexOutputComponents – the maximum number of components of per-vertex output variables which can be output from the tessellation control shader stage.
    • maxTessellationControlPerPatchOutputComponents – the maximum number of components of per-patch output variables which can be output from the tessellation control shader stage.
    • 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 – the maximum number of components of input variables which can be provided as per-vertex inputs to the tessellation evaluation shader stage.
    • maxTessellationEvaluationOutputComponents – the maximum number of components of per-vertex output variables which can be output from the tessellation evaluation shader stage.
    • 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 the “Geometry Shading” chapter.
    • maxGeometryInputComponents – the maximum number of components of input variables which can be provided as inputs to the geometry shader stage.
    • maxGeometryOutputComponents – the maximum number of components of output variables which can be output from the geometry shader stage.
    • maxGeometryOutputVertices – the maximum number of vertices which can be emitted by any geometry shader.
    • maxGeometryTotalOutputComponents – the maximum total number of components of output, across all emitted vertices, which can be output from the geometry shader stage.
    • maxFragmentInputComponents – the maximum number of components of input variables which can be provided as inputs to the fragment shader stage.
    • maxFragmentOutputAttachments – the maximum number of output attachments which can be written to by the fragment shader stage.
    • 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 the “Dual-Source Blending” section and dualSrcBlend.
    • maxFragmentCombinedOutputResources – the total number of storage buffers, storage images, and output buffers which can be used in the fragment shader stage.
    • maxComputeSharedMemorySize – 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 – 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. See the “Dispatching Commands” chapter.
    • 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 execution mode in shader modules and by the object decorated by the WorkgroupSize decoration must be less than or equal to this limit.
    • maxComputeWorkGroupSize – 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.
    • subPixelPrecisionBits – the number of bits of subpixel precision in framebuffer coordinates xf and yf. See the “Rasterization” chapter.
    • 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 – 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.
      Note

      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).

    • 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 – the maximum draw count that is supported for indirect draw calls. See multiDrawIndirect.
    • 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 – 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 – 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 – 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 – 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 – 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 – 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 the “Host Access to Device Memory Objects” section.
    • minTexelBufferOffsetAlignment – 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 BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT or 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.
    • 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.
    • 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.
    • minTexelOffset – the minimum offset value for the ConstOffset image operand of any of the OpImageSample* or OpImageFetch* image instructions.
    • maxTexelOffset – the maximum offset value for the ConstOffset image operand of any of the OpImageSample* or OpImageFetch* image instructions.
    • minTexelGatherOffset – the minimum offset value for the Offset or ConstOffsets image operands of any of the OpImage*Gather image instructions.
    • maxTexelGatherOffset – the maximum offset value for the Offset or ConstOffsets image operands of any of the OpImage*Gather image instructions.
    • minInterpolationOffset – the minimum negative offset value for the offset operand of the InterpolateAtOffset extended instruction.
    • maxInterpolationOffset – the maximum positive offset value for the offset operand of the InterpolateAtOffset extended instruction.
    • subPixelInterpolationOffsetBits – 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.
    • maxFramebufferWidth – the maximum width for a framebuffer. The width member of the VkFramebufferCreateInfo structure must be less than or equal to this limit.
    • maxFramebufferHeight – the maximum height for a framebuffer. The height member of the VkFramebufferCreateInfo structure must be less than or equal to this limit.
    • 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 – 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 – a bitmask1 of VkSampleCountFlagBits indicating the supported depth sample counts for all framebuffer depth/stencil attachments, when the format includes a depth component.
    • 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 – a bitmask1 of VkSampleCountFlagBits indicating the supported sample counts for a framebuffer with no attachments.
    • maxColorAttachments – 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.
    • 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 – 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 – 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 – a bitmask1 of VkSampleCountFlagBits indicating the sample supported for all 2D images created with IMAGE_TILING_OPTIMAL, usage containing IMAGE_USAGE_SAMPLED_BIT, and a stencil format.
    • 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 – the maximum number of array elements of a variable decorated with the SampleMask built-in decoration.
    • timestampComputeAndGraphics – specifies support for timestamps on all graphics and compute queues. If this limit is set to TRUE, all queues that advertise the QUEUE_GRAPHICS_BIT or QUEUE_COMPUTE_BIT in the VkQueueFamilyProperties::queueFlags support VkQueueFamilyProperties::timestampValidBits of at least 36. See Timestamp Queries.
    • timestampPeriod – the number of nanoseconds required: for a timestamp query to be incremented by 1. See Timestamp Queries.
    • 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 – 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 – 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 – 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 the “Queue Priority” section.
    • pointSizeRange – 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 – the range [minimum,maximum] of supported widths for lines. Values specified by the lineWidth member of the VkPipelineRasterizationStateCreateInfo or the lineWidth parameter to CmdSetLineWidth are clamped to this range.
    • 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 – 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 – 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 – 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.
    • optimalBufferCopyOffsetAlignment – the optimal buffer offset alignment in bytes for CmdCopyBufferToImage and CmdCopyImageToBuffer. The per texel alignment requirements are enforced, but applications should use the optimal alignment for optimal performance and power use.
    • optimalBufferCopyRowPitchAlignment – the optimal buffer row pitch alignment in bytes for CmdCopyBufferToImage 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.
    • nonCoherentAtomSize – the size and alignment in bytes that bounds concurrent access to host-mapped device memory.

    Layout

    
     struct VkPhysicalDeviceLimits {
         uint32_t maxImageDimension1D;
         uint32_t maxImageDimension2D;
         uint32_t maxImageDimension3D;
         uint32_t maxImageDimensionCube;
         uint32_t maxImageArrayLayers;
         uint32_t maxTexelBufferElements;
         uint32_t maxUniformBufferRange;
         uint32_t maxStorageBufferRange;
         uint32_t maxPushConstantsSize;
         uint32_t maxMemoryAllocationCount;
         uint32_t maxSamplerAllocationCount;
         VkDeviceSize bufferImageGranularity;
         VkDeviceSize sparseAddressSpaceSize;
         uint32_t maxBoundDescriptorSets;
         uint32_t maxPerStageDescriptorSamplers;
         uint32_t maxPerStageDescriptorUniformBuffers;
         uint32_t maxPerStageDescriptorStorageBuffers;
         uint32_t maxPerStageDescriptorSampledImages;
         uint32_t maxPerStageDescriptorStorageImages;
         uint32_t maxPerStageDescriptorInputAttachments;
         uint32_t maxPerStageResources;
         uint32_t maxDescriptorSetSamplers;
         uint32_t maxDescriptorSetUniformBuffers;
         uint32_t maxDescriptorSetUniformBuffersDynamic;
         uint32_t maxDescriptorSetStorageBuffers;
         uint32_t maxDescriptorSetStorageBuffersDynamic;
         uint32_t maxDescriptorSetSampledImages;
         uint32_t maxDescriptorSetStorageImages;
         uint32_t maxDescriptorSetInputAttachments;
         uint32_t maxVertexInputAttributes;
         uint32_t maxVertexInputBindings;
         uint32_t maxVertexInputAttributeOffset;
         uint32_t maxVertexInputBindingStride;
         uint32_t maxVertexOutputComponents;
         uint32_t maxTessellationGenerationLevel;
         uint32_t maxTessellationPatchSize;
         uint32_t maxTessellationControlPerVertexInputComponents;
         uint32_t maxTessellationControlPerVertexOutputComponents;
         uint32_t maxTessellationControlPerPatchOutputComponents;
         uint32_t maxTessellationControlTotalOutputComponents;
         uint32_t maxTessellationEvaluationInputComponents;
         uint32_t maxTessellationEvaluationOutputComponents;
         uint32_t maxGeometryShaderInvocations;
         uint32_t maxGeometryInputComponents;
         uint32_t maxGeometryOutputComponents;
         uint32_t maxGeometryOutputVertices;
         uint32_t maxGeometryTotalOutputComponents;
         uint32_t maxFragmentInputComponents;
         uint32_t maxFragmentOutputAttachments;
         uint32_t maxFragmentDualSrcAttachments;
         uint32_t maxFragmentCombinedOutputResources;
         uint32_t maxComputeSharedMemorySize;
         uint32_t maxComputeWorkGroupCount[3];
         uint32_t maxComputeWorkGroupInvocations;
         uint32_t maxComputeWorkGroupSize[3];
         uint32_t subPixelPrecisionBits;
         uint32_t subTexelPrecisionBits;
         uint32_t mipmapPrecisionBits;
         uint32_t maxDrawIndexedIndexValue;
         uint32_t maxDrawIndirectCount;
         float maxSamplerLodBias;
         float maxSamplerAnisotropy;
         uint32_t maxViewports;
         uint32_t maxViewportDimensions[2];
         float viewportBoundsRange[2];
         uint32_t viewportSubPixelBits;
         size_t minMemoryMapAlignment;
         VkDeviceSize minTexelBufferOffsetAlignment;
         VkDeviceSize minUniformBufferOffsetAlignment;
         VkDeviceSize minStorageBufferOffsetAlignment;
         int32_t minTexelOffset;
         uint32_t maxTexelOffset;
         int32_t minTexelGatherOffset;
         uint32_t maxTexelGatherOffset;
         float minInterpolationOffset;
         float maxInterpolationOffset;
         uint32_t subPixelInterpolationOffsetBits;
         uint32_t maxFramebufferWidth;
         uint32_t maxFramebufferHeight;
         uint32_t maxFramebufferLayers;
         VkSampleCountFlags framebufferColorSampleCounts;
         VkSampleCountFlags framebufferDepthSampleCounts;
         VkSampleCountFlags framebufferStencilSampleCounts;
         VkSampleCountFlags framebufferNoAttachmentsSampleCounts;
         uint32_t maxColorAttachments;
         VkSampleCountFlags sampledImageColorSampleCounts;
         VkSampleCountFlags sampledImageIntegerSampleCounts;
         VkSampleCountFlags sampledImageDepthSampleCounts;
         VkSampleCountFlags sampledImageStencilSampleCounts;
         VkSampleCountFlags storageImageSampleCounts;
         uint32_t maxSampleMaskWords;
         VkBool32 timestampComputeAndGraphics;
         float timestampPeriod;
         uint32_t maxClipDistances;
         uint32_t maxCullDistances;
         uint32_t maxCombinedClipAndCullDistances;
         uint32_t discreteQueuePriorities;
         float pointSizeRange[2];
         float lineWidthRange[2];
         float pointSizeGranularity;
         float lineWidthGranularity;
         VkBool32 strictLines;
         VkBool32 standardSampleLocations;
         VkDeviceSize optimalBufferCopyOffsetAlignment;
         VkDeviceSize optimalBufferCopyRowPitchAlignment;
         VkDeviceSize nonCoherentAtomSize;
     }
    • 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()
        Description copied from class: Struct
        Returns sizeof(struct).
        Specified by:
        sizeof in class Struct
      • maxImageDimension1D

        public int maxImageDimension1D()
        Returns the value of the maxImageDimension1D field.
      • maxImageDimension2D

        public int maxImageDimension2D()
        Returns the value of the maxImageDimension2D field.
      • maxImageDimension3D

        public int maxImageDimension3D()
        Returns the value of the maxImageDimension3D field.
      • maxImageDimensionCube

        public int maxImageDimensionCube()
        Returns the value of the maxImageDimensionCube field.
      • maxImageArrayLayers

        public int maxImageArrayLayers()
        Returns the value of the maxImageArrayLayers field.
      • maxTexelBufferElements

        public int maxTexelBufferElements()
        Returns the value of the maxTexelBufferElements field.
      • maxUniformBufferRange

        public int maxUniformBufferRange()
        Returns the value of the maxUniformBufferRange field.
      • maxStorageBufferRange

        public int maxStorageBufferRange()
        Returns the value of the maxStorageBufferRange field.
      • maxPushConstantsSize

        public int maxPushConstantsSize()
        Returns the value of the maxPushConstantsSize field.
      • maxMemoryAllocationCount

        public int maxMemoryAllocationCount()
        Returns the value of the maxMemoryAllocationCount field.
      • maxSamplerAllocationCount

        public int maxSamplerAllocationCount()
        Returns the value of the maxSamplerAllocationCount field.
      • bufferImageGranularity

        public long bufferImageGranularity()
        Returns the value of the bufferImageGranularity field.
      • sparseAddressSpaceSize

        public long sparseAddressSpaceSize()
        Returns the value of the sparseAddressSpaceSize field.
      • maxBoundDescriptorSets

        public int maxBoundDescriptorSets()
        Returns the value of the maxBoundDescriptorSets field.
      • maxPerStageDescriptorSamplers

        public int maxPerStageDescriptorSamplers()
        Returns the value of the maxPerStageDescriptorSamplers field.
      • maxPerStageDescriptorUniformBuffers

        public int maxPerStageDescriptorUniformBuffers()
        Returns the value of the maxPerStageDescriptorUniformBuffers field.
      • maxPerStageDescriptorStorageBuffers

        public int maxPerStageDescriptorStorageBuffers()
        Returns the value of the maxPerStageDescriptorStorageBuffers field.
      • maxPerStageDescriptorSampledImages

        public int maxPerStageDescriptorSampledImages()
        Returns the value of the maxPerStageDescriptorSampledImages field.
      • maxPerStageDescriptorStorageImages

        public int maxPerStageDescriptorStorageImages()
        Returns the value of the maxPerStageDescriptorStorageImages field.
      • maxPerStageDescriptorInputAttachments

        public int maxPerStageDescriptorInputAttachments()
        Returns the value of the maxPerStageDescriptorInputAttachments field.
      • maxPerStageResources

        public int maxPerStageResources()
        Returns the value of the maxPerStageResources field.
      • maxDescriptorSetSamplers

        public int maxDescriptorSetSamplers()
        Returns the value of the maxDescriptorSetSamplers field.
      • maxDescriptorSetUniformBuffers

        public int maxDescriptorSetUniformBuffers()
        Returns the value of the maxDescriptorSetUniformBuffers field.
      • maxDescriptorSetUniformBuffersDynamic

        public int maxDescriptorSetUniformBuffersDynamic()
        Returns the value of the maxDescriptorSetUniformBuffersDynamic field.
      • maxDescriptorSetStorageBuffers

        public int maxDescriptorSetStorageBuffers()
        Returns the value of the maxDescriptorSetStorageBuffers field.
      • maxDescriptorSetStorageBuffersDynamic

        public int maxDescriptorSetStorageBuffersDynamic()
        Returns the value of the maxDescriptorSetStorageBuffersDynamic field.
      • maxDescriptorSetSampledImages

        public int maxDescriptorSetSampledImages()
        Returns the value of the maxDescriptorSetSampledImages field.
      • maxDescriptorSetStorageImages

        public int maxDescriptorSetStorageImages()
        Returns the value of the maxDescriptorSetStorageImages field.
      • maxDescriptorSetInputAttachments

        public int maxDescriptorSetInputAttachments()
        Returns the value of the maxDescriptorSetInputAttachments field.
      • maxVertexInputAttributes

        public int maxVertexInputAttributes()
        Returns the value of the maxVertexInputAttributes field.
      • maxVertexInputBindings

        public int maxVertexInputBindings()
        Returns the value of the maxVertexInputBindings field.
      • maxVertexInputAttributeOffset

        public int maxVertexInputAttributeOffset()
        Returns the value of the maxVertexInputAttributeOffset field.
      • maxVertexInputBindingStride

        public int maxVertexInputBindingStride()
        Returns the value of the maxVertexInputBindingStride field.
      • maxVertexOutputComponents

        public int maxVertexOutputComponents()
        Returns the value of the maxVertexOutputComponents field.
      • maxTessellationGenerationLevel

        public int maxTessellationGenerationLevel()
        Returns the value of the maxTessellationGenerationLevel field.
      • maxTessellationPatchSize

        public int maxTessellationPatchSize()
        Returns the value of the maxTessellationPatchSize field.
      • maxTessellationControlPerVertexInputComponents

        public int maxTessellationControlPerVertexInputComponents()
        Returns the value of the maxTessellationControlPerVertexInputComponents field.
      • maxTessellationControlPerVertexOutputComponents

        public int maxTessellationControlPerVertexOutputComponents()
        Returns the value of the maxTessellationControlPerVertexOutputComponents field.
      • maxTessellationControlPerPatchOutputComponents

        public int maxTessellationControlPerPatchOutputComponents()
        Returns the value of the maxTessellationControlPerPatchOutputComponents field.
      • maxTessellationControlTotalOutputComponents

        public int maxTessellationControlTotalOutputComponents()
        Returns the value of the maxTessellationControlTotalOutputComponents field.
      • maxTessellationEvaluationInputComponents

        public int maxTessellationEvaluationInputComponents()
        Returns the value of the maxTessellationEvaluationInputComponents field.
      • maxTessellationEvaluationOutputComponents

        public int maxTessellationEvaluationOutputComponents()
        Returns the value of the maxTessellationEvaluationOutputComponents field.
      • maxGeometryShaderInvocations

        public int maxGeometryShaderInvocations()
        Returns the value of the maxGeometryShaderInvocations field.
      • maxGeometryInputComponents

        public int maxGeometryInputComponents()
        Returns the value of the maxGeometryInputComponents field.
      • maxGeometryOutputComponents

        public int maxGeometryOutputComponents()
        Returns the value of the maxGeometryOutputComponents field.
      • maxGeometryOutputVertices

        public int maxGeometryOutputVertices()
        Returns the value of the maxGeometryOutputVertices field.
      • maxGeometryTotalOutputComponents

        public int maxGeometryTotalOutputComponents()
        Returns the value of the maxGeometryTotalOutputComponents field.
      • maxFragmentInputComponents

        public int maxFragmentInputComponents()
        Returns the value of the maxFragmentInputComponents field.
      • maxFragmentOutputAttachments

        public int maxFragmentOutputAttachments()
        Returns the value of the maxFragmentOutputAttachments field.
      • maxFragmentDualSrcAttachments

        public int maxFragmentDualSrcAttachments()
        Returns the value of the maxFragmentDualSrcAttachments field.
      • maxFragmentCombinedOutputResources

        public int maxFragmentCombinedOutputResources()
        Returns the value of the maxFragmentCombinedOutputResources field.
      • maxComputeSharedMemorySize

        public int maxComputeSharedMemorySize()
        Returns the value of the maxComputeSharedMemorySize field.
      • maxComputeWorkGroupCount

        public java.nio.IntBuffer maxComputeWorkGroupCount()
        Returns a IntBuffer view of the maxComputeWorkGroupCount field.
      • maxComputeWorkGroupCount

        public int maxComputeWorkGroupCount​(int index)
        Returns the value at the specified index of the maxComputeWorkGroupCount field.
      • maxComputeWorkGroupInvocations

        public int maxComputeWorkGroupInvocations()
        Returns the value of the maxComputeWorkGroupInvocations field.
      • maxComputeWorkGroupSize

        public java.nio.IntBuffer maxComputeWorkGroupSize()
        Returns a IntBuffer view of the maxComputeWorkGroupSize field.
      • maxComputeWorkGroupSize

        public int maxComputeWorkGroupSize​(int index)
        Returns the value at the specified index of the maxComputeWorkGroupSize field.
      • subPixelPrecisionBits

        public int subPixelPrecisionBits()
        Returns the value of the subPixelPrecisionBits field.
      • subTexelPrecisionBits

        public int subTexelPrecisionBits()
        Returns the value of the subTexelPrecisionBits field.
      • mipmapPrecisionBits

        public int mipmapPrecisionBits()
        Returns the value of the mipmapPrecisionBits field.
      • maxDrawIndexedIndexValue

        public int maxDrawIndexedIndexValue()
        Returns the value of the maxDrawIndexedIndexValue field.
      • maxDrawIndirectCount

        public int maxDrawIndirectCount()
        Returns the value of the maxDrawIndirectCount field.
      • maxSamplerLodBias

        public float maxSamplerLodBias()
        Returns the value of the maxSamplerLodBias field.
      • maxSamplerAnisotropy

        public float maxSamplerAnisotropy()
        Returns the value of the maxSamplerAnisotropy field.
      • maxViewports

        public int maxViewports()
        Returns the value of the maxViewports field.
      • maxViewportDimensions

        public java.nio.IntBuffer maxViewportDimensions()
        Returns a IntBuffer view of the maxViewportDimensions field.
      • maxViewportDimensions

        public int maxViewportDimensions​(int index)
        Returns the value at the specified index of the maxViewportDimensions field.
      • viewportBoundsRange

        public java.nio.FloatBuffer viewportBoundsRange()
        Returns a FloatBuffer view of the viewportBoundsRange field.
      • viewportBoundsRange

        public float viewportBoundsRange​(int index)
        Returns the value at the specified index of the viewportBoundsRange field.
      • viewportSubPixelBits

        public int viewportSubPixelBits()
        Returns the value of the viewportSubPixelBits field.
      • minMemoryMapAlignment

        public long minMemoryMapAlignment()
        Returns the value of the minMemoryMapAlignment field.
      • minTexelBufferOffsetAlignment

        public long minTexelBufferOffsetAlignment()
        Returns the value of the minTexelBufferOffsetAlignment field.
      • minUniformBufferOffsetAlignment

        public long minUniformBufferOffsetAlignment()
        Returns the value of the minUniformBufferOffsetAlignment field.
      • minStorageBufferOffsetAlignment

        public long minStorageBufferOffsetAlignment()
        Returns the value of the minStorageBufferOffsetAlignment field.
      • minTexelOffset

        public int minTexelOffset()
        Returns the value of the minTexelOffset field.
      • maxTexelOffset

        public int maxTexelOffset()
        Returns the value of the maxTexelOffset field.
      • minTexelGatherOffset

        public int minTexelGatherOffset()
        Returns the value of the minTexelGatherOffset field.
      • maxTexelGatherOffset

        public int maxTexelGatherOffset()
        Returns the value of the maxTexelGatherOffset field.
      • minInterpolationOffset

        public float minInterpolationOffset()
        Returns the value of the minInterpolationOffset field.
      • maxInterpolationOffset

        public float maxInterpolationOffset()
        Returns the value of the maxInterpolationOffset field.
      • subPixelInterpolationOffsetBits

        public int subPixelInterpolationOffsetBits()
        Returns the value of the subPixelInterpolationOffsetBits field.
      • maxFramebufferWidth

        public int maxFramebufferWidth()
        Returns the value of the maxFramebufferWidth field.
      • maxFramebufferHeight

        public int maxFramebufferHeight()
        Returns the value of the maxFramebufferHeight field.
      • maxFramebufferLayers

        public int maxFramebufferLayers()
        Returns the value of the maxFramebufferLayers field.
      • framebufferColorSampleCounts

        public int framebufferColorSampleCounts()
        Returns the value of the framebufferColorSampleCounts field.
      • framebufferDepthSampleCounts

        public int framebufferDepthSampleCounts()
        Returns the value of the framebufferDepthSampleCounts field.
      • framebufferStencilSampleCounts

        public int framebufferStencilSampleCounts()
        Returns the value of the framebufferStencilSampleCounts field.
      • framebufferNoAttachmentsSampleCounts

        public int framebufferNoAttachmentsSampleCounts()
        Returns the value of the framebufferNoAttachmentsSampleCounts field.
      • maxColorAttachments

        public int maxColorAttachments()
        Returns the value of the maxColorAttachments field.
      • sampledImageColorSampleCounts

        public int sampledImageColorSampleCounts()
        Returns the value of the sampledImageColorSampleCounts field.
      • sampledImageIntegerSampleCounts

        public int sampledImageIntegerSampleCounts()
        Returns the value of the sampledImageIntegerSampleCounts field.
      • sampledImageDepthSampleCounts

        public int sampledImageDepthSampleCounts()
        Returns the value of the sampledImageDepthSampleCounts field.
      • sampledImageStencilSampleCounts

        public int sampledImageStencilSampleCounts()
        Returns the value of the sampledImageStencilSampleCounts field.
      • storageImageSampleCounts

        public int storageImageSampleCounts()
        Returns the value of the storageImageSampleCounts field.
      • maxSampleMaskWords

        public int maxSampleMaskWords()
        Returns the value of the maxSampleMaskWords field.
      • timestampComputeAndGraphics

        public boolean timestampComputeAndGraphics()
        Returns the value of the timestampComputeAndGraphics field.
      • timestampPeriod

        public float timestampPeriod()
        Returns the value of the timestampPeriod field.
      • maxClipDistances

        public int maxClipDistances()
        Returns the value of the maxClipDistances field.
      • maxCullDistances

        public int maxCullDistances()
        Returns the value of the maxCullDistances field.
      • maxCombinedClipAndCullDistances

        public int maxCombinedClipAndCullDistances()
        Returns the value of the maxCombinedClipAndCullDistances field.
      • discreteQueuePriorities

        public int discreteQueuePriorities()
        Returns the value of the discreteQueuePriorities field.
      • pointSizeRange

        public java.nio.FloatBuffer pointSizeRange()
        Returns a FloatBuffer view of the pointSizeRange field.
      • pointSizeRange

        public float pointSizeRange​(int index)
        Returns the value at the specified index of the pointSizeRange field.
      • lineWidthRange

        public java.nio.FloatBuffer lineWidthRange()
        Returns a FloatBuffer view of the lineWidthRange field.
      • lineWidthRange

        public float lineWidthRange​(int index)
        Returns the value at the specified index of the lineWidthRange field.
      • pointSizeGranularity

        public float pointSizeGranularity()
        Returns the value of the pointSizeGranularity field.
      • lineWidthGranularity

        public float lineWidthGranularity()
        Returns the value of the lineWidthGranularity field.
      • strictLines

        public boolean strictLines()
        Returns the value of the strictLines field.
      • standardSampleLocations

        public boolean standardSampleLocations()
        Returns the value of the standardSampleLocations field.
      • optimalBufferCopyOffsetAlignment

        public long optimalBufferCopyOffsetAlignment()
        Returns the value of the optimalBufferCopyOffsetAlignment field.
      • optimalBufferCopyRowPitchAlignment

        public long optimalBufferCopyRowPitchAlignment()
        Returns the value of the optimalBufferCopyRowPitchAlignment field.
      • nonCoherentAtomSize

        public long nonCoherentAtomSize()
        Returns the value of the nonCoherentAtomSize field.
      • 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().