Package org.lwjgl.vulkan
Class VkPhysicalDeviceProperties2
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceProperties2
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkPhysicalDeviceProperties2KHR
public class VkPhysicalDeviceProperties2 extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying physical device properties.Description
The
pNextchain of this structure is used to extend the structure with properties defined by extensions.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2- Each
pNextmember of any structure (including this one) in thepNextchain must be eitherNULLor a pointer to a valid instance ofVkPhysicalDeviceAccelerationStructurePropertiesKHR,VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT,VkPhysicalDeviceConservativeRasterizationPropertiesEXT,VkPhysicalDeviceCooperativeMatrixPropertiesNV,VkPhysicalDeviceCustomBorderColorPropertiesEXT,VkPhysicalDeviceDepthStencilResolveProperties,VkPhysicalDeviceDescriptorIndexingProperties,VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV,VkPhysicalDeviceDiscardRectanglePropertiesEXT,VkPhysicalDeviceDriverProperties,VkPhysicalDeviceDrmPropertiesEXT,VkPhysicalDeviceExternalMemoryHostPropertiesEXT,VkPhysicalDeviceFloatControlsProperties,VkPhysicalDeviceFragmentDensityMap2PropertiesEXT,VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM,VkPhysicalDeviceFragmentDensityMapPropertiesEXT,VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV,VkPhysicalDeviceFragmentShadingRatePropertiesKHR,VkPhysicalDeviceIDProperties,VkPhysicalDeviceInlineUniformBlockProperties,VkPhysicalDeviceLineRasterizationPropertiesEXT,VkPhysicalDeviceMaintenance3Properties,VkPhysicalDeviceMaintenance4Properties,VkPhysicalDeviceMeshShaderPropertiesNV,VkPhysicalDeviceMultiDrawPropertiesEXT,VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX,VkPhysicalDeviceMultiviewProperties,VkPhysicalDevicePCIBusInfoPropertiesEXT,VkPhysicalDevicePerformanceQueryPropertiesKHR,VkPhysicalDevicePointClippingProperties,VkPhysicalDevicePortabilitySubsetPropertiesKHR,VkPhysicalDeviceProtectedMemoryProperties,VkPhysicalDeviceProvokingVertexPropertiesEXT,VkPhysicalDevicePushDescriptorPropertiesKHR,VkPhysicalDeviceRayTracingPipelinePropertiesKHR,VkPhysicalDeviceRayTracingPropertiesNV,VkPhysicalDeviceRobustness2PropertiesEXT,VkPhysicalDeviceSampleLocationsPropertiesEXT,VkPhysicalDeviceSamplerFilterMinmaxProperties,VkPhysicalDeviceShaderCoreProperties2AMD,VkPhysicalDeviceShaderCorePropertiesAMD,VkPhysicalDeviceShaderIntegerDotProductProperties,VkPhysicalDeviceShaderSMBuiltinsPropertiesNV,VkPhysicalDeviceShadingRateImagePropertiesNV,VkPhysicalDeviceSubgroupProperties,VkPhysicalDeviceSubgroupSizeControlProperties,VkPhysicalDeviceSubpassShadingPropertiesHUAWEI,VkPhysicalDeviceTexelBufferAlignmentProperties,VkPhysicalDeviceTimelineSemaphoreProperties,VkPhysicalDeviceTransformFeedbackPropertiesEXT,VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT,VkPhysicalDeviceVulkan11Properties,VkPhysicalDeviceVulkan12Properties, orVkPhysicalDeviceVulkan13Properties - The
sTypevalue of each struct in thepNextchain must be unique
See Also
VkPhysicalDeviceProperties,GetPhysicalDeviceProperties2,GetPhysicalDeviceProperties2KHRLayout
struct VkPhysicalDeviceProperties2 { VkStructureTypesType(); void *pNext();VkPhysicalDevicePropertiesproperties(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceProperties2.BufferAn array ofVkPhysicalDeviceProperties2structs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intPNEXT
PROPERTIESThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceProperties2(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceProperties2instance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
-
-
-
Constructor Detail
-
VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceProperties2instance 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()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
properties
public VkPhysicalDeviceProperties properties()
aVkPhysicalDevicePropertiesstructure describing properties of the physical device. This structure is written with the same values as if it were written byGetPhysicalDeviceProperties.
-
sType
public VkPhysicalDeviceProperties2 sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceProperties2 sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2value to thesType()field.
-
pNext
public VkPhysicalDeviceProperties2 pNext(long value)
Sets the specified value to thepNext()field.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceAccelerationStructurePropertiesKHR value)
Prepends the specifiedVkPhysicalDeviceAccelerationStructurePropertiesKHRvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT value)
Prepends the specifiedVkPhysicalDeviceBlendOperationAdvancedPropertiesEXTvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceConservativeRasterizationPropertiesEXT value)
Prepends the specifiedVkPhysicalDeviceConservativeRasterizationPropertiesEXTvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceCooperativeMatrixPropertiesNV value)
Prepends the specifiedVkPhysicalDeviceCooperativeMatrixPropertiesNVvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceCustomBorderColorPropertiesEXT value)
Prepends the specifiedVkPhysicalDeviceCustomBorderColorPropertiesEXTvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceDepthStencilResolveProperties value)
Prepends the specifiedVkPhysicalDeviceDepthStencilResolvePropertiesvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceDepthStencilResolvePropertiesKHR value)
Prepends the specifiedVkPhysicalDeviceDepthStencilResolvePropertiesKHRvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceDescriptorIndexingProperties value)
Prepends the specifiedVkPhysicalDeviceDescriptorIndexingPropertiesvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceDescriptorIndexingPropertiesEXT value)
Prepends the specifiedVkPhysicalDeviceDescriptorIndexingPropertiesEXTvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV value)
Prepends the specifiedVkPhysicalDeviceDeviceGeneratedCommandsPropertiesNVvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceDiscardRectanglePropertiesEXT value)
Prepends the specifiedVkPhysicalDeviceDiscardRectanglePropertiesEXTvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceDriverProperties value)
Prepends the specifiedVkPhysicalDeviceDriverPropertiesvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceDriverPropertiesKHR value)
Prepends the specifiedVkPhysicalDeviceDriverPropertiesKHRvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceDrmPropertiesEXT value)
Prepends the specifiedVkPhysicalDeviceDrmPropertiesEXTvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceExternalMemoryHostPropertiesEXT value)
Prepends the specifiedVkPhysicalDeviceExternalMemoryHostPropertiesEXTvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceFloatControlsProperties value)
Prepends the specifiedVkPhysicalDeviceFloatControlsPropertiesvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceFloatControlsPropertiesKHR value)
Prepends the specifiedVkPhysicalDeviceFloatControlsPropertiesKHRvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceFragmentDensityMap2PropertiesEXT value)
Prepends the specifiedVkPhysicalDeviceFragmentDensityMap2PropertiesEXTvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM value)
Prepends the specifiedVkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOMvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceFragmentDensityMapPropertiesEXT value)
Prepends the specifiedVkPhysicalDeviceFragmentDensityMapPropertiesEXTvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV value)
Prepends the specifiedVkPhysicalDeviceFragmentShadingRateEnumsPropertiesNVvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceFragmentShadingRatePropertiesKHR value)
Prepends the specifiedVkPhysicalDeviceFragmentShadingRatePropertiesKHRvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceIDProperties value)
Prepends the specifiedVkPhysicalDeviceIDPropertiesvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceIDPropertiesKHR value)
Prepends the specifiedVkPhysicalDeviceIDPropertiesKHRvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceInlineUniformBlockProperties value)
Prepends the specifiedVkPhysicalDeviceInlineUniformBlockPropertiesvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceInlineUniformBlockPropertiesEXT value)
Prepends the specifiedVkPhysicalDeviceInlineUniformBlockPropertiesEXTvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceLineRasterizationPropertiesEXT value)
Prepends the specifiedVkPhysicalDeviceLineRasterizationPropertiesEXTvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceMaintenance3Properties value)
Prepends the specifiedVkPhysicalDeviceMaintenance3Propertiesvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceMaintenance3PropertiesKHR value)
Prepends the specifiedVkPhysicalDeviceMaintenance3PropertiesKHRvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceMaintenance4Properties value)
Prepends the specifiedVkPhysicalDeviceMaintenance4Propertiesvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceMaintenance4PropertiesKHR value)
Prepends the specifiedVkPhysicalDeviceMaintenance4PropertiesKHRvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceMeshShaderPropertiesNV value)
Prepends the specifiedVkPhysicalDeviceMeshShaderPropertiesNVvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceMultiDrawPropertiesEXT value)
Prepends the specifiedVkPhysicalDeviceMultiDrawPropertiesEXTvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX value)
Prepends the specifiedVkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVXvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceMultiviewProperties value)
Prepends the specifiedVkPhysicalDeviceMultiviewPropertiesvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceMultiviewPropertiesKHR value)
Prepends the specifiedVkPhysicalDeviceMultiviewPropertiesKHRvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDevicePCIBusInfoPropertiesEXT value)
Prepends the specifiedVkPhysicalDevicePCIBusInfoPropertiesEXTvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDevicePerformanceQueryPropertiesKHR value)
Prepends the specifiedVkPhysicalDevicePerformanceQueryPropertiesKHRvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDevicePointClippingProperties value)
Prepends the specifiedVkPhysicalDevicePointClippingPropertiesvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDevicePointClippingPropertiesKHR value)
Prepends the specifiedVkPhysicalDevicePointClippingPropertiesKHRvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDevicePortabilitySubsetPropertiesKHR value)
Prepends the specifiedVkPhysicalDevicePortabilitySubsetPropertiesKHRvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceProtectedMemoryProperties value)
Prepends the specifiedVkPhysicalDeviceProtectedMemoryPropertiesvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceProvokingVertexPropertiesEXT value)
Prepends the specifiedVkPhysicalDeviceProvokingVertexPropertiesEXTvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDevicePushDescriptorPropertiesKHR value)
Prepends the specifiedVkPhysicalDevicePushDescriptorPropertiesKHRvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceRayTracingPipelinePropertiesKHR value)
Prepends the specifiedVkPhysicalDeviceRayTracingPipelinePropertiesKHRvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceRayTracingPropertiesNV value)
Prepends the specifiedVkPhysicalDeviceRayTracingPropertiesNVvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceRobustness2PropertiesEXT value)
Prepends the specifiedVkPhysicalDeviceRobustness2PropertiesEXTvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceSampleLocationsPropertiesEXT value)
Prepends the specifiedVkPhysicalDeviceSampleLocationsPropertiesEXTvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceSamplerFilterMinmaxProperties value)
Prepends the specifiedVkPhysicalDeviceSamplerFilterMinmaxPropertiesvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT value)
Prepends the specifiedVkPhysicalDeviceSamplerFilterMinmaxPropertiesEXTvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceShaderCoreProperties2AMD value)
Prepends the specifiedVkPhysicalDeviceShaderCoreProperties2AMDvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceShaderCorePropertiesAMD value)
Prepends the specifiedVkPhysicalDeviceShaderCorePropertiesAMDvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceShaderIntegerDotProductProperties value)
Prepends the specifiedVkPhysicalDeviceShaderIntegerDotProductPropertiesvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceShaderIntegerDotProductPropertiesKHR value)
Prepends the specifiedVkPhysicalDeviceShaderIntegerDotProductPropertiesKHRvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceShaderSMBuiltinsPropertiesNV value)
Prepends the specifiedVkPhysicalDeviceShaderSMBuiltinsPropertiesNVvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceShadingRateImagePropertiesNV value)
Prepends the specifiedVkPhysicalDeviceShadingRateImagePropertiesNVvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceSubgroupProperties value)
Prepends the specifiedVkPhysicalDeviceSubgroupPropertiesvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceSubgroupSizeControlProperties value)
Prepends the specifiedVkPhysicalDeviceSubgroupSizeControlPropertiesvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceSubgroupSizeControlPropertiesEXT value)
Prepends the specifiedVkPhysicalDeviceSubgroupSizeControlPropertiesEXTvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceSubpassShadingPropertiesHUAWEI value)
Prepends the specifiedVkPhysicalDeviceSubpassShadingPropertiesHUAWEIvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceTexelBufferAlignmentProperties value)
Prepends the specifiedVkPhysicalDeviceTexelBufferAlignmentPropertiesvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT value)
Prepends the specifiedVkPhysicalDeviceTexelBufferAlignmentPropertiesEXTvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceTimelineSemaphoreProperties value)
Prepends the specifiedVkPhysicalDeviceTimelineSemaphorePropertiesvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceTimelineSemaphorePropertiesKHR value)
Prepends the specifiedVkPhysicalDeviceTimelineSemaphorePropertiesKHRvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceTransformFeedbackPropertiesEXT value)
Prepends the specifiedVkPhysicalDeviceTransformFeedbackPropertiesEXTvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT value)
Prepends the specifiedVkPhysicalDeviceVertexAttributeDivisorPropertiesEXTvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceVulkan11Properties value)
Prepends the specifiedVkPhysicalDeviceVulkan11Propertiesvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceVulkan12Properties value)
Prepends the specifiedVkPhysicalDeviceVulkan12Propertiesvalue to thepNextchain.
-
pNext
public VkPhysicalDeviceProperties2 pNext(VkPhysicalDeviceVulkan13Properties value)
Prepends the specifiedVkPhysicalDeviceVulkan13Propertiesvalue to thepNextchain.
-
set
public VkPhysicalDeviceProperties2 set(int sType, long pNext)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceProperties2 set(VkPhysicalDeviceProperties2 src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceProperties2 malloc()
Returns a newVkPhysicalDeviceProperties2instance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceProperties2 calloc()
Returns a newVkPhysicalDeviceProperties2instance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceProperties2 create()
Returns a newVkPhysicalDeviceProperties2instance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceProperties2 create(long address)
Returns a newVkPhysicalDeviceProperties2instance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceProperties2 createSafe(long address)
-
malloc
public static VkPhysicalDeviceProperties2.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceProperties2.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceProperties2.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceProperties2.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceProperties2.Buffer create(int capacity)
Returns a newVkPhysicalDeviceProperties2.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceProperties2.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceProperties2.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceProperties2.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkPhysicalDeviceProperties2 mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceProperties2 callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceProperties2 mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceProperties2 callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceProperties2.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceProperties2.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceProperties2.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceProperties2.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkPhysicalDeviceProperties2 malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceProperties2instance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceProperties2 calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceProperties2instance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceProperties2.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceProperties2.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceProperties2.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceProperties2.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
nproperties
public static VkPhysicalDeviceProperties nproperties(long struct)
Unsafe version ofproperties().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
-