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 animageTypeofIMAGE_TYPE_1DmaxImageDimension2D– the maximum dimension (widthorheight) of an image created with animageTypeofIMAGE_TYPE_2Dand withoutIMAGE_CREATE_CUBE_COMPATIBLE_BITset in flagsmaxImageDimension3D– the maximum dimension (width,height, ordepth) of an image created with animageTypeofIMAGE_TYPE_3DmaxImageDimensionCube– the maximum dimension (widthorheight) of an image created with animageTypeofIMAGE_TYPE_2Dand withIMAGE_CREATE_CUBE_COMPATIBLE_BITset 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_BITorBUFFER_USAGE_STORAGE_TEXEL_BUFFER_BITset in the usage member of theVkBufferCreateInfostructuremaxUniformBufferRange– the maximum value that can be specified in the range member of anyVkDescriptorBufferInfostructures passed to a call toUpdateDescriptorSetsfor descriptors of typeDESCRIPTOR_TYPE_UNIFORM_BUFFERorDESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMICmaxStorageBufferRange– the maximum value that can be specified in the range member of anyVkDescriptorBufferInfostructures passed to a call toUpdateDescriptorSetsfor descriptors of typeDESCRIPTOR_TYPE_STORAGE_BUFFERorDESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMICmaxPushConstantsSize– 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 sameVkDeviceMemoryobject 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 theoffsetmember of theVkBufferViewCreateInfostructure for texel buffersminUniformBufferOffsetAlignment– the minimum required alignment, in bytes, for theoffsetmember of theVkDescriptorBufferInfostructure for uniform buffersminStorageBufferOffsetAlignment– the minimum required alignment, in bytes, for theoffsetmember of theVkDescriptorBufferInfostructure for storage buffersminTexelOffset– the minimum offset value for theConstOffsetimage operand of any of theOpImageSample*orOpImageFetch*image instructionsmaxTexelOffset– the maximum offset value for theConstOffsetimage operand of any of theOpImageSample*orOpImageFetch*image instructionsminTexelGatherOffset– the minimum offset value for theOffsetorConstOffsetsimage operands of any of theOpImage*Gatherimage instructionsmaxTexelGatherOffset– the maximum offset value for theOffsetorConstOffsetsimage operands of any of theOpImage*Gatherimage instructionsminInterpolationOffset– the minimum negative offset value for theoffsetoperand of theInterpolateAtOffsetextended instructionmaxInterpolationOffset– the maximum positive offset value for theoffsetoperand of theInterpolateAtOffsetextended instructionsubPixelInterpolationOffsetBits– the number of subpixel fractional bits that thexandyoffsets to theInterpolateAtOffsetextended 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 ofVkSampleCountFlagBitsbits indicating the supported color sample counts for a framebuffer color attachment. One or more of:SAMPLE_COUNT_16_BITSAMPLE_COUNT_1_BITSAMPLE_COUNT_2_BITSAMPLE_COUNT_32_BITSAMPLE_COUNT_4_BITSAMPLE_COUNT_64_BITSAMPLE_COUNT_8_BITframebufferDepthSampleCounts– a bitmask ofVkSampleCountFlagBitsbits indicating the supported depth sample counts for a framebuffer depth/stencil attachment, when the format includes a depth componentframebufferStencilSampleCounts– a bitmask ofVkSampleCountFlagBitsbits indicating the supported stencil sample counts for a framebuffer depth/stencil attachment, when the format includes a stencil componentframebufferNoAttachmentsSampleCounts– a bitmask ofVkSampleCountFlagBitsbits 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 ofVkSampleCountFlagBitsbits indicating the sample counts supported for all images with a non-integer color formatsampledImageIntegerSampleCounts– a bitmask ofVkSampleCountFlagBitsbits indicating the sample counts supported for all images with a integer color formatsampledImageDepthSampleCounts– a bitmask ofVkSampleCountFlagBitsbits indicating the sample counts supported for all images with a depth formatsampledImageStencilSampleCounts– a bitmask ofVkSampleCountFlagBitsbits indicating the sample supported for all images with a stencil formatstorageImageSampleCounts– a bitmask ofVkSampleCountFlagBitsbits indicating the sample counts supported for all images used for storage operationsmaxSampleMaskWords– the maximum number of array elements of a variable decorated with theSampleMaskbuilt-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::pQueuePrioritiespointSizeRange– 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 forCmdCopyBufferToImageandCmdCopyImageToBufferoptimalBufferCopyRowPitchAlignment– the optimal buffer row pitch alignment in bytes forCmdCopyBufferToImageandCmdCopyImageToBuffernonCoherentAtomSize– 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 classVkPhysicalDeviceLimits.BufferAn array ofVkPhysicalDeviceLimitsstructs.-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
Fields Modifier and Type Field and Description static intSIZEOFThe 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 aVkPhysicalDeviceLimitsinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description longbufferImageGranularity()Returns the value of thebufferImageGranularityfield.static VkPhysicalDeviceLimitscalloc()Returns a newVkPhysicalDeviceLimitsinstance allocated withmemCalloc.static VkPhysicalDeviceLimits.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceLimits.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceLimitscallocStack()Returns a newVkPhysicalDeviceLimitsinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceLimits.BuffercallocStack(int capacity)Returns a newVkPhysicalDeviceLimits.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceLimits.BuffercallocStack(int capacity, MemoryStack stack)Returns a newVkPhysicalDeviceLimits.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceLimitscallocStack(MemoryStack stack)Returns a newVkPhysicalDeviceLimitsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceLimitscreate()Returns a newVkPhysicalDeviceLimitsinstance allocated withBufferUtils.static VkPhysicalDeviceLimits.Buffercreate(int capacity)Returns a newVkPhysicalDeviceLimits.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceLimitscreate(long address)Returns a newVkPhysicalDeviceLimitsinstance for the specified memory address ornullif the address isNULL.static VkPhysicalDeviceLimits.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceLimits.Bufferinstance at the specified memory.intdiscreteQueuePriorities()Returns the value of thediscreteQueuePrioritiesfield.intframebufferColorSampleCounts()Returns the value of theframebufferColorSampleCountsfield.intframebufferDepthSampleCounts()Returns the value of theframebufferDepthSampleCountsfield.intframebufferNoAttachmentsSampleCounts()Returns the value of theframebufferNoAttachmentsSampleCountsfield.intframebufferStencilSampleCounts()Returns the value of theframebufferStencilSampleCountsfield.floatlineWidthGranularity()Returns the value of thelineWidthGranularityfield.java.nio.FloatBufferlineWidthRange()Returns aFloatBufferview of thelineWidthRangefield.floatlineWidthRange(int index)Returns the value at the specified index of thelineWidthRangefield.static VkPhysicalDeviceLimitsmalloc()Returns a newVkPhysicalDeviceLimitsinstance allocated withmemAlloc.static VkPhysicalDeviceLimits.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceLimits.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceLimitsmallocStack()Returns a newVkPhysicalDeviceLimitsinstance allocated on the thread-localMemoryStack.static VkPhysicalDeviceLimits.BuffermallocStack(int capacity)Returns a newVkPhysicalDeviceLimits.Bufferinstance allocated on the thread-localMemoryStack.static VkPhysicalDeviceLimits.BuffermallocStack(int capacity, MemoryStack stack)Returns a newVkPhysicalDeviceLimits.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceLimitsmallocStack(MemoryStack stack)Returns a newVkPhysicalDeviceLimitsinstance allocated on the specifiedMemoryStack.intmaxBoundDescriptorSets()Returns the value of themaxBoundDescriptorSetsfield.intmaxClipDistances()Returns the value of themaxClipDistancesfield.intmaxColorAttachments()Returns the value of themaxColorAttachmentsfield.intmaxCombinedClipAndCullDistances()Returns the value of themaxCombinedClipAndCullDistancesfield.intmaxComputeSharedMemorySize()Returns the value of themaxComputeSharedMemorySizefield.java.nio.IntBuffermaxComputeWorkGroupCount()Returns aIntBufferview of themaxComputeWorkGroupCountfield.intmaxComputeWorkGroupCount(int index)Returns the value at the specified index of themaxComputeWorkGroupCountfield.intmaxComputeWorkGroupInvocations()Returns the value of themaxComputeWorkGroupInvocationsfield.java.nio.IntBuffermaxComputeWorkGroupSize()Returns aIntBufferview of themaxComputeWorkGroupSizefield.intmaxComputeWorkGroupSize(int index)Returns the value at the specified index of themaxComputeWorkGroupSizefield.intmaxCullDistances()Returns the value of themaxCullDistancesfield.intmaxDescriptorSetInputAttachments()Returns the value of themaxDescriptorSetInputAttachmentsfield.intmaxDescriptorSetSampledImages()Returns the value of themaxDescriptorSetSampledImagesfield.intmaxDescriptorSetSamplers()Returns the value of themaxDescriptorSetSamplersfield.intmaxDescriptorSetStorageBuffers()Returns the value of themaxDescriptorSetStorageBuffersfield.intmaxDescriptorSetStorageBuffersDynamic()Returns the value of themaxDescriptorSetStorageBuffersDynamicfield.intmaxDescriptorSetStorageImages()Returns the value of themaxDescriptorSetStorageImagesfield.intmaxDescriptorSetUniformBuffers()Returns the value of themaxDescriptorSetUniformBuffersfield.intmaxDescriptorSetUniformBuffersDynamic()Returns the value of themaxDescriptorSetUniformBuffersDynamicfield.intmaxDrawIndexedIndexValue()Returns the value of themaxDrawIndexedIndexValuefield.intmaxDrawIndirectCount()Returns the value of themaxDrawIndirectCountfield.intmaxFragmentCombinedOutputResources()Returns the value of themaxFragmentCombinedOutputResourcesfield.intmaxFragmentDualSrcAttachments()Returns the value of themaxFragmentDualSrcAttachmentsfield.intmaxFragmentInputComponents()Returns the value of themaxFragmentInputComponentsfield.intmaxFragmentOutputAttachments()Returns the value of themaxFragmentOutputAttachmentsfield.intmaxFramebufferHeight()Returns the value of themaxFramebufferHeightfield.intmaxFramebufferLayers()Returns the value of themaxFramebufferLayersfield.intmaxFramebufferWidth()Returns the value of themaxFramebufferWidthfield.intmaxGeometryInputComponents()Returns the value of themaxGeometryInputComponentsfield.intmaxGeometryOutputComponents()Returns the value of themaxGeometryOutputComponentsfield.intmaxGeometryOutputVertices()Returns the value of themaxGeometryOutputVerticesfield.intmaxGeometryShaderInvocations()Returns the value of themaxGeometryShaderInvocationsfield.intmaxGeometryTotalOutputComponents()Returns the value of themaxGeometryTotalOutputComponentsfield.intmaxImageArrayLayers()Returns the value of themaxImageArrayLayersfield.intmaxImageDimension1D()Returns the value of themaxImageDimension1Dfield.intmaxImageDimension2D()Returns the value of themaxImageDimension2Dfield.intmaxImageDimension3D()Returns the value of themaxImageDimension3Dfield.intmaxImageDimensionCube()Returns the value of themaxImageDimensionCubefield.floatmaxInterpolationOffset()Returns the value of themaxInterpolationOffsetfield.intmaxMemoryAllocationCount()Returns the value of themaxMemoryAllocationCountfield.intmaxPerStageDescriptorInputAttachments()Returns the value of themaxPerStageDescriptorInputAttachmentsfield.intmaxPerStageDescriptorSampledImages()Returns the value of themaxPerStageDescriptorSampledImagesfield.intmaxPerStageDescriptorSamplers()Returns the value of themaxPerStageDescriptorSamplersfield.intmaxPerStageDescriptorStorageBuffers()Returns the value of themaxPerStageDescriptorStorageBuffersfield.intmaxPerStageDescriptorStorageImages()Returns the value of themaxPerStageDescriptorStorageImagesfield.intmaxPerStageDescriptorUniformBuffers()Returns the value of themaxPerStageDescriptorUniformBuffersfield.intmaxPerStageResources()Returns the value of themaxPerStageResourcesfield.intmaxPushConstantsSize()Returns the value of themaxPushConstantsSizefield.intmaxSampleMaskWords()Returns the value of themaxSampleMaskWordsfield.intmaxSamplerAllocationCount()Returns the value of themaxSamplerAllocationCountfield.floatmaxSamplerAnisotropy()Returns the value of themaxSamplerAnisotropyfield.floatmaxSamplerLodBias()Returns the value of themaxSamplerLodBiasfield.intmaxStorageBufferRange()Returns the value of themaxStorageBufferRangefield.intmaxTessellationControlPerPatchOutputComponents()Returns the value of themaxTessellationControlPerPatchOutputComponentsfield.intmaxTessellationControlPerVertexInputComponents()Returns the value of themaxTessellationControlPerVertexInputComponentsfield.intmaxTessellationControlPerVertexOutputComponents()Returns the value of themaxTessellationControlPerVertexOutputComponentsfield.intmaxTessellationControlTotalOutputComponents()Returns the value of themaxTessellationControlTotalOutputComponentsfield.intmaxTessellationEvaluationInputComponents()Returns the value of themaxTessellationEvaluationInputComponentsfield.intmaxTessellationEvaluationOutputComponents()Returns the value of themaxTessellationEvaluationOutputComponentsfield.intmaxTessellationGenerationLevel()Returns the value of themaxTessellationGenerationLevelfield.intmaxTessellationPatchSize()Returns the value of themaxTessellationPatchSizefield.intmaxTexelBufferElements()Returns the value of themaxTexelBufferElementsfield.intmaxTexelGatherOffset()Returns the value of themaxTexelGatherOffsetfield.intmaxTexelOffset()Returns the value of themaxTexelOffsetfield.intmaxUniformBufferRange()Returns the value of themaxUniformBufferRangefield.intmaxVertexInputAttributeOffset()Returns the value of themaxVertexInputAttributeOffsetfield.intmaxVertexInputAttributes()Returns the value of themaxVertexInputAttributesfield.intmaxVertexInputBindings()Returns the value of themaxVertexInputBindingsfield.intmaxVertexInputBindingStride()Returns the value of themaxVertexInputBindingStridefield.intmaxVertexOutputComponents()Returns the value of themaxVertexOutputComponentsfield.java.nio.IntBuffermaxViewportDimensions()Returns aIntBufferview of themaxViewportDimensionsfield.intmaxViewportDimensions(int index)Returns the value at the specified index of themaxViewportDimensionsfield.intmaxViewports()Returns the value of themaxViewportsfield.floatminInterpolationOffset()Returns the value of theminInterpolationOffsetfield.longminMemoryMapAlignment()Returns the value of theminMemoryMapAlignmentfield.longminStorageBufferOffsetAlignment()Returns the value of theminStorageBufferOffsetAlignmentfield.longminTexelBufferOffsetAlignment()Returns the value of theminTexelBufferOffsetAlignmentfield.intminTexelGatherOffset()Returns the value of theminTexelGatherOffsetfield.intminTexelOffset()Returns the value of theminTexelOffsetfield.longminUniformBufferOffsetAlignment()Returns the value of theminUniformBufferOffsetAlignmentfield.intmipmapPrecisionBits()Returns the value of themipmapPrecisionBitsfield.longnonCoherentAtomSize()Returns the value of thenonCoherentAtomSizefield.longoptimalBufferCopyOffsetAlignment()Returns the value of theoptimalBufferCopyOffsetAlignmentfield.longoptimalBufferCopyRowPitchAlignment()Returns the value of theoptimalBufferCopyRowPitchAlignmentfield.floatpointSizeGranularity()Returns the value of thepointSizeGranularityfield.java.nio.FloatBufferpointSizeRange()Returns aFloatBufferview of thepointSizeRangefield.floatpointSizeRange(int index)Returns the value at the specified index of thepointSizeRangefield.intsampledImageColorSampleCounts()Returns the value of thesampledImageColorSampleCountsfield.intsampledImageDepthSampleCounts()Returns the value of thesampledImageDepthSampleCountsfield.intsampledImageIntegerSampleCounts()Returns the value of thesampledImageIntegerSampleCountsfield.intsampledImageStencilSampleCounts()Returns the value of thesampledImageStencilSampleCountsfield.intsizeof()Returns thesizeof(struct).longsparseAddressSpaceSize()Returns the value of thesparseAddressSpaceSizefield.intstandardSampleLocations()Returns the value of thestandardSampleLocationsfield.intstorageImageSampleCounts()Returns the value of thestorageImageSampleCountsfield.intstrictLines()Returns the value of thestrictLinesfield.intsubPixelInterpolationOffsetBits()Returns the value of thesubPixelInterpolationOffsetBitsfield.intsubPixelPrecisionBits()Returns the value of thesubPixelPrecisionBitsfield.intsubTexelPrecisionBits()Returns the value of thesubTexelPrecisionBitsfield.inttimestampComputeAndGraphics()Returns the value of thetimestampComputeAndGraphicsfield.floattimestampPeriod()Returns the value of thetimestampPeriodfield.java.nio.FloatBufferviewportBoundsRange()Returns aFloatBufferview of theviewportBoundsRangefield.floatviewportBoundsRange(int index)Returns the value at the specified index of theviewportBoundsRangefield.intviewportSubPixelBits()Returns the value of theviewportSubPixelBitsfield.-
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 aVkPhysicalDeviceLimitsinstance at the current position of the specifiedByteBuffercontainer. 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:StructReturns thesizeof(struct).
-
maxImageDimension1D
public int maxImageDimension1D()
Returns the value of themaxImageDimension1Dfield.
-
maxImageDimension2D
public int maxImageDimension2D()
Returns the value of themaxImageDimension2Dfield.
-
maxImageDimension3D
public int maxImageDimension3D()
Returns the value of themaxImageDimension3Dfield.
-
maxImageDimensionCube
public int maxImageDimensionCube()
Returns the value of themaxImageDimensionCubefield.
-
maxImageArrayLayers
public int maxImageArrayLayers()
Returns the value of themaxImageArrayLayersfield.
-
maxTexelBufferElements
public int maxTexelBufferElements()
Returns the value of themaxTexelBufferElementsfield.
-
maxUniformBufferRange
public int maxUniformBufferRange()
Returns the value of themaxUniformBufferRangefield.
-
maxStorageBufferRange
public int maxStorageBufferRange()
Returns the value of themaxStorageBufferRangefield.
-
maxPushConstantsSize
public int maxPushConstantsSize()
Returns the value of themaxPushConstantsSizefield.
-
maxMemoryAllocationCount
public int maxMemoryAllocationCount()
Returns the value of themaxMemoryAllocationCountfield.
-
maxSamplerAllocationCount
public int maxSamplerAllocationCount()
Returns the value of themaxSamplerAllocationCountfield.
-
bufferImageGranularity
public long bufferImageGranularity()
Returns the value of thebufferImageGranularityfield.
-
sparseAddressSpaceSize
public long sparseAddressSpaceSize()
Returns the value of thesparseAddressSpaceSizefield.
-
maxBoundDescriptorSets
public int maxBoundDescriptorSets()
Returns the value of themaxBoundDescriptorSetsfield.
-
maxPerStageDescriptorSamplers
public int maxPerStageDescriptorSamplers()
Returns the value of themaxPerStageDescriptorSamplersfield.
-
maxPerStageDescriptorUniformBuffers
public int maxPerStageDescriptorUniformBuffers()
Returns the value of themaxPerStageDescriptorUniformBuffersfield.
-
maxPerStageDescriptorStorageBuffers
public int maxPerStageDescriptorStorageBuffers()
Returns the value of themaxPerStageDescriptorStorageBuffersfield.
-
maxPerStageDescriptorSampledImages
public int maxPerStageDescriptorSampledImages()
Returns the value of themaxPerStageDescriptorSampledImagesfield.
-
maxPerStageDescriptorStorageImages
public int maxPerStageDescriptorStorageImages()
Returns the value of themaxPerStageDescriptorStorageImagesfield.
-
maxPerStageDescriptorInputAttachments
public int maxPerStageDescriptorInputAttachments()
Returns the value of themaxPerStageDescriptorInputAttachmentsfield.
-
maxPerStageResources
public int maxPerStageResources()
Returns the value of themaxPerStageResourcesfield.
-
maxDescriptorSetSamplers
public int maxDescriptorSetSamplers()
Returns the value of themaxDescriptorSetSamplersfield.
-
maxDescriptorSetUniformBuffers
public int maxDescriptorSetUniformBuffers()
Returns the value of themaxDescriptorSetUniformBuffersfield.
-
maxDescriptorSetUniformBuffersDynamic
public int maxDescriptorSetUniformBuffersDynamic()
Returns the value of themaxDescriptorSetUniformBuffersDynamicfield.
-
maxDescriptorSetStorageBuffers
public int maxDescriptorSetStorageBuffers()
Returns the value of themaxDescriptorSetStorageBuffersfield.
-
maxDescriptorSetStorageBuffersDynamic
public int maxDescriptorSetStorageBuffersDynamic()
Returns the value of themaxDescriptorSetStorageBuffersDynamicfield.
-
maxDescriptorSetSampledImages
public int maxDescriptorSetSampledImages()
Returns the value of themaxDescriptorSetSampledImagesfield.
-
maxDescriptorSetStorageImages
public int maxDescriptorSetStorageImages()
Returns the value of themaxDescriptorSetStorageImagesfield.
-
maxDescriptorSetInputAttachments
public int maxDescriptorSetInputAttachments()
Returns the value of themaxDescriptorSetInputAttachmentsfield.
-
maxVertexInputAttributes
public int maxVertexInputAttributes()
Returns the value of themaxVertexInputAttributesfield.
-
maxVertexInputBindings
public int maxVertexInputBindings()
Returns the value of themaxVertexInputBindingsfield.
-
maxVertexInputAttributeOffset
public int maxVertexInputAttributeOffset()
Returns the value of themaxVertexInputAttributeOffsetfield.
-
maxVertexInputBindingStride
public int maxVertexInputBindingStride()
Returns the value of themaxVertexInputBindingStridefield.
-
maxVertexOutputComponents
public int maxVertexOutputComponents()
Returns the value of themaxVertexOutputComponentsfield.
-
maxTessellationGenerationLevel
public int maxTessellationGenerationLevel()
Returns the value of themaxTessellationGenerationLevelfield.
-
maxTessellationPatchSize
public int maxTessellationPatchSize()
Returns the value of themaxTessellationPatchSizefield.
-
maxTessellationControlPerVertexInputComponents
public int maxTessellationControlPerVertexInputComponents()
Returns the value of themaxTessellationControlPerVertexInputComponentsfield.
-
maxTessellationControlPerVertexOutputComponents
public int maxTessellationControlPerVertexOutputComponents()
Returns the value of themaxTessellationControlPerVertexOutputComponentsfield.
-
maxTessellationControlPerPatchOutputComponents
public int maxTessellationControlPerPatchOutputComponents()
Returns the value of themaxTessellationControlPerPatchOutputComponentsfield.
-
maxTessellationControlTotalOutputComponents
public int maxTessellationControlTotalOutputComponents()
Returns the value of themaxTessellationControlTotalOutputComponentsfield.
-
maxTessellationEvaluationInputComponents
public int maxTessellationEvaluationInputComponents()
Returns the value of themaxTessellationEvaluationInputComponentsfield.
-
maxTessellationEvaluationOutputComponents
public int maxTessellationEvaluationOutputComponents()
Returns the value of themaxTessellationEvaluationOutputComponentsfield.
-
maxGeometryShaderInvocations
public int maxGeometryShaderInvocations()
Returns the value of themaxGeometryShaderInvocationsfield.
-
maxGeometryInputComponents
public int maxGeometryInputComponents()
Returns the value of themaxGeometryInputComponentsfield.
-
maxGeometryOutputComponents
public int maxGeometryOutputComponents()
Returns the value of themaxGeometryOutputComponentsfield.
-
maxGeometryOutputVertices
public int maxGeometryOutputVertices()
Returns the value of themaxGeometryOutputVerticesfield.
-
maxGeometryTotalOutputComponents
public int maxGeometryTotalOutputComponents()
Returns the value of themaxGeometryTotalOutputComponentsfield.
-
maxFragmentInputComponents
public int maxFragmentInputComponents()
Returns the value of themaxFragmentInputComponentsfield.
-
maxFragmentOutputAttachments
public int maxFragmentOutputAttachments()
Returns the value of themaxFragmentOutputAttachmentsfield.
-
maxFragmentDualSrcAttachments
public int maxFragmentDualSrcAttachments()
Returns the value of themaxFragmentDualSrcAttachmentsfield.
-
maxFragmentCombinedOutputResources
public int maxFragmentCombinedOutputResources()
Returns the value of themaxFragmentCombinedOutputResourcesfield.
-
maxComputeSharedMemorySize
public int maxComputeSharedMemorySize()
Returns the value of themaxComputeSharedMemorySizefield.
-
maxComputeWorkGroupCount
public java.nio.IntBuffer maxComputeWorkGroupCount()
Returns aIntBufferview of themaxComputeWorkGroupCountfield.
-
maxComputeWorkGroupCount
public int maxComputeWorkGroupCount(int index)
Returns the value at the specified index of themaxComputeWorkGroupCountfield.
-
maxComputeWorkGroupInvocations
public int maxComputeWorkGroupInvocations()
Returns the value of themaxComputeWorkGroupInvocationsfield.
-
maxComputeWorkGroupSize
public java.nio.IntBuffer maxComputeWorkGroupSize()
Returns aIntBufferview of themaxComputeWorkGroupSizefield.
-
maxComputeWorkGroupSize
public int maxComputeWorkGroupSize(int index)
Returns the value at the specified index of themaxComputeWorkGroupSizefield.
-
subPixelPrecisionBits
public int subPixelPrecisionBits()
Returns the value of thesubPixelPrecisionBitsfield.
-
subTexelPrecisionBits
public int subTexelPrecisionBits()
Returns the value of thesubTexelPrecisionBitsfield.
-
mipmapPrecisionBits
public int mipmapPrecisionBits()
Returns the value of themipmapPrecisionBitsfield.
-
maxDrawIndexedIndexValue
public int maxDrawIndexedIndexValue()
Returns the value of themaxDrawIndexedIndexValuefield.
-
maxDrawIndirectCount
public int maxDrawIndirectCount()
Returns the value of themaxDrawIndirectCountfield.
-
maxSamplerLodBias
public float maxSamplerLodBias()
Returns the value of themaxSamplerLodBiasfield.
-
maxSamplerAnisotropy
public float maxSamplerAnisotropy()
Returns the value of themaxSamplerAnisotropyfield.
-
maxViewports
public int maxViewports()
Returns the value of themaxViewportsfield.
-
maxViewportDimensions
public java.nio.IntBuffer maxViewportDimensions()
Returns aIntBufferview of themaxViewportDimensionsfield.
-
maxViewportDimensions
public int maxViewportDimensions(int index)
Returns the value at the specified index of themaxViewportDimensionsfield.
-
viewportBoundsRange
public java.nio.FloatBuffer viewportBoundsRange()
Returns aFloatBufferview of theviewportBoundsRangefield.
-
viewportBoundsRange
public float viewportBoundsRange(int index)
Returns the value at the specified index of theviewportBoundsRangefield.
-
viewportSubPixelBits
public int viewportSubPixelBits()
Returns the value of theviewportSubPixelBitsfield.
-
minMemoryMapAlignment
public long minMemoryMapAlignment()
Returns the value of theminMemoryMapAlignmentfield.
-
minTexelBufferOffsetAlignment
public long minTexelBufferOffsetAlignment()
Returns the value of theminTexelBufferOffsetAlignmentfield.
-
minUniformBufferOffsetAlignment
public long minUniformBufferOffsetAlignment()
Returns the value of theminUniformBufferOffsetAlignmentfield.
-
minStorageBufferOffsetAlignment
public long minStorageBufferOffsetAlignment()
Returns the value of theminStorageBufferOffsetAlignmentfield.
-
minTexelOffset
public int minTexelOffset()
Returns the value of theminTexelOffsetfield.
-
maxTexelOffset
public int maxTexelOffset()
Returns the value of themaxTexelOffsetfield.
-
minTexelGatherOffset
public int minTexelGatherOffset()
Returns the value of theminTexelGatherOffsetfield.
-
maxTexelGatherOffset
public int maxTexelGatherOffset()
Returns the value of themaxTexelGatherOffsetfield.
-
minInterpolationOffset
public float minInterpolationOffset()
Returns the value of theminInterpolationOffsetfield.
-
maxInterpolationOffset
public float maxInterpolationOffset()
Returns the value of themaxInterpolationOffsetfield.
-
subPixelInterpolationOffsetBits
public int subPixelInterpolationOffsetBits()
Returns the value of thesubPixelInterpolationOffsetBitsfield.
-
maxFramebufferWidth
public int maxFramebufferWidth()
Returns the value of themaxFramebufferWidthfield.
-
maxFramebufferHeight
public int maxFramebufferHeight()
Returns the value of themaxFramebufferHeightfield.
-
maxFramebufferLayers
public int maxFramebufferLayers()
Returns the value of themaxFramebufferLayersfield.
-
framebufferColorSampleCounts
public int framebufferColorSampleCounts()
Returns the value of theframebufferColorSampleCountsfield.
-
framebufferDepthSampleCounts
public int framebufferDepthSampleCounts()
Returns the value of theframebufferDepthSampleCountsfield.
-
framebufferStencilSampleCounts
public int framebufferStencilSampleCounts()
Returns the value of theframebufferStencilSampleCountsfield.
-
framebufferNoAttachmentsSampleCounts
public int framebufferNoAttachmentsSampleCounts()
Returns the value of theframebufferNoAttachmentsSampleCountsfield.
-
maxColorAttachments
public int maxColorAttachments()
Returns the value of themaxColorAttachmentsfield.
-
sampledImageColorSampleCounts
public int sampledImageColorSampleCounts()
Returns the value of thesampledImageColorSampleCountsfield.
-
sampledImageIntegerSampleCounts
public int sampledImageIntegerSampleCounts()
Returns the value of thesampledImageIntegerSampleCountsfield.
-
sampledImageDepthSampleCounts
public int sampledImageDepthSampleCounts()
Returns the value of thesampledImageDepthSampleCountsfield.
-
sampledImageStencilSampleCounts
public int sampledImageStencilSampleCounts()
Returns the value of thesampledImageStencilSampleCountsfield.
-
storageImageSampleCounts
public int storageImageSampleCounts()
Returns the value of thestorageImageSampleCountsfield.
-
maxSampleMaskWords
public int maxSampleMaskWords()
Returns the value of themaxSampleMaskWordsfield.
-
timestampComputeAndGraphics
public int timestampComputeAndGraphics()
Returns the value of thetimestampComputeAndGraphicsfield.
-
timestampPeriod
public float timestampPeriod()
Returns the value of thetimestampPeriodfield.
-
maxClipDistances
public int maxClipDistances()
Returns the value of themaxClipDistancesfield.
-
maxCullDistances
public int maxCullDistances()
Returns the value of themaxCullDistancesfield.
-
maxCombinedClipAndCullDistances
public int maxCombinedClipAndCullDistances()
Returns the value of themaxCombinedClipAndCullDistancesfield.
-
discreteQueuePriorities
public int discreteQueuePriorities()
Returns the value of thediscreteQueuePrioritiesfield.
-
pointSizeRange
public java.nio.FloatBuffer pointSizeRange()
Returns aFloatBufferview of thepointSizeRangefield.
-
pointSizeRange
public float pointSizeRange(int index)
Returns the value at the specified index of thepointSizeRangefield.
-
lineWidthRange
public java.nio.FloatBuffer lineWidthRange()
Returns aFloatBufferview of thelineWidthRangefield.
-
lineWidthRange
public float lineWidthRange(int index)
Returns the value at the specified index of thelineWidthRangefield.
-
pointSizeGranularity
public float pointSizeGranularity()
Returns the value of thepointSizeGranularityfield.
-
lineWidthGranularity
public float lineWidthGranularity()
Returns the value of thelineWidthGranularityfield.
-
strictLines
public int strictLines()
Returns the value of thestrictLinesfield.
-
standardSampleLocations
public int standardSampleLocations()
Returns the value of thestandardSampleLocationsfield.
-
optimalBufferCopyOffsetAlignment
public long optimalBufferCopyOffsetAlignment()
Returns the value of theoptimalBufferCopyOffsetAlignmentfield.
-
optimalBufferCopyRowPitchAlignment
public long optimalBufferCopyRowPitchAlignment()
Returns the value of theoptimalBufferCopyRowPitchAlignmentfield.
-
nonCoherentAtomSize
public long nonCoherentAtomSize()
Returns the value of thenonCoherentAtomSizefield.
-
malloc
public static VkPhysicalDeviceLimits malloc()
Returns a newVkPhysicalDeviceLimitsinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceLimits calloc()
Returns a newVkPhysicalDeviceLimitsinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceLimits create()
Returns a newVkPhysicalDeviceLimitsinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceLimits create(long address)
Returns a newVkPhysicalDeviceLimitsinstance for the specified memory address ornullif the address isNULL.
-
malloc
public static VkPhysicalDeviceLimits.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceLimits.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceLimits.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceLimits.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceLimits.Buffer create(int capacity)
Returns a newVkPhysicalDeviceLimits.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceLimits.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceLimits.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
mallocStack
public static VkPhysicalDeviceLimits mallocStack()
Returns a newVkPhysicalDeviceLimitsinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkPhysicalDeviceLimits callocStack()
Returns a newVkPhysicalDeviceLimitsinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDeviceLimits mallocStack(MemoryStack stack)
Returns a newVkPhysicalDeviceLimitsinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkPhysicalDeviceLimits callocStack(MemoryStack stack)
Returns a newVkPhysicalDeviceLimitsinstance allocated on the specifiedMemoryStackand 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.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkPhysicalDeviceLimits.Buffer callocStack(int capacity)
Returns a newVkPhysicalDeviceLimits.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkPhysicalDeviceLimits.Buffer mallocStack(int capacity, MemoryStack stack)
Returns a newVkPhysicalDeviceLimits.Bufferinstance 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.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-