Package org.lwjgl.vulkan
Class VkPhysicalDeviceLimits
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceLimits
-
- All Implemented Interfaces:
- java.lang.AutoCloseable, NativeResource, Pointer
public class VkPhysicalDeviceLimits extends Struct
Khronos Reference Page
Vulkan SpecificationContains properties of a physical device.
Member documentation
maxImageDimension1D
– the maximum dimension (width
) of an image created with animageType
ofIMAGE_TYPE_1D
maxImageDimension2D
– the maximum dimension (width
orheight
) of an image created with animageType
ofIMAGE_TYPE_2D
and withoutIMAGE_CREATE_CUBE_COMPATIBLE_BIT
set in flagsmaxImageDimension3D
– the maximum dimension (width
,height
, ordepth
) of an image created with animageType
ofIMAGE_TYPE_3D
maxImageDimensionCube
– the maximum dimension (width
orheight
) of an image created with animageType
ofIMAGE_TYPE_2D
and withIMAGE_CREATE_CUBE_COMPATIBLE_BIT
set in flagsmaxImageArrayLayers
– the maximum number of layers (arrayLayers
) for an imagemaxTexelBufferElements
– the maximum number of addressable texels for a buffer view created on a buffer which was created with theBUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT
orBUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT
set in the usage member of theVkBufferCreateInfo
structuremaxUniformBufferRange
– the maximum value that can be specified in the range member of anyVkDescriptorBufferInfo
structures passed to a call toUpdateDescriptorSets
for descriptors of typeDESCRIPTOR_TYPE_UNIFORM_BUFFER
orDESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC
maxStorageBufferRange
– the maximum value that can be specified in the range member of anyVkDescriptorBufferInfo
structures passed to a call toUpdateDescriptorSets
for descriptors of typeDESCRIPTOR_TYPE_STORAGE_BUFFER
orDESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC
maxPushConstantsSize
– the maximum size, in bytes, of the pool of push constant memorymaxMemoryAllocationCount
– the maximum number of device memory allocations, as created byAllocateMemory
, which can simultaneously existmaxSamplerAllocationCount
– the maximum number of sampler objects, as created byCreateSampler
, which can simultaneously exist on a devicebufferImageGranularity
– the granularity, in bytes, at which buffer or linear image resources, and optimal image resources can be bound to adjacent offsets in the sameVkDeviceMemory
object without aliasingsparseAddressSpaceSize
– the total amount of address space available, in bytes, for sparse memory resourcesmaxBoundDescriptorSets
– the maximum number of descriptor sets that can be simultaneously used by a pipelinemaxPerStageDescriptorSamplers
– the maximum number of samplers that can be accessible to a single shader stage in a pipeline layoutmaxPerStageDescriptorUniformBuffers
– the maximum number of uniform buffers that can be accessible to a single shader stage in a pipeline layoutmaxPerStageDescriptorStorageBuffers
– the maximum number of storage buffers that can be accessible to a single shader stage in a pipeline layoutmaxPerStageDescriptorSampledImages
– the maximum number of sampled images that can be accessible to a single shader stage in a pipeline layoutmaxPerStageDescriptorStorageImages
– the maximum number of storage images that can be accessible to a single shader stage in a pipeline layoutmaxPerStageDescriptorInputAttachments
– the maximum number of input attachments that can be accessible to a single shader stage in a pipeline layoutmaxPerStageResources
– the maximum number of resources that can be accessible to a single shader stage in a pipeline layoutmaxDescriptorSetSamplers
– the maximum number of samplers that can be included in descriptor bindings in a pipeline layout across all pipeline shader stages and descriptor set numbersmaxDescriptorSetUniformBuffers
– 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 numbersmaxDescriptorSetUniformBuffersDynamic
– 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 numbersmaxDescriptorSetStorageBuffers
– 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 numbersmaxDescriptorSetStorageBuffersDynamic
– 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 numbersmaxDescriptorSetSampledImages
– 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 numbersmaxDescriptorSetStorageImages
– 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 numbersmaxDescriptorSetInputAttachments
– 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 numbersmaxVertexInputAttributes
– the maximum number of vertex input attributes that can be specified for a graphics pipelinemaxVertexInputBindings
– the maximum number of vertex buffers that can be specified for providing vertex attributes to a graphics pipelinemaxVertexInputAttributeOffset
– the maximum vertex input attribute offset that can be added to the vertex input binding stridemaxVertexInputBindingStride
– the maximum vertex input binding stride that can be specified in a vertex input bindingmaxVertexOutputComponents
– the maximum number of components of output variables which can be output by a vertex shadermaxTessellationGenerationLevel
– the maximum tessellation generation level supported by the fixed-function tessellation primitive generatormaxTessellationPatchSize
– the maximum patch size, in vertices, of patches that can be processed by the tessellation control shader and tessellation primitive generatormaxTessellationControlPerVertexInputComponents
– the maximum number of components of input variables which can be provided as per-vertex inputs to the tessellation control shader stagemaxTessellationControlPerVertexOutputComponents
– the maximum number of components of per-vertex output variables which can be output from the tessellation control shader stagemaxTessellationControlPerPatchOutputComponents
– the maximum number of components of per-patch output variables which can be output from the tessellation control shader stagemaxTessellationControlTotalOutputComponents
– the maximum total number of components of per-vertex and per-patch output variables which can be output from the tessellation control shader stagemaxTessellationEvaluationInputComponents
– the maximum number of components of input variables which can be provided as per-vertex inputs to the tessellation evaluation shader stagemaxTessellationEvaluationOutputComponents
– the maximum number of components of per-vertex output variables which can be output from the tessellation evaluation shader stagemaxGeometryShaderInvocations
– the maximum invocation count supported for instanced geometry shadersmaxGeometryInputComponents
– the maximum number of components of input variables which can be provided as inputs to the geometry shader stagemaxGeometryOutputComponents
– the maximum number of components of output variables which can be output from the geometry shader stagemaxGeometryOutputVertices
– the maximum number of vertices which can be emitted by any geometry shadermaxGeometryTotalOutputComponents
– the maximum total number of components of output, across all emitted vertices, which can be output from the geometry shader stagemaxFragmentInputComponents
– the maximum number of components of input variables which can be provided as inputs to the fragment shader stagemaxFragmentOutputAttachments
– the maximum number of output attachments which can be written to by the fragment shader stagemaxFragmentDualSrcAttachments
– 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 usemaxFragmentCombinedOutputResources
– the total number of storage buffers, storage images, and output buffers which can be used in the fragment shader stagemaxComputeSharedMemorySize
– 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 stagemaxComputeWorkGroupCount
– the maximum number of local workgroups that can be dispatched by a single dispatch commandmaxComputeWorkGroupInvocations
– the maximum total number of compute shader invocations in a single local workgroumaxComputeWorkGroupSize
– the maximum size of a local compute workgroup, per dimensionsubPixelPrecisionBits
– the number of bits of subpixel precision in framebuffer coordinates xf and yfsubTexelPrecisionBits
– the number of bits of precision in the division along an axis of an image used for minification and magnification filtersmipmapPrecisionBits
– the number of bits of division that the LOD calculation for mipmap fetching get snapped to when determining the contribution from each miplevel to the mip filtered resultsmaxDrawIndexedIndexValue
– the maximum index value that can be used for indexed draw calls when using 32-bit indicesmaxDrawIndirectCount
– the maximum draw count that is supported for indirect draw callsmaxSamplerLodBias
– the maximum absolute sampler level of detail biasmaxSamplerAnisotropy
– the maximum degree of sampler anisotropymaxViewports
– the maximum number of active viewportsmaxViewportDimensions
– the maximum viewport dimensions in the X (width) and Y (height) dimensions, respectivelyviewportBoundsRange
– the[minimum,maximum]
range that the corners of a viewport must be contained inviewportSubPixelBits
– the number of bits of subpixel precision for viewport boundsminMemoryMapAlignment
– the minimum required alignment, in bytes, of host visible memory allocations within the host address spaceminTexelBufferOffsetAlignment
– the minimum required alignment, in bytes, for theoffset
member of theVkBufferViewCreateInfo
structure for texel buffersminUniformBufferOffsetAlignment
– the minimum required alignment, in bytes, for theoffset
member of theVkDescriptorBufferInfo
structure for uniform buffersminStorageBufferOffsetAlignment
– the minimum required alignment, in bytes, for theoffset
member of theVkDescriptorBufferInfo
structure for storage buffersminTexelOffset
– the minimum offset value for theConstOffset
image operand of any of theOpImageSample*
orOpImageFetch*
image instructionsmaxTexelOffset
– the maximum offset value for theConstOffset
image operand of any of theOpImageSample*
orOpImageFetch*
image instructionsminTexelGatherOffset
– the minimum offset value for theOffset
orConstOffsets
image operands of any of theOpImage*Gather
image instructionsmaxTexelGatherOffset
– the maximum offset value for theOffset
orConstOffsets
image operands of any of theOpImage*Gather
image instructionsminInterpolationOffset
– the minimum negative offset value for theoffset
operand of theInterpolateAtOffset
extended instructionmaxInterpolationOffset
– the maximum positive offset value for theoffset
operand of theInterpolateAtOffset
extended instructionsubPixelInterpolationOffsetBits
– the number of subpixel fractional bits that thex
andy
offsets to theInterpolateAtOffset
extended instruction may be rounded to as fixed-point valuesmaxFramebufferWidth
– the maximum width for a framebuffermaxFramebufferHeight
– the maximum height for a framebuffermaxFramebufferLayers
– the maximum layer count for a layered framebufferframebufferColorSampleCounts
– a bitmask ofVkSampleCountFlagBits
bits indicating the supported color sample counts for a framebuffer color attachment. One or more of:SAMPLE_COUNT_16_BIT
SAMPLE_COUNT_1_BIT
SAMPLE_COUNT_2_BIT
SAMPLE_COUNT_32_BIT
SAMPLE_COUNT_4_BIT
SAMPLE_COUNT_64_BIT
SAMPLE_COUNT_8_BIT
framebufferDepthSampleCounts
– a bitmask ofVkSampleCountFlagBits
bits indicating the supported depth sample counts for a framebuffer depth/stencil attachment, when the format includes a depth componentframebufferStencilSampleCounts
– a bitmask ofVkSampleCountFlagBits
bits indicating the supported stencil sample counts for a framebuffer depth/stencil attachment, when the format includes a stencil componentframebufferNoAttachmentsSampleCounts
– a bitmask ofVkSampleCountFlagBits
bits indicating the supported sample counts for a framebuffer with no attachmentsmaxColorAttachments
– the maximum number of color attachments that can be used by a subpass in a render passsampledImageColorSampleCounts
– a bitmask ofVkSampleCountFlagBits
bits indicating the sample counts supported for all images with a non-integer color formatsampledImageIntegerSampleCounts
– a bitmask ofVkSampleCountFlagBits
bits indicating the sample counts supported for all images with a integer color formatsampledImageDepthSampleCounts
– a bitmask ofVkSampleCountFlagBits
bits indicating the sample counts supported for all images with a depth formatsampledImageStencilSampleCounts
– a bitmask ofVkSampleCountFlagBits
bits indicating the sample supported for all images with a stencil formatstorageImageSampleCounts
– a bitmask ofVkSampleCountFlagBits
bits indicating the sample counts supported for all images used for storage operationsmaxSampleMaskWords
– the maximum number of array elements of a variable decorated with theSampleMask
built-in decorationtimestampComputeAndGraphics
– indicates support for timestamps on all graphics and compute queuestimestampPeriod
– the number of nanoseconds required for a timestamp query to be incremented by 1maxClipDistances
– the maximum number of clip distances that can be used in a single shader stagemaxCullDistances
– the maximum number of cull distances that can be used in a single shader stagemaxCombinedClipAndCullDistances
– the maximum combined number of clip and cull distances that can be used in a single shader stagediscreteQueuePriorities
– the number of discrete priorities that can be assigned to a queue based on the value of each member ofVkDeviceQueueCreateInfo
::pQueuePriorities
pointSizeRange
– the range[minimum,maximum]
of supported sizes for pointslineWidthRange
– the range[minimum,maximum]
of supported widths for linespointSizeGranularity
– the granularity of supported point sizeslineWidthGranularity
– the granularity of supported line widthsstrictLines
– indicates whether lines are rasterized according to the preferred method of rasterizationstandardSampleLocations
– indicates whether rasterization uses the standard sample locationsoptimalBufferCopyOffsetAlignment
– the optimal buffer offset alignment in bytes forCmdCopyBufferToImage
andCmdCopyImageToBuffer
optimalBufferCopyRowPitchAlignment
– the optimal buffer row pitch alignment in bytes forCmdCopyBufferToImage
andCmdCopyImageToBuffer
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[3] maxComputeWorkGroupCount; uint32_t maxComputeWorkGroupInvocations; uint32_t[3] maxComputeWorkGroupSize; uint32_t subPixelPrecisionBits; uint32_t subTexelPrecisionBits; uint32_t mipmapPrecisionBits; uint32_t maxDrawIndexedIndexValue; uint32_t maxDrawIndirectCount; float maxSamplerLodBias; float maxSamplerAnisotropy; uint32_t maxViewports; uint32_t[2] maxViewportDimensions; float[2] viewportBoundsRange; uint32_t viewportSubPixelBits; size_t minMemoryMapAlignment; 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[2] pointSizeRange; float[2] lineWidthRange; float pointSizeGranularity; float lineWidthGranularity; VkBool32 strictLines; VkBool32 standardSampleLocations; VkDeviceSize optimalBufferCopyOffsetAlignment; VkDeviceSize optimalBufferCopyRowPitchAlignment; VkDeviceSize nonCoherentAtomSize; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static class
VkPhysicalDeviceLimits.Buffer
An array ofVkPhysicalDeviceLimits
structs.-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
Fields Modifier and Type Field and Description static int
SIZEOF
The struct size in bytes.-
Fields inherited from interface org.lwjgl.system.Pointer
POINTER_SHIFT, POINTER_SIZE
-
-
Constructor Summary
Constructors Constructor and Description VkPhysicalDeviceLimits(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceLimits
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description long
bufferImageGranularity()
Returns the value of thebufferImageGranularity
field.static VkPhysicalDeviceLimits
calloc()
Returns a newVkPhysicalDeviceLimits
instance allocated withmemCalloc
.static VkPhysicalDeviceLimits.Buffer
calloc(int capacity)
Returns a newVkPhysicalDeviceLimits.Buffer
instance allocated withmemCalloc
.static VkPhysicalDeviceLimits
callocStack()
Returns a newVkPhysicalDeviceLimits
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceLimits.Buffer
callocStack(int capacity)
Returns a newVkPhysicalDeviceLimits.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceLimits.Buffer
callocStack(int capacity, MemoryStack stack)
Returns a newVkPhysicalDeviceLimits.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceLimits
callocStack(MemoryStack stack)
Returns a newVkPhysicalDeviceLimits
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceLimits
create()
Returns a newVkPhysicalDeviceLimits
instance allocated withBufferUtils
.static VkPhysicalDeviceLimits.Buffer
create(int capacity)
Returns a newVkPhysicalDeviceLimits.Buffer
instance allocated withBufferUtils
.static VkPhysicalDeviceLimits
create(long address)
Returns a newVkPhysicalDeviceLimits
instance for the specified memory address ornull
if the address isNULL
.static VkPhysicalDeviceLimits.Buffer
create(long address, int capacity)
Create aVkPhysicalDeviceLimits.Buffer
instance at the specified memory.int
discreteQueuePriorities()
Returns the value of thediscreteQueuePriorities
field.int
framebufferColorSampleCounts()
Returns the value of theframebufferColorSampleCounts
field.int
framebufferDepthSampleCounts()
Returns the value of theframebufferDepthSampleCounts
field.int
framebufferNoAttachmentsSampleCounts()
Returns the value of theframebufferNoAttachmentsSampleCounts
field.int
framebufferStencilSampleCounts()
Returns the value of theframebufferStencilSampleCounts
field.float
lineWidthGranularity()
Returns the value of thelineWidthGranularity
field.java.nio.FloatBuffer
lineWidthRange()
Returns aFloatBuffer
view of thelineWidthRange
field.float
lineWidthRange(int index)
Returns the value at the specified index of thelineWidthRange
field.static VkPhysicalDeviceLimits
malloc()
Returns a newVkPhysicalDeviceLimits
instance allocated withmemAlloc
.static VkPhysicalDeviceLimits.Buffer
malloc(int capacity)
Returns a newVkPhysicalDeviceLimits.Buffer
instance allocated withmemAlloc
.static VkPhysicalDeviceLimits
mallocStack()
Returns a newVkPhysicalDeviceLimits
instance allocated on the thread-localMemoryStack
.static VkPhysicalDeviceLimits.Buffer
mallocStack(int capacity)
Returns a newVkPhysicalDeviceLimits.Buffer
instance allocated on the thread-localMemoryStack
.static VkPhysicalDeviceLimits.Buffer
mallocStack(int capacity, MemoryStack stack)
Returns a newVkPhysicalDeviceLimits.Buffer
instance allocated on the specifiedMemoryStack
.static VkPhysicalDeviceLimits
mallocStack(MemoryStack stack)
Returns a newVkPhysicalDeviceLimits
instance allocated on the specifiedMemoryStack
.int
maxBoundDescriptorSets()
Returns the value of themaxBoundDescriptorSets
field.int
maxClipDistances()
Returns the value of themaxClipDistances
field.int
maxColorAttachments()
Returns the value of themaxColorAttachments
field.int
maxCombinedClipAndCullDistances()
Returns the value of themaxCombinedClipAndCullDistances
field.int
maxComputeSharedMemorySize()
Returns the value of themaxComputeSharedMemorySize
field.java.nio.IntBuffer
maxComputeWorkGroupCount()
Returns aIntBuffer
view of themaxComputeWorkGroupCount
field.int
maxComputeWorkGroupCount(int index)
Returns the value at the specified index of themaxComputeWorkGroupCount
field.int
maxComputeWorkGroupInvocations()
Returns the value of themaxComputeWorkGroupInvocations
field.java.nio.IntBuffer
maxComputeWorkGroupSize()
Returns aIntBuffer
view of themaxComputeWorkGroupSize
field.int
maxComputeWorkGroupSize(int index)
Returns the value at the specified index of themaxComputeWorkGroupSize
field.int
maxCullDistances()
Returns the value of themaxCullDistances
field.int
maxDescriptorSetInputAttachments()
Returns the value of themaxDescriptorSetInputAttachments
field.int
maxDescriptorSetSampledImages()
Returns the value of themaxDescriptorSetSampledImages
field.int
maxDescriptorSetSamplers()
Returns the value of themaxDescriptorSetSamplers
field.int
maxDescriptorSetStorageBuffers()
Returns the value of themaxDescriptorSetStorageBuffers
field.int
maxDescriptorSetStorageBuffersDynamic()
Returns the value of themaxDescriptorSetStorageBuffersDynamic
field.int
maxDescriptorSetStorageImages()
Returns the value of themaxDescriptorSetStorageImages
field.int
maxDescriptorSetUniformBuffers()
Returns the value of themaxDescriptorSetUniformBuffers
field.int
maxDescriptorSetUniformBuffersDynamic()
Returns the value of themaxDescriptorSetUniformBuffersDynamic
field.int
maxDrawIndexedIndexValue()
Returns the value of themaxDrawIndexedIndexValue
field.int
maxDrawIndirectCount()
Returns the value of themaxDrawIndirectCount
field.int
maxFragmentCombinedOutputResources()
Returns the value of themaxFragmentCombinedOutputResources
field.int
maxFragmentDualSrcAttachments()
Returns the value of themaxFragmentDualSrcAttachments
field.int
maxFragmentInputComponents()
Returns the value of themaxFragmentInputComponents
field.int
maxFragmentOutputAttachments()
Returns the value of themaxFragmentOutputAttachments
field.int
maxFramebufferHeight()
Returns the value of themaxFramebufferHeight
field.int
maxFramebufferLayers()
Returns the value of themaxFramebufferLayers
field.int
maxFramebufferWidth()
Returns the value of themaxFramebufferWidth
field.int
maxGeometryInputComponents()
Returns the value of themaxGeometryInputComponents
field.int
maxGeometryOutputComponents()
Returns the value of themaxGeometryOutputComponents
field.int
maxGeometryOutputVertices()
Returns the value of themaxGeometryOutputVertices
field.int
maxGeometryShaderInvocations()
Returns the value of themaxGeometryShaderInvocations
field.int
maxGeometryTotalOutputComponents()
Returns the value of themaxGeometryTotalOutputComponents
field.int
maxImageArrayLayers()
Returns the value of themaxImageArrayLayers
field.int
maxImageDimension1D()
Returns the value of themaxImageDimension1D
field.int
maxImageDimension2D()
Returns the value of themaxImageDimension2D
field.int
maxImageDimension3D()
Returns the value of themaxImageDimension3D
field.int
maxImageDimensionCube()
Returns the value of themaxImageDimensionCube
field.float
maxInterpolationOffset()
Returns the value of themaxInterpolationOffset
field.int
maxMemoryAllocationCount()
Returns the value of themaxMemoryAllocationCount
field.int
maxPerStageDescriptorInputAttachments()
Returns the value of themaxPerStageDescriptorInputAttachments
field.int
maxPerStageDescriptorSampledImages()
Returns the value of themaxPerStageDescriptorSampledImages
field.int
maxPerStageDescriptorSamplers()
Returns the value of themaxPerStageDescriptorSamplers
field.int
maxPerStageDescriptorStorageBuffers()
Returns the value of themaxPerStageDescriptorStorageBuffers
field.int
maxPerStageDescriptorStorageImages()
Returns the value of themaxPerStageDescriptorStorageImages
field.int
maxPerStageDescriptorUniformBuffers()
Returns the value of themaxPerStageDescriptorUniformBuffers
field.int
maxPerStageResources()
Returns the value of themaxPerStageResources
field.int
maxPushConstantsSize()
Returns the value of themaxPushConstantsSize
field.int
maxSampleMaskWords()
Returns the value of themaxSampleMaskWords
field.int
maxSamplerAllocationCount()
Returns the value of themaxSamplerAllocationCount
field.float
maxSamplerAnisotropy()
Returns the value of themaxSamplerAnisotropy
field.float
maxSamplerLodBias()
Returns the value of themaxSamplerLodBias
field.int
maxStorageBufferRange()
Returns the value of themaxStorageBufferRange
field.int
maxTessellationControlPerPatchOutputComponents()
Returns the value of themaxTessellationControlPerPatchOutputComponents
field.int
maxTessellationControlPerVertexInputComponents()
Returns the value of themaxTessellationControlPerVertexInputComponents
field.int
maxTessellationControlPerVertexOutputComponents()
Returns the value of themaxTessellationControlPerVertexOutputComponents
field.int
maxTessellationControlTotalOutputComponents()
Returns the value of themaxTessellationControlTotalOutputComponents
field.int
maxTessellationEvaluationInputComponents()
Returns the value of themaxTessellationEvaluationInputComponents
field.int
maxTessellationEvaluationOutputComponents()
Returns the value of themaxTessellationEvaluationOutputComponents
field.int
maxTessellationGenerationLevel()
Returns the value of themaxTessellationGenerationLevel
field.int
maxTessellationPatchSize()
Returns the value of themaxTessellationPatchSize
field.int
maxTexelBufferElements()
Returns the value of themaxTexelBufferElements
field.int
maxTexelGatherOffset()
Returns the value of themaxTexelGatherOffset
field.int
maxTexelOffset()
Returns the value of themaxTexelOffset
field.int
maxUniformBufferRange()
Returns the value of themaxUniformBufferRange
field.int
maxVertexInputAttributeOffset()
Returns the value of themaxVertexInputAttributeOffset
field.int
maxVertexInputAttributes()
Returns the value of themaxVertexInputAttributes
field.int
maxVertexInputBindings()
Returns the value of themaxVertexInputBindings
field.int
maxVertexInputBindingStride()
Returns the value of themaxVertexInputBindingStride
field.int
maxVertexOutputComponents()
Returns the value of themaxVertexOutputComponents
field.java.nio.IntBuffer
maxViewportDimensions()
Returns aIntBuffer
view of themaxViewportDimensions
field.int
maxViewportDimensions(int index)
Returns the value at the specified index of themaxViewportDimensions
field.int
maxViewports()
Returns the value of themaxViewports
field.float
minInterpolationOffset()
Returns the value of theminInterpolationOffset
field.long
minMemoryMapAlignment()
Returns the value of theminMemoryMapAlignment
field.long
minStorageBufferOffsetAlignment()
Returns the value of theminStorageBufferOffsetAlignment
field.long
minTexelBufferOffsetAlignment()
Returns the value of theminTexelBufferOffsetAlignment
field.int
minTexelGatherOffset()
Returns the value of theminTexelGatherOffset
field.int
minTexelOffset()
Returns the value of theminTexelOffset
field.long
minUniformBufferOffsetAlignment()
Returns the value of theminUniformBufferOffsetAlignment
field.int
mipmapPrecisionBits()
Returns the value of themipmapPrecisionBits
field.long
nonCoherentAtomSize()
Returns the value of thenonCoherentAtomSize
field.long
optimalBufferCopyOffsetAlignment()
Returns the value of theoptimalBufferCopyOffsetAlignment
field.long
optimalBufferCopyRowPitchAlignment()
Returns the value of theoptimalBufferCopyRowPitchAlignment
field.float
pointSizeGranularity()
Returns the value of thepointSizeGranularity
field.java.nio.FloatBuffer
pointSizeRange()
Returns aFloatBuffer
view of thepointSizeRange
field.float
pointSizeRange(int index)
Returns the value at the specified index of thepointSizeRange
field.int
sampledImageColorSampleCounts()
Returns the value of thesampledImageColorSampleCounts
field.int
sampledImageDepthSampleCounts()
Returns the value of thesampledImageDepthSampleCounts
field.int
sampledImageIntegerSampleCounts()
Returns the value of thesampledImageIntegerSampleCounts
field.int
sampledImageStencilSampleCounts()
Returns the value of thesampledImageStencilSampleCounts
field.int
sizeof()
Returns thesizeof(struct)
.long
sparseAddressSpaceSize()
Returns the value of thesparseAddressSpaceSize
field.int
standardSampleLocations()
Returns the value of thestandardSampleLocations
field.int
storageImageSampleCounts()
Returns the value of thestorageImageSampleCounts
field.int
strictLines()
Returns the value of thestrictLines
field.int
subPixelInterpolationOffsetBits()
Returns the value of thesubPixelInterpolationOffsetBits
field.int
subPixelPrecisionBits()
Returns the value of thesubPixelPrecisionBits
field.int
subTexelPrecisionBits()
Returns the value of thesubTexelPrecisionBits
field.int
timestampComputeAndGraphics()
Returns the value of thetimestampComputeAndGraphics
field.float
timestampPeriod()
Returns the value of thetimestampPeriod
field.java.nio.FloatBuffer
viewportBoundsRange()
Returns aFloatBuffer
view of theviewportBoundsRange
field.float
viewportBoundsRange(int index)
Returns the value at the specified index of theviewportBoundsRange
field.int
viewportSubPixelBits()
Returns the value of theviewportSubPixelBits
field.-
Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
-
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
-
-
-
Constructor Detail
-
VkPhysicalDeviceLimits
public VkPhysicalDeviceLimits(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceLimits
instance at the current position of the specifiedByteBuffer
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 thesizeof(struct)
.
-
maxImageDimension1D
public int maxImageDimension1D()
Returns the value of themaxImageDimension1D
field.
-
maxImageDimension2D
public int maxImageDimension2D()
Returns the value of themaxImageDimension2D
field.
-
maxImageDimension3D
public int maxImageDimension3D()
Returns the value of themaxImageDimension3D
field.
-
maxImageDimensionCube
public int maxImageDimensionCube()
Returns the value of themaxImageDimensionCube
field.
-
maxImageArrayLayers
public int maxImageArrayLayers()
Returns the value of themaxImageArrayLayers
field.
-
maxTexelBufferElements
public int maxTexelBufferElements()
Returns the value of themaxTexelBufferElements
field.
-
maxUniformBufferRange
public int maxUniformBufferRange()
Returns the value of themaxUniformBufferRange
field.
-
maxStorageBufferRange
public int maxStorageBufferRange()
Returns the value of themaxStorageBufferRange
field.
-
maxPushConstantsSize
public int maxPushConstantsSize()
Returns the value of themaxPushConstantsSize
field.
-
maxMemoryAllocationCount
public int maxMemoryAllocationCount()
Returns the value of themaxMemoryAllocationCount
field.
-
maxSamplerAllocationCount
public int maxSamplerAllocationCount()
Returns the value of themaxSamplerAllocationCount
field.
-
bufferImageGranularity
public long bufferImageGranularity()
Returns the value of thebufferImageGranularity
field.
-
sparseAddressSpaceSize
public long sparseAddressSpaceSize()
Returns the value of thesparseAddressSpaceSize
field.
-
maxBoundDescriptorSets
public int maxBoundDescriptorSets()
Returns the value of themaxBoundDescriptorSets
field.
-
maxPerStageDescriptorSamplers
public int maxPerStageDescriptorSamplers()
Returns the value of themaxPerStageDescriptorSamplers
field.
-
maxPerStageDescriptorUniformBuffers
public int maxPerStageDescriptorUniformBuffers()
Returns the value of themaxPerStageDescriptorUniformBuffers
field.
-
maxPerStageDescriptorStorageBuffers
public int maxPerStageDescriptorStorageBuffers()
Returns the value of themaxPerStageDescriptorStorageBuffers
field.
-
maxPerStageDescriptorSampledImages
public int maxPerStageDescriptorSampledImages()
Returns the value of themaxPerStageDescriptorSampledImages
field.
-
maxPerStageDescriptorStorageImages
public int maxPerStageDescriptorStorageImages()
Returns the value of themaxPerStageDescriptorStorageImages
field.
-
maxPerStageDescriptorInputAttachments
public int maxPerStageDescriptorInputAttachments()
Returns the value of themaxPerStageDescriptorInputAttachments
field.
-
maxPerStageResources
public int maxPerStageResources()
Returns the value of themaxPerStageResources
field.
-
maxDescriptorSetSamplers
public int maxDescriptorSetSamplers()
Returns the value of themaxDescriptorSetSamplers
field.
-
maxDescriptorSetUniformBuffers
public int maxDescriptorSetUniformBuffers()
Returns the value of themaxDescriptorSetUniformBuffers
field.
-
maxDescriptorSetUniformBuffersDynamic
public int maxDescriptorSetUniformBuffersDynamic()
Returns the value of themaxDescriptorSetUniformBuffersDynamic
field.
-
maxDescriptorSetStorageBuffers
public int maxDescriptorSetStorageBuffers()
Returns the value of themaxDescriptorSetStorageBuffers
field.
-
maxDescriptorSetStorageBuffersDynamic
public int maxDescriptorSetStorageBuffersDynamic()
Returns the value of themaxDescriptorSetStorageBuffersDynamic
field.
-
maxDescriptorSetSampledImages
public int maxDescriptorSetSampledImages()
Returns the value of themaxDescriptorSetSampledImages
field.
-
maxDescriptorSetStorageImages
public int maxDescriptorSetStorageImages()
Returns the value of themaxDescriptorSetStorageImages
field.
-
maxDescriptorSetInputAttachments
public int maxDescriptorSetInputAttachments()
Returns the value of themaxDescriptorSetInputAttachments
field.
-
maxVertexInputAttributes
public int maxVertexInputAttributes()
Returns the value of themaxVertexInputAttributes
field.
-
maxVertexInputBindings
public int maxVertexInputBindings()
Returns the value of themaxVertexInputBindings
field.
-
maxVertexInputAttributeOffset
public int maxVertexInputAttributeOffset()
Returns the value of themaxVertexInputAttributeOffset
field.
-
maxVertexInputBindingStride
public int maxVertexInputBindingStride()
Returns the value of themaxVertexInputBindingStride
field.
-
maxVertexOutputComponents
public int maxVertexOutputComponents()
Returns the value of themaxVertexOutputComponents
field.
-
maxTessellationGenerationLevel
public int maxTessellationGenerationLevel()
Returns the value of themaxTessellationGenerationLevel
field.
-
maxTessellationPatchSize
public int maxTessellationPatchSize()
Returns the value of themaxTessellationPatchSize
field.
-
maxTessellationControlPerVertexInputComponents
public int maxTessellationControlPerVertexInputComponents()
Returns the value of themaxTessellationControlPerVertexInputComponents
field.
-
maxTessellationControlPerVertexOutputComponents
public int maxTessellationControlPerVertexOutputComponents()
Returns the value of themaxTessellationControlPerVertexOutputComponents
field.
-
maxTessellationControlPerPatchOutputComponents
public int maxTessellationControlPerPatchOutputComponents()
Returns the value of themaxTessellationControlPerPatchOutputComponents
field.
-
maxTessellationControlTotalOutputComponents
public int maxTessellationControlTotalOutputComponents()
Returns the value of themaxTessellationControlTotalOutputComponents
field.
-
maxTessellationEvaluationInputComponents
public int maxTessellationEvaluationInputComponents()
Returns the value of themaxTessellationEvaluationInputComponents
field.
-
maxTessellationEvaluationOutputComponents
public int maxTessellationEvaluationOutputComponents()
Returns the value of themaxTessellationEvaluationOutputComponents
field.
-
maxGeometryShaderInvocations
public int maxGeometryShaderInvocations()
Returns the value of themaxGeometryShaderInvocations
field.
-
maxGeometryInputComponents
public int maxGeometryInputComponents()
Returns the value of themaxGeometryInputComponents
field.
-
maxGeometryOutputComponents
public int maxGeometryOutputComponents()
Returns the value of themaxGeometryOutputComponents
field.
-
maxGeometryOutputVertices
public int maxGeometryOutputVertices()
Returns the value of themaxGeometryOutputVertices
field.
-
maxGeometryTotalOutputComponents
public int maxGeometryTotalOutputComponents()
Returns the value of themaxGeometryTotalOutputComponents
field.
-
maxFragmentInputComponents
public int maxFragmentInputComponents()
Returns the value of themaxFragmentInputComponents
field.
-
maxFragmentOutputAttachments
public int maxFragmentOutputAttachments()
Returns the value of themaxFragmentOutputAttachments
field.
-
maxFragmentDualSrcAttachments
public int maxFragmentDualSrcAttachments()
Returns the value of themaxFragmentDualSrcAttachments
field.
-
maxFragmentCombinedOutputResources
public int maxFragmentCombinedOutputResources()
Returns the value of themaxFragmentCombinedOutputResources
field.
-
maxComputeSharedMemorySize
public int maxComputeSharedMemorySize()
Returns the value of themaxComputeSharedMemorySize
field.
-
maxComputeWorkGroupCount
public java.nio.IntBuffer maxComputeWorkGroupCount()
Returns aIntBuffer
view of themaxComputeWorkGroupCount
field.
-
maxComputeWorkGroupCount
public int maxComputeWorkGroupCount(int index)
Returns the value at the specified index of themaxComputeWorkGroupCount
field.
-
maxComputeWorkGroupInvocations
public int maxComputeWorkGroupInvocations()
Returns the value of themaxComputeWorkGroupInvocations
field.
-
maxComputeWorkGroupSize
public java.nio.IntBuffer maxComputeWorkGroupSize()
Returns aIntBuffer
view of themaxComputeWorkGroupSize
field.
-
maxComputeWorkGroupSize
public int maxComputeWorkGroupSize(int index)
Returns the value at the specified index of themaxComputeWorkGroupSize
field.
-
subPixelPrecisionBits
public int subPixelPrecisionBits()
Returns the value of thesubPixelPrecisionBits
field.
-
subTexelPrecisionBits
public int subTexelPrecisionBits()
Returns the value of thesubTexelPrecisionBits
field.
-
mipmapPrecisionBits
public int mipmapPrecisionBits()
Returns the value of themipmapPrecisionBits
field.
-
maxDrawIndexedIndexValue
public int maxDrawIndexedIndexValue()
Returns the value of themaxDrawIndexedIndexValue
field.
-
maxDrawIndirectCount
public int maxDrawIndirectCount()
Returns the value of themaxDrawIndirectCount
field.
-
maxSamplerLodBias
public float maxSamplerLodBias()
Returns the value of themaxSamplerLodBias
field.
-
maxSamplerAnisotropy
public float maxSamplerAnisotropy()
Returns the value of themaxSamplerAnisotropy
field.
-
maxViewports
public int maxViewports()
Returns the value of themaxViewports
field.
-
maxViewportDimensions
public java.nio.IntBuffer maxViewportDimensions()
Returns aIntBuffer
view of themaxViewportDimensions
field.
-
maxViewportDimensions
public int maxViewportDimensions(int index)
Returns the value at the specified index of themaxViewportDimensions
field.
-
viewportBoundsRange
public java.nio.FloatBuffer viewportBoundsRange()
Returns aFloatBuffer
view of theviewportBoundsRange
field.
-
viewportBoundsRange
public float viewportBoundsRange(int index)
Returns the value at the specified index of theviewportBoundsRange
field.
-
viewportSubPixelBits
public int viewportSubPixelBits()
Returns the value of theviewportSubPixelBits
field.
-
minMemoryMapAlignment
public long minMemoryMapAlignment()
Returns the value of theminMemoryMapAlignment
field.
-
minTexelBufferOffsetAlignment
public long minTexelBufferOffsetAlignment()
Returns the value of theminTexelBufferOffsetAlignment
field.
-
minUniformBufferOffsetAlignment
public long minUniformBufferOffsetAlignment()
Returns the value of theminUniformBufferOffsetAlignment
field.
-
minStorageBufferOffsetAlignment
public long minStorageBufferOffsetAlignment()
Returns the value of theminStorageBufferOffsetAlignment
field.
-
minTexelOffset
public int minTexelOffset()
Returns the value of theminTexelOffset
field.
-
maxTexelOffset
public int maxTexelOffset()
Returns the value of themaxTexelOffset
field.
-
minTexelGatherOffset
public int minTexelGatherOffset()
Returns the value of theminTexelGatherOffset
field.
-
maxTexelGatherOffset
public int maxTexelGatherOffset()
Returns the value of themaxTexelGatherOffset
field.
-
minInterpolationOffset
public float minInterpolationOffset()
Returns the value of theminInterpolationOffset
field.
-
maxInterpolationOffset
public float maxInterpolationOffset()
Returns the value of themaxInterpolationOffset
field.
-
subPixelInterpolationOffsetBits
public int subPixelInterpolationOffsetBits()
Returns the value of thesubPixelInterpolationOffsetBits
field.
-
maxFramebufferWidth
public int maxFramebufferWidth()
Returns the value of themaxFramebufferWidth
field.
-
maxFramebufferHeight
public int maxFramebufferHeight()
Returns the value of themaxFramebufferHeight
field.
-
maxFramebufferLayers
public int maxFramebufferLayers()
Returns the value of themaxFramebufferLayers
field.
-
framebufferColorSampleCounts
public int framebufferColorSampleCounts()
Returns the value of theframebufferColorSampleCounts
field.
-
framebufferDepthSampleCounts
public int framebufferDepthSampleCounts()
Returns the value of theframebufferDepthSampleCounts
field.
-
framebufferStencilSampleCounts
public int framebufferStencilSampleCounts()
Returns the value of theframebufferStencilSampleCounts
field.
-
framebufferNoAttachmentsSampleCounts
public int framebufferNoAttachmentsSampleCounts()
Returns the value of theframebufferNoAttachmentsSampleCounts
field.
-
maxColorAttachments
public int maxColorAttachments()
Returns the value of themaxColorAttachments
field.
-
sampledImageColorSampleCounts
public int sampledImageColorSampleCounts()
Returns the value of thesampledImageColorSampleCounts
field.
-
sampledImageIntegerSampleCounts
public int sampledImageIntegerSampleCounts()
Returns the value of thesampledImageIntegerSampleCounts
field.
-
sampledImageDepthSampleCounts
public int sampledImageDepthSampleCounts()
Returns the value of thesampledImageDepthSampleCounts
field.
-
sampledImageStencilSampleCounts
public int sampledImageStencilSampleCounts()
Returns the value of thesampledImageStencilSampleCounts
field.
-
storageImageSampleCounts
public int storageImageSampleCounts()
Returns the value of thestorageImageSampleCounts
field.
-
maxSampleMaskWords
public int maxSampleMaskWords()
Returns the value of themaxSampleMaskWords
field.
-
timestampComputeAndGraphics
public int timestampComputeAndGraphics()
Returns the value of thetimestampComputeAndGraphics
field.
-
timestampPeriod
public float timestampPeriod()
Returns the value of thetimestampPeriod
field.
-
maxClipDistances
public int maxClipDistances()
Returns the value of themaxClipDistances
field.
-
maxCullDistances
public int maxCullDistances()
Returns the value of themaxCullDistances
field.
-
maxCombinedClipAndCullDistances
public int maxCombinedClipAndCullDistances()
Returns the value of themaxCombinedClipAndCullDistances
field.
-
discreteQueuePriorities
public int discreteQueuePriorities()
Returns the value of thediscreteQueuePriorities
field.
-
pointSizeRange
public java.nio.FloatBuffer pointSizeRange()
Returns aFloatBuffer
view of thepointSizeRange
field.
-
pointSizeRange
public float pointSizeRange(int index)
Returns the value at the specified index of thepointSizeRange
field.
-
lineWidthRange
public java.nio.FloatBuffer lineWidthRange()
Returns aFloatBuffer
view of thelineWidthRange
field.
-
lineWidthRange
public float lineWidthRange(int index)
Returns the value at the specified index of thelineWidthRange
field.
-
pointSizeGranularity
public float pointSizeGranularity()
Returns the value of thepointSizeGranularity
field.
-
lineWidthGranularity
public float lineWidthGranularity()
Returns the value of thelineWidthGranularity
field.
-
strictLines
public int strictLines()
Returns the value of thestrictLines
field.
-
standardSampleLocations
public int standardSampleLocations()
Returns the value of thestandardSampleLocations
field.
-
optimalBufferCopyOffsetAlignment
public long optimalBufferCopyOffsetAlignment()
Returns the value of theoptimalBufferCopyOffsetAlignment
field.
-
optimalBufferCopyRowPitchAlignment
public long optimalBufferCopyRowPitchAlignment()
Returns the value of theoptimalBufferCopyRowPitchAlignment
field.
-
nonCoherentAtomSize
public long nonCoherentAtomSize()
Returns the value of thenonCoherentAtomSize
field.
-
malloc
public static VkPhysicalDeviceLimits malloc()
Returns a newVkPhysicalDeviceLimits
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceLimits calloc()
Returns a newVkPhysicalDeviceLimits
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceLimits create()
Returns a newVkPhysicalDeviceLimits
instance allocated withBufferUtils
.
-
create
public static VkPhysicalDeviceLimits create(long address)
Returns a newVkPhysicalDeviceLimits
instance for the specified memory address ornull
if the address isNULL
.
-
malloc
public static VkPhysicalDeviceLimits.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceLimits.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkPhysicalDeviceLimits.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceLimits.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPhysicalDeviceLimits.Buffer create(int capacity)
Returns a newVkPhysicalDeviceLimits.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPhysicalDeviceLimits.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceLimits.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
mallocStack
public static VkPhysicalDeviceLimits mallocStack()
Returns a newVkPhysicalDeviceLimits
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkPhysicalDeviceLimits callocStack()
Returns a newVkPhysicalDeviceLimits
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDeviceLimits mallocStack(MemoryStack stack)
Returns a newVkPhysicalDeviceLimits
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkPhysicalDeviceLimits callocStack(MemoryStack stack)
Returns a newVkPhysicalDeviceLimits
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
mallocStack
public static VkPhysicalDeviceLimits.Buffer mallocStack(int capacity)
Returns a newVkPhysicalDeviceLimits.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkPhysicalDeviceLimits.Buffer callocStack(int capacity)
Returns a newVkPhysicalDeviceLimits.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static VkPhysicalDeviceLimits.Buffer mallocStack(int capacity, MemoryStack stack)
Returns a newVkPhysicalDeviceLimits.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
callocStack
public static VkPhysicalDeviceLimits.Buffer callocStack(int capacity, MemoryStack stack)
Returns a newVkPhysicalDeviceLimits.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
-