Class VmaPoolCreateInfo
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.util.vma.VmaPoolCreateInfo
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VmaPoolCreateInfo extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceDescribes parameter of createdVmaPool.Layout
struct VmaPoolCreateInfo { uint32_tmemoryTypeIndex(); VmaPoolCreateFlagsflags(); VkDeviceSizeblockSize(); size_tminBlockCount(); size_tmaxBlockCount(); floatpriority(); VkDeviceSizeminAllocationAlignment(); void *pMemoryAllocateNext(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVmaPoolCreateInfo.BufferAn array ofVmaPoolCreateInfostructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intBLOCKSIZE
FLAGS
MAXBLOCKCOUNT
MEMORYTYPEINDEX
MINALLOCATIONALIGNMENT
MINBLOCKCOUNT
PMEMORYALLOCATENEXT
PRIORITYThe struct member offsets.static intSIZEOFThe struct size in bytes.
-
Constructor Summary
Constructors Constructor Description VmaPoolCreateInfo(java.nio.ByteBuffer container)Creates aVmaPoolCreateInfoinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description longblockSize()size of a singleVkDeviceMemoryblock to be allocated as part of this pool, in bytes.VmaPoolCreateInfoblockSize(long value)Sets the specified value to theblockSize()field.static VmaPoolCreateInfocalloc()Returns a newVmaPoolCreateInfoinstance allocated withmemCalloc.static VmaPoolCreateInfo.Buffercalloc(int capacity)Returns a newVmaPoolCreateInfo.Bufferinstance allocated withmemCalloc.static VmaPoolCreateInfo.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVmaPoolCreateInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VmaPoolCreateInfocalloc(org.lwjgl.system.MemoryStack stack)Returns a newVmaPoolCreateInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VmaPoolCreateInfocallocStack()Deprecated.static VmaPoolCreateInfo.BuffercallocStack(int capacity)Deprecated.static VmaPoolCreateInfo.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VmaPoolCreateInfocallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VmaPoolCreateInfocreate()Returns a newVmaPoolCreateInfoinstance allocated withBufferUtils.static VmaPoolCreateInfo.Buffercreate(int capacity)Returns a newVmaPoolCreateInfo.Bufferinstance allocated withBufferUtils.static VmaPoolCreateInfocreate(long address)Returns a newVmaPoolCreateInfoinstance for the specified memory address.static VmaPoolCreateInfo.Buffercreate(long address, int capacity)Create aVmaPoolCreateInfo.Bufferinstance at the specified memory.static VmaPoolCreateInfocreateSafe(long address)static VmaPoolCreateInfo.BuffercreateSafe(long address, int capacity)intflags()Use combination ofVmaPoolCreateFlagBits.VmaPoolCreateInfoflags(int value)Sets the specified value to theflags()field.static VmaPoolCreateInfomalloc()Returns a newVmaPoolCreateInfoinstance allocated withmemAlloc.static VmaPoolCreateInfo.Buffermalloc(int capacity)Returns a newVmaPoolCreateInfo.Bufferinstance allocated withmemAlloc.static VmaPoolCreateInfo.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVmaPoolCreateInfo.Bufferinstance allocated on the specifiedMemoryStack.static VmaPoolCreateInfomalloc(org.lwjgl.system.MemoryStack stack)Returns a newVmaPoolCreateInfoinstance allocated on the specifiedMemoryStack.static VmaPoolCreateInfomallocStack()Deprecated.static VmaPoolCreateInfo.BuffermallocStack(int capacity)Deprecated.static VmaPoolCreateInfo.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VmaPoolCreateInfomallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.longmaxBlockCount()maximum number of blocks that can be allocated in this pool.VmaPoolCreateInfomaxBlockCount(long value)Sets the specified value to themaxBlockCount()field.intmemoryTypeIndex()Vulkan memory type index to allocate this pool fromVmaPoolCreateInfomemoryTypeIndex(int value)Sets the specified value to thememoryTypeIndex()field.longminAllocationAlignment()Additional minimum alignment to be used for all allocations created from this pool.VmaPoolCreateInfominAllocationAlignment(long value)Sets the specified value to theminAllocationAlignment()field.longminBlockCount()minimum number of blocks to be always allocated in this pool, even if they stay empty.VmaPoolCreateInfominBlockCount(long value)Sets the specified value to theminBlockCount()field.static longnblockSize(long struct)Unsafe version ofblockSize().static voidnblockSize(long struct, long value)Unsafe version ofblockSize.static intnflags(long struct)Unsafe version offlags().static voidnflags(long struct, int value)Unsafe version offlags.static longnmaxBlockCount(long struct)Unsafe version ofmaxBlockCount().static voidnmaxBlockCount(long struct, long value)Unsafe version ofmaxBlockCount.static intnmemoryTypeIndex(long struct)Unsafe version ofmemoryTypeIndex().static voidnmemoryTypeIndex(long struct, int value)Unsafe version ofmemoryTypeIndex.static longnminAllocationAlignment(long struct)Unsafe version ofminAllocationAlignment().static voidnminAllocationAlignment(long struct, long value)Unsafe version ofminAllocationAlignment.static longnminBlockCount(long struct)Unsafe version ofminBlockCount().static voidnminBlockCount(long struct, long value)Unsafe version ofminBlockCount.static longnpMemoryAllocateNext(long struct)Unsafe version ofpMemoryAllocateNext().static voidnpMemoryAllocateNext(long struct, long value)Unsafe version ofpMemoryAllocateNext.static floatnpriority(long struct)Unsafe version ofpriority().static voidnpriority(long struct, float value)Unsafe version ofpriority.longpMemoryAllocateNext()AdditionalpNextchain to be attached toVkMemoryAllocateInfoused for every allocation made by this pool.VmaPoolCreateInfopMemoryAllocateNext(long value)Sets the specified value to thepMemoryAllocateNext()field.VmaPoolCreateInfopMemoryAllocateNext(org.lwjgl.vulkan.VkDedicatedAllocationMemoryAllocateInfoNV value)Prepends the specifiedVkDedicatedAllocationMemoryAllocateInfoNVvalue to thepMemoryAllocateNextchain.VmaPoolCreateInfopMemoryAllocateNext(org.lwjgl.vulkan.VkExportMemoryAllocateInfo value)Prepends the specifiedVkExportMemoryAllocateInfovalue to thepMemoryAllocateNextchain.VmaPoolCreateInfopMemoryAllocateNext(org.lwjgl.vulkan.VkExportMemoryAllocateInfoKHR value)Prepends the specifiedVkExportMemoryAllocateInfoKHRvalue to thepMemoryAllocateNextchain.VmaPoolCreateInfopMemoryAllocateNext(org.lwjgl.vulkan.VkExportMemoryAllocateInfoNV value)Prepends the specifiedVkExportMemoryAllocateInfoNVvalue to thepMemoryAllocateNextchain.VmaPoolCreateInfopMemoryAllocateNext(org.lwjgl.vulkan.VkExportMemoryWin32HandleInfoKHR value)Prepends the specifiedVkExportMemoryWin32HandleInfoKHRvalue to thepMemoryAllocateNextchain.VmaPoolCreateInfopMemoryAllocateNext(org.lwjgl.vulkan.VkExportMemoryWin32HandleInfoNV value)Prepends the specifiedVkExportMemoryWin32HandleInfoNVvalue to thepMemoryAllocateNextchain.VmaPoolCreateInfopMemoryAllocateNext(org.lwjgl.vulkan.VkImportMemoryFdInfoKHR value)Prepends the specifiedVkImportMemoryFdInfoKHRvalue to thepMemoryAllocateNextchain.VmaPoolCreateInfopMemoryAllocateNext(org.lwjgl.vulkan.VkImportMemoryHostPointerInfoEXT value)Prepends the specifiedVkImportMemoryHostPointerInfoEXTvalue to thepMemoryAllocateNextchain.VmaPoolCreateInfopMemoryAllocateNext(org.lwjgl.vulkan.VkImportMemoryWin32HandleInfoKHR value)Prepends the specifiedVkImportMemoryWin32HandleInfoKHRvalue to thepMemoryAllocateNextchain.VmaPoolCreateInfopMemoryAllocateNext(org.lwjgl.vulkan.VkImportMemoryWin32HandleInfoNV value)Prepends the specifiedVkImportMemoryWin32HandleInfoNVvalue to thepMemoryAllocateNextchain.VmaPoolCreateInfopMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryAllocateFlagsInfo value)Prepends the specifiedVkMemoryAllocateFlagsInfovalue to thepMemoryAllocateNextchain.VmaPoolCreateInfopMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryAllocateFlagsInfoKHR value)Prepends the specifiedVkMemoryAllocateFlagsInfoKHRvalue to thepMemoryAllocateNextchain.VmaPoolCreateInfopMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryDedicatedAllocateInfo value)Prepends the specifiedVkMemoryDedicatedAllocateInfovalue to thepMemoryAllocateNextchain.VmaPoolCreateInfopMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryDedicatedAllocateInfoKHR value)Prepends the specifiedVkMemoryDedicatedAllocateInfoKHRvalue to thepMemoryAllocateNextchain.VmaPoolCreateInfopMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryOpaqueCaptureAddressAllocateInfo value)Prepends the specifiedVkMemoryOpaqueCaptureAddressAllocateInfovalue to thepMemoryAllocateNextchain.VmaPoolCreateInfopMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryOpaqueCaptureAddressAllocateInfoKHR value)Prepends the specifiedVkMemoryOpaqueCaptureAddressAllocateInfoKHRvalue to thepMemoryAllocateNextchain.VmaPoolCreateInfopMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryPriorityAllocateInfoEXT value)Prepends the specifiedVkMemoryPriorityAllocateInfoEXTvalue to thepMemoryAllocateNextchain.floatpriority()A floating-point value between 0 and 1, indicating the priority of the allocations in this pool relative to other memory allocations.VmaPoolCreateInfopriority(float value)Sets the specified value to thepriority()field.VmaPoolCreateInfoset(int memoryTypeIndex, int flags, long blockSize, long minBlockCount, long maxBlockCount, float priority, long minAllocationAlignment, long pMemoryAllocateNext)Initializes this struct with the specified values.VmaPoolCreateInfoset(VmaPoolCreateInfo src)Copies the specified struct data to this struct.intsizeof()
-
-
-
Constructor Detail
-
VmaPoolCreateInfo
public VmaPoolCreateInfo(java.nio.ByteBuffer container)
Creates aVmaPoolCreateInfoinstance 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
-
memoryTypeIndex
public int memoryTypeIndex()
Vulkan memory type index to allocate this pool from
-
flags
public int flags()
Use combination ofVmaPoolCreateFlagBits. One or more of:POOL_CREATE_IGNORE_BUFFER_IMAGE_GRANULARITY_BITPOOL_CREATE_LINEAR_ALGORITHM_BITPOOL_CREATE_BUDDY_ALGORITHM_BITPOOL_CREATE_TLSF_ALGORITHM_BITPOOL_CREATE_ALGORITHM_MASK
-
blockSize
public long blockSize()
size of a singleVkDeviceMemoryblock to be allocated as part of this pool, in bytes. Optional.Specify nonzero to set explicit, constant size of memory blocks used by this pool. Leave 0 to use default and let the library manage block sizes automatically. Sizes of particular blocks may vary. In this case, the pool will also support dedicated allocations.
-
minBlockCount
public long minBlockCount()
minimum number of blocks to be always allocated in this pool, even if they stay empty.Set to 0 to have no preallocated blocks and allow the pool be completely empty.
-
maxBlockCount
public long maxBlockCount()
maximum number of blocks that can be allocated in this pool. Optional.Set to 0 to use default, which is
SIZE_MAX, which means no limit. Set to same value asVmaPoolCreateInfo::minBlockCountto have fixed amount of memory allocated throughout whole lifetime of this pool.
-
priority
public float priority()
A floating-point value between 0 and 1, indicating the priority of the allocations in this pool relative to other memory allocations.It is used only when
ALLOCATOR_CREATE_EXT_MEMORY_PRIORITY_BITflag was used during creation of theVmaAllocatorobject. Otherwise, this variable is ignored.
-
minAllocationAlignment
public long minAllocationAlignment()
Additional minimum alignment to be used for all allocations created from this pool. Can be 0.Leave 0 (default) not to impose any additional alignment. If not 0, it must be a power of two. It can be useful in cases where alignment returned by Vulkan by functions like
vkGetBufferMemoryRequirementsis not enough, e.g. when doing interop with OpenGL.
-
pMemoryAllocateNext
public long pMemoryAllocateNext()
AdditionalpNextchain to be attached toVkMemoryAllocateInfoused for every allocation made by this pool. Optional.Optional, can be null. If not null, it must point to a
pNextchain of structures that can be attached toVkMemoryAllocateInfo. It can be useful for special needs such as addingVkExportMemoryAllocateInfoKHR. Structures pointed by this member must remain alive and unchanged for the whole lifetime of the custom pool.Please note that some structures, e.g.
VkMemoryPriorityAllocateInfoEXT,VkMemoryDedicatedAllocateInfoKHR, can be attached automatically by this library when using other, more convenient of its features.
-
memoryTypeIndex
public VmaPoolCreateInfo memoryTypeIndex(int value)
Sets the specified value to thememoryTypeIndex()field.
-
flags
public VmaPoolCreateInfo flags(int value)
Sets the specified value to theflags()field.
-
blockSize
public VmaPoolCreateInfo blockSize(long value)
Sets the specified value to theblockSize()field.
-
minBlockCount
public VmaPoolCreateInfo minBlockCount(long value)
Sets the specified value to theminBlockCount()field.
-
maxBlockCount
public VmaPoolCreateInfo maxBlockCount(long value)
Sets the specified value to themaxBlockCount()field.
-
priority
public VmaPoolCreateInfo priority(float value)
Sets the specified value to thepriority()field.
-
minAllocationAlignment
public VmaPoolCreateInfo minAllocationAlignment(long value)
Sets the specified value to theminAllocationAlignment()field.
-
pMemoryAllocateNext
public VmaPoolCreateInfo pMemoryAllocateNext(long value)
Sets the specified value to thepMemoryAllocateNext()field.
-
pMemoryAllocateNext
public VmaPoolCreateInfo pMemoryAllocateNext(org.lwjgl.vulkan.VkDedicatedAllocationMemoryAllocateInfoNV value)
Prepends the specifiedVkDedicatedAllocationMemoryAllocateInfoNVvalue to thepMemoryAllocateNextchain.
-
pMemoryAllocateNext
public VmaPoolCreateInfo pMemoryAllocateNext(org.lwjgl.vulkan.VkExportMemoryAllocateInfo value)
Prepends the specifiedVkExportMemoryAllocateInfovalue to thepMemoryAllocateNextchain.
-
pMemoryAllocateNext
public VmaPoolCreateInfo pMemoryAllocateNext(org.lwjgl.vulkan.VkExportMemoryAllocateInfoKHR value)
Prepends the specifiedVkExportMemoryAllocateInfoKHRvalue to thepMemoryAllocateNextchain.
-
pMemoryAllocateNext
public VmaPoolCreateInfo pMemoryAllocateNext(org.lwjgl.vulkan.VkExportMemoryAllocateInfoNV value)
Prepends the specifiedVkExportMemoryAllocateInfoNVvalue to thepMemoryAllocateNextchain.
-
pMemoryAllocateNext
public VmaPoolCreateInfo pMemoryAllocateNext(org.lwjgl.vulkan.VkExportMemoryWin32HandleInfoKHR value)
Prepends the specifiedVkExportMemoryWin32HandleInfoKHRvalue to thepMemoryAllocateNextchain.
-
pMemoryAllocateNext
public VmaPoolCreateInfo pMemoryAllocateNext(org.lwjgl.vulkan.VkExportMemoryWin32HandleInfoNV value)
Prepends the specifiedVkExportMemoryWin32HandleInfoNVvalue to thepMemoryAllocateNextchain.
-
pMemoryAllocateNext
public VmaPoolCreateInfo pMemoryAllocateNext(org.lwjgl.vulkan.VkImportMemoryFdInfoKHR value)
Prepends the specifiedVkImportMemoryFdInfoKHRvalue to thepMemoryAllocateNextchain.
-
pMemoryAllocateNext
public VmaPoolCreateInfo pMemoryAllocateNext(org.lwjgl.vulkan.VkImportMemoryHostPointerInfoEXT value)
Prepends the specifiedVkImportMemoryHostPointerInfoEXTvalue to thepMemoryAllocateNextchain.
-
pMemoryAllocateNext
public VmaPoolCreateInfo pMemoryAllocateNext(org.lwjgl.vulkan.VkImportMemoryWin32HandleInfoKHR value)
Prepends the specifiedVkImportMemoryWin32HandleInfoKHRvalue to thepMemoryAllocateNextchain.
-
pMemoryAllocateNext
public VmaPoolCreateInfo pMemoryAllocateNext(org.lwjgl.vulkan.VkImportMemoryWin32HandleInfoNV value)
Prepends the specifiedVkImportMemoryWin32HandleInfoNVvalue to thepMemoryAllocateNextchain.
-
pMemoryAllocateNext
public VmaPoolCreateInfo pMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryAllocateFlagsInfo value)
Prepends the specifiedVkMemoryAllocateFlagsInfovalue to thepMemoryAllocateNextchain.
-
pMemoryAllocateNext
public VmaPoolCreateInfo pMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryAllocateFlagsInfoKHR value)
Prepends the specifiedVkMemoryAllocateFlagsInfoKHRvalue to thepMemoryAllocateNextchain.
-
pMemoryAllocateNext
public VmaPoolCreateInfo pMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryDedicatedAllocateInfo value)
Prepends the specifiedVkMemoryDedicatedAllocateInfovalue to thepMemoryAllocateNextchain.
-
pMemoryAllocateNext
public VmaPoolCreateInfo pMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryDedicatedAllocateInfoKHR value)
Prepends the specifiedVkMemoryDedicatedAllocateInfoKHRvalue to thepMemoryAllocateNextchain.
-
pMemoryAllocateNext
public VmaPoolCreateInfo pMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryOpaqueCaptureAddressAllocateInfo value)
Prepends the specifiedVkMemoryOpaqueCaptureAddressAllocateInfovalue to thepMemoryAllocateNextchain.
-
pMemoryAllocateNext
public VmaPoolCreateInfo pMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryOpaqueCaptureAddressAllocateInfoKHR value)
Prepends the specifiedVkMemoryOpaqueCaptureAddressAllocateInfoKHRvalue to thepMemoryAllocateNextchain.
-
pMemoryAllocateNext
public VmaPoolCreateInfo pMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryPriorityAllocateInfoEXT value)
Prepends the specifiedVkMemoryPriorityAllocateInfoEXTvalue to thepMemoryAllocateNextchain.
-
set
public VmaPoolCreateInfo set(int memoryTypeIndex, int flags, long blockSize, long minBlockCount, long maxBlockCount, float priority, long minAllocationAlignment, long pMemoryAllocateNext)
Initializes this struct with the specified values.
-
set
public VmaPoolCreateInfo set(VmaPoolCreateInfo src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VmaPoolCreateInfo malloc()
Returns a newVmaPoolCreateInfoinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VmaPoolCreateInfo calloc()
Returns a newVmaPoolCreateInfoinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VmaPoolCreateInfo create()
Returns a newVmaPoolCreateInfoinstance allocated withBufferUtils.
-
create
public static VmaPoolCreateInfo create(long address)
Returns a newVmaPoolCreateInfoinstance for the specified memory address.
-
createSafe
@Nullable public static VmaPoolCreateInfo createSafe(long address)
-
malloc
public static VmaPoolCreateInfo.Buffer malloc(int capacity)
Returns a newVmaPoolCreateInfo.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VmaPoolCreateInfo.Buffer calloc(int capacity)
Returns a newVmaPoolCreateInfo.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VmaPoolCreateInfo.Buffer create(int capacity)
Returns a newVmaPoolCreateInfo.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VmaPoolCreateInfo.Buffer create(long address, int capacity)
Create aVmaPoolCreateInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VmaPoolCreateInfo.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VmaPoolCreateInfo mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VmaPoolCreateInfo callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VmaPoolCreateInfo mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VmaPoolCreateInfo callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VmaPoolCreateInfo.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VmaPoolCreateInfo.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VmaPoolCreateInfo.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 VmaPoolCreateInfo.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VmaPoolCreateInfo malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVmaPoolCreateInfoinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VmaPoolCreateInfo calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVmaPoolCreateInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VmaPoolCreateInfo.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVmaPoolCreateInfo.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VmaPoolCreateInfo.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVmaPoolCreateInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nmemoryTypeIndex
public static int nmemoryTypeIndex(long struct)
Unsafe version ofmemoryTypeIndex().
-
nflags
public static int nflags(long struct)
Unsafe version offlags().
-
nblockSize
public static long nblockSize(long struct)
Unsafe version ofblockSize().
-
nminBlockCount
public static long nminBlockCount(long struct)
Unsafe version ofminBlockCount().
-
nmaxBlockCount
public static long nmaxBlockCount(long struct)
Unsafe version ofmaxBlockCount().
-
npriority
public static float npriority(long struct)
Unsafe version ofpriority().
-
nminAllocationAlignment
public static long nminAllocationAlignment(long struct)
Unsafe version ofminAllocationAlignment().
-
npMemoryAllocateNext
public static long npMemoryAllocateNext(long struct)
Unsafe version ofpMemoryAllocateNext().
-
nmemoryTypeIndex
public static void nmemoryTypeIndex(long struct, int value)Unsafe version ofmemoryTypeIndex.
-
nflags
public static void nflags(long struct, int value)Unsafe version offlags.
-
nblockSize
public static void nblockSize(long struct, long value)Unsafe version ofblockSize.
-
nminBlockCount
public static void nminBlockCount(long struct, long value)Unsafe version ofminBlockCount.
-
nmaxBlockCount
public static void nmaxBlockCount(long struct, long value)Unsafe version ofmaxBlockCount.
-
npriority
public static void npriority(long struct, float value)Unsafe version ofpriority.
-
nminAllocationAlignment
public static void nminAllocationAlignment(long struct, long value)Unsafe version ofminAllocationAlignment.
-
npMemoryAllocateNext
public static void npMemoryAllocateNext(long struct, long value)Unsafe version ofpMemoryAllocateNext.
-
-