Top Description Inners Fields Constructors Methods
org.lwjgl.util.vma

public Class VmaDefragmentationInfo

extends Struct<VmaDefragmentationInfo>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*, org.lwjgl.vulkan.*

Parameters for defragmentation.

To be used with function BeginDefragmentation.

Layout


struct VmaDefragmentationInfo {
    VmaDefragmentationFlags flags;
    VmaPool pool;
    VkDeviceSize maxBytesPerPass;
    uint32_t maxAllocationsPerPass;
    PFN_vmaCheckDefragmentationBreakFunction pfnBreakCallback;
    void * pBreakCallbackUserData;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
FLAGS

The struct member offsets.

public static final int
MAXALLOCATIONSPERPASS

The struct member offsets.

public static final int
MAXBYTESPERPASS

The struct member offsets.

public static final int
PBREAKCALLBACKUSERDATA

The struct member offsets.

public static final int
PFNBREAKCALLBACK

The struct member offsets.

public static final int
POOL

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
VmaDefragmentationInfo(long address, ByteBuffer container)

public
VmaDefragmentationInfo(ByteBuffer container)

Creates a VmaDefragmentationInfo instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static VmaDefragmentationInfo
calloc()

Returns a new VmaDefragmentationInfo instance allocated with memCalloc.

public static VmaDefragmentationInfo.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new VmaDefragmentationInfo.Buffer instance allocated with memCalloc.

public static VmaDefragmentationInfo
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VmaDefragmentationInfo instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VmaDefragmentationInfo.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VmaDefragmentationInfo.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VmaDefragmentationInfo
callocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VmaDefragmentationInfo
callocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VmaDefragmentationInfo.Buffer
callocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VmaDefragmentationInfo.Buffer
callocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
protected VmaDefragmentationInfo
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static VmaDefragmentationInfo
create()

Returns a new VmaDefragmentationInfo instance allocated with BufferUtils.

public static VmaDefragmentationInfo
create(long address)

Returns a new VmaDefragmentationInfo instance for the specified memory address.

public static VmaDefragmentationInfo.Buffer
create(int
the buffer capacity
capacity
)

Returns a new VmaDefragmentationInfo.Buffer instance allocated with BufferUtils.

public static VmaDefragmentationInfo.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a VmaDefragmentationInfo.Buffer instance at the specified memory.

public static VmaDefragmentationInfo
createSafe(long address)

Like create, but returns null if address is NULL.

public static VmaDefragmentationInfo.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public int
flags()

use combination of VmaDefragmentationFlagBits.

public VmaDefragmentationInfo
flags(int value)

Sets the specified value to the flags field.

public static VmaDefragmentationInfo
malloc()

Returns a new VmaDefragmentationInfo instance allocated with memAlloc.

public static VmaDefragmentationInfo.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new VmaDefragmentationInfo.Buffer instance allocated with memAlloc.

public static VmaDefragmentationInfo
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VmaDefragmentationInfo instance allocated on the specified MemoryStack.

public static VmaDefragmentationInfo.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VmaDefragmentationInfo.Buffer instance allocated on the specified MemoryStack.

public static VmaDefragmentationInfo
mallocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VmaDefragmentationInfo
mallocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VmaDefragmentationInfo.Buffer
mallocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VmaDefragmentationInfo.Buffer
mallocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public int
maxAllocationsPerPass()

maximum number of allocations that can be moved during single pass to a different place.

public VmaDefragmentationInfo
maxAllocationsPerPass(int value)

Sets the specified value to the maxAllocationsPerPass field.

public long
maxBytesPerPass()

maximum numbers of bytes that can be copied during single pass, while moving allocations to different places.

public VmaDefragmentationInfo
maxBytesPerPass(long value)

Sets the specified value to the maxBytesPerPass field.

public static int
nflags(long struct)

Unsafe version of flags.

public static void
nflags(long struct, int value)

Unsafe version of flags.

public static int
nmaxAllocationsPerPass(long struct)

Unsafe version of maxAllocationsPerPass.

public static void
nmaxAllocationsPerPass(long struct, int value)

Unsafe version of maxAllocationsPerPass.

public static long
nmaxBytesPerPass(long struct)

Unsafe version of maxBytesPerPass.

public static void
nmaxBytesPerPass(long struct, long value)

Unsafe version of maxBytesPerPass.

public static long
npBreakCallbackUserData(long struct)

Unsafe version of pBreakCallbackUserData.

public static void
npBreakCallbackUserData(long struct, long value)

Unsafe version of pBreakCallbackUserData.

public static VmaCheckDefragmentationBreakFunction
npfnBreakCallback(long struct)

Unsafe version of pfnBreakCallback.

public static void
public static long
npool(long struct)

Unsafe version of pool.

public static void
npool(long struct, long value)

Unsafe version of pool.

public long
pBreakCallbackUserData()

optional data to pass to custom callback for stopping pass of defragmentation.

public VmaDefragmentationInfo
pBreakCallbackUserData(long value)

Sets the specified value to the pBreakCallbackUserData field.

public VmaCheckDefragmentationBreakFunction
pfnBreakCallback()

Optional custom callback for stopping BeginDefragmentation.

public VmaDefragmentationInfo
pfnBreakCallback(VmaCheckDefragmentationBreakFunctionI value)

Sets the specified value to the pfnBreakCallback field.

public long
pool()

custom pool to be defragmented.

public VmaDefragmentationInfo
pool(long value)

Sets the specified value to the pool field.

public VmaDefragmentationInfo
set(int flags, long pool, long maxBytesPerPass, int maxAllocationsPerPass, VmaCheckDefragmentationBreakFunctionI pfnBreakCallback, long pBreakCallbackUserData)

Initializes this struct with the specified values.

public VmaDefragmentationInfo

Returns:

this struct
set
(VmaDefragmentationInfo
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

FLAGSback to summary
public static final int FLAGS

The struct member offsets.

MAXALLOCATIONSPERPASSback to summary
public static final int MAXALLOCATIONSPERPASS

The struct member offsets.

MAXBYTESPERPASSback to summary
public static final int MAXBYTESPERPASS

The struct member offsets.

PBREAKCALLBACKUSERDATAback to summary
public static final int PBREAKCALLBACKUSERDATA

The struct member offsets.

PFNBREAKCALLBACKback to summary
public static final int PFNBREAKCALLBACK

The struct member offsets.

POOLback to summary
public static final int POOL

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

Constructor Detail

VmaDefragmentationInfoback to summary
protected VmaDefragmentationInfo(long address, ByteBuffer container)
VmaDefragmentationInfoback to summary
public VmaDefragmentationInfo(ByteBuffer container)

Creates a VmaDefragmentationInfo instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

The created instance holds a strong reference to the container object.

Method Detail

callocback to summary
public static VmaDefragmentationInfo calloc()

Returns a new VmaDefragmentationInfo instance allocated with memCalloc. The instance must be explicitly freed.

callocback to summary
public static VmaDefragmentationInfo.Buffer calloc(int capacity)

Returns a new VmaDefragmentationInfo.Buffer instance allocated with memCalloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

callocback to summary
public static VmaDefragmentationInfo calloc(MemoryStack stack)

Returns a new VmaDefragmentationInfo instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
stack:MemoryStack

the stack from which to allocate

callocback to summary
public static VmaDefragmentationInfo.Buffer calloc(int capacity, MemoryStack stack)

Returns a new VmaDefragmentationInfo.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

callocStackback to summary
public static VmaDefragmentationInfo callocStack()

Deprecated

Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static VmaDefragmentationInfo callocStack(MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static VmaDefragmentationInfo.Buffer callocStack(int capacity)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(int, MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static VmaDefragmentationInfo.Buffer callocStack(int capacity, MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(int, MemoryStack) instead.

Annotations
@Deprecated
createback to summary
protected VmaDefragmentationInfo create(long address, ByteBuffer container)

Implements abstract org.lwjgl.system.Struct.create.

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static VmaDefragmentationInfo create()

Returns a new VmaDefragmentationInfo instance allocated with BufferUtils.

createback to summary
public static VmaDefragmentationInfo create(long address)

Returns a new VmaDefragmentationInfo instance for the specified memory address.

createback to summary
public static VmaDefragmentationInfo.Buffer create(int capacity)

Returns a new VmaDefragmentationInfo.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

createback to summary
public static VmaDefragmentationInfo.Buffer create(long address, int capacity)

Create a VmaDefragmentationInfo.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static VmaDefragmentationInfo createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static VmaDefragmentationInfo.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
flagsback to summary
public int flags()

use combination of VmaDefragmentationFlagBits. One or more of:

DEFRAGMENTATION_FLAG_ALGORITHM_FAST_BITDEFRAGMENTATION_FLAG_ALGORITHM_BALANCED_BIT
DEFRAGMENTATION_FLAG_ALGORITHM_FULL_BITDEFRAGMENTATION_FLAG_ALGORITHM_EXTENSIVE_BIT
DEFRAGMENTATION_FLAG_ALGORITHM_MASK
Annotations
@NativeType:VmaDefragmentationFlags
flagsback to summary
public VmaDefragmentationInfo flags(int value)

Sets the specified value to the flags field.

mallocback to summary
public static VmaDefragmentationInfo malloc()

Returns a new VmaDefragmentationInfo instance allocated with memAlloc. The instance must be explicitly freed.

mallocback to summary
public static VmaDefragmentationInfo.Buffer malloc(int capacity)

Returns a new VmaDefragmentationInfo.Buffer instance allocated with memAlloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static VmaDefragmentationInfo malloc(MemoryStack stack)

Returns a new VmaDefragmentationInfo instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

mallocback to summary
public static VmaDefragmentationInfo.Buffer malloc(int capacity, MemoryStack stack)

Returns a new VmaDefragmentationInfo.Buffer instance allocated on the specified MemoryStack.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

mallocStackback to summary
public static VmaDefragmentationInfo mallocStack()

Deprecated

Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static VmaDefragmentationInfo mallocStack(MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static VmaDefragmentationInfo.Buffer mallocStack(int capacity)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static VmaDefragmentationInfo.Buffer mallocStack(int capacity, MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.

Annotations
@Deprecated
maxAllocationsPerPassback to summary
public int maxAllocationsPerPass()

maximum number of allocations that can be moved during single pass to a different place.

0 means no limit.

Annotations
@NativeType:uint32_t
maxAllocationsPerPassback to summary
public VmaDefragmentationInfo maxAllocationsPerPass(int value)

Sets the specified value to the maxAllocationsPerPass field.

maxBytesPerPassback to summary
public long maxBytesPerPass()

maximum numbers of bytes that can be copied during single pass, while moving allocations to different places.

0 means no limit.

Annotations
@NativeType:VkDeviceSize
maxBytesPerPassback to summary
public VmaDefragmentationInfo maxBytesPerPass(long value)

Sets the specified value to the maxBytesPerPass field.

nflagsback to summary
public static int nflags(long struct)

Unsafe version of flags.

nflagsback to summary
public static void nflags(long struct, int value)

Unsafe version of flags.

nmaxAllocationsPerPassback to summary
public static int nmaxAllocationsPerPass(long struct)

Unsafe version of maxAllocationsPerPass.

nmaxAllocationsPerPassback to summary
public static void nmaxAllocationsPerPass(long struct, int value)

Unsafe version of maxAllocationsPerPass.

nmaxBytesPerPassback to summary
public static long nmaxBytesPerPass(long struct)

Unsafe version of maxBytesPerPass.

nmaxBytesPerPassback to summary
public static void nmaxBytesPerPass(long struct, long value)

Unsafe version of maxBytesPerPass.

npBreakCallbackUserDataback to summary
public static long npBreakCallbackUserData(long struct)

Unsafe version of pBreakCallbackUserData.

npBreakCallbackUserDataback to summary
public static void npBreakCallbackUserData(long struct, long value)

Unsafe version of pBreakCallbackUserData.

npfnBreakCallbackback to summary
public static VmaCheckDefragmentationBreakFunction npfnBreakCallback(long struct)

Unsafe version of pfnBreakCallback.

Annotations
@Nullable
npfnBreakCallbackback to summary
public static void npfnBreakCallback(long struct, VmaCheckDefragmentationBreakFunctionI value)

Unsafe version of pfnBreakCallback.

npoolback to summary
public static long npool(long struct)

Unsafe version of pool.

npoolback to summary
public static void npool(long struct, long value)

Unsafe version of pool.

pBreakCallbackUserDataback to summary
public long pBreakCallbackUserData()

optional data to pass to custom callback for stopping pass of defragmentation.

Annotations
@NativeType:void *
pBreakCallbackUserDataback to summary
public VmaDefragmentationInfo pBreakCallbackUserData(long value)

Sets the specified value to the pBreakCallbackUserData field.

pfnBreakCallbackback to summary
public VmaCheckDefragmentationBreakFunction pfnBreakCallback()

Optional custom callback for stopping BeginDefragmentation.

Have to return true for breaking current defragmentation pass.

Annotations
@Nullable
@NativeType:PFN_vmaCheckDefragmentationBreakFunction
pfnBreakCallbackback to summary
public VmaDefragmentationInfo pfnBreakCallback(VmaCheckDefragmentationBreakFunctionI value)

Sets the specified value to the pfnBreakCallback field.

poolback to summary
public long pool()

custom pool to be defragmented.

If null then default pools will undergo defragmentation process.

Annotations
@NativeType:VmaPool
poolback to summary
public VmaDefragmentationInfo pool(long value)

Sets the specified value to the pool field.

setback to summary
public VmaDefragmentationInfo set(int flags, long pool, long maxBytesPerPass, int maxAllocationsPerPass, VmaCheckDefragmentationBreakFunctionI pfnBreakCallback, long pBreakCallbackUserData)

Initializes this struct with the specified values.

setback to summary
public VmaDefragmentationInfo set(VmaDefragmentationInfo src)

Copies the specified struct data to this struct.

Parameters
src:VmaDefragmentationInfo

the source struct

Returns:VmaDefragmentationInfo

this struct

sizeofback to summary
public int sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
org.lwjgl.util.vma back to summary

public Class VmaDefragmentationInfo.Buffer

extends StructBuffer<VmaDefragmentationInfo, VmaDefragmentationInfo.Buffer>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable

An array of VmaDefragmentationInfo structs.

Field Summary

Modifier and TypeField and Description
private static final VmaDefragmentationInfo

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new VmaDefragmentationInfo.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the value of the VmaDefragmentationInfo#flags field.
flags
()

public VmaDefragmentationInfo.Buffer
flags(int value)

Sets the specified value to the VmaDefragmentationInfo#flags field.

protected VmaDefragmentationInfo
public int
public VmaDefragmentationInfo.Buffer
maxAllocationsPerPass(int value)

Sets the specified value to the VmaDefragmentationInfo#maxAllocationsPerPass field.

public long

Returns:

the value of the VmaDefragmentationInfo#maxBytesPerPass field.
maxBytesPerPass
()

public VmaDefragmentationInfo.Buffer
maxBytesPerPass(long value)

Sets the specified value to the VmaDefragmentationInfo#maxBytesPerPass field.

public long
public VmaDefragmentationInfo.Buffer
pBreakCallbackUserData(long value)

Sets the specified value to the VmaDefragmentationInfo#pBreakCallbackUserData field.

public VmaCheckDefragmentationBreakFunction
public VmaDefragmentationInfo.Buffer
public long

Returns:

the value of the VmaDefragmentationInfo#pool field.
pool
()

public VmaDefragmentationInfo.Buffer
pool(long value)

Sets the specified value to the VmaDefragmentationInfo#pool field.

protected VmaDefragmentationInfo.Buffer
Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final VmaDefragmentationInfo ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new VmaDefragmentationInfo.Buffer instance backed by the specified container.

Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by VmaDefragmentationInfo#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

flagsback to summary
public int flags()
Returns:int

the value of the VmaDefragmentationInfo#flags field.

Annotations
@NativeType:VmaDefragmentationFlags
flagsback to summary
public VmaDefragmentationInfo.Buffer flags(int value)

Sets the specified value to the VmaDefragmentationInfo#flags field.

getElementFactoryback to summary
protected VmaDefragmentationInfo getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
maxAllocationsPerPassback to summary
public int maxAllocationsPerPass()
Returns:int

the value of the VmaDefragmentationInfo#maxAllocationsPerPass field.

Annotations
@NativeType:uint32_t
maxAllocationsPerPassback to summary
public VmaDefragmentationInfo.Buffer maxAllocationsPerPass(int value)

Sets the specified value to the VmaDefragmentationInfo#maxAllocationsPerPass field.

maxBytesPerPassback to summary
public long maxBytesPerPass()
Returns:long

the value of the VmaDefragmentationInfo#maxBytesPerPass field.

Annotations
@NativeType:VkDeviceSize
maxBytesPerPassback to summary
public VmaDefragmentationInfo.Buffer maxBytesPerPass(long value)

Sets the specified value to the VmaDefragmentationInfo#maxBytesPerPass field.

pBreakCallbackUserDataback to summary
public long pBreakCallbackUserData()
Returns:long

the value of the VmaDefragmentationInfo#pBreakCallbackUserData field.

Annotations
@NativeType:void *
pBreakCallbackUserDataback to summary
public VmaDefragmentationInfo.Buffer pBreakCallbackUserData(long value)

Sets the specified value to the VmaDefragmentationInfo#pBreakCallbackUserData field.

pfnBreakCallbackback to summary
public VmaCheckDefragmentationBreakFunction pfnBreakCallback()
Returns:VmaCheckDefragmentationBreakFunction

the value of the VmaDefragmentationInfo#pfnBreakCallback field.

Annotations
@Nullable
@NativeType:PFN_vmaCheckDefragmentationBreakFunction
pfnBreakCallbackback to summary
public VmaDefragmentationInfo.Buffer pfnBreakCallback(VmaCheckDefragmentationBreakFunctionI value)

Sets the specified value to the VmaDefragmentationInfo#pfnBreakCallback field.

poolback to summary
public long pool()
Returns:long

the value of the VmaDefragmentationInfo#pool field.

Annotations
@NativeType:VmaPool
poolback to summary
public VmaDefragmentationInfo.Buffer pool(long value)

Sets the specified value to the VmaDefragmentationInfo#pool field.

selfback to summary
protected VmaDefragmentationInfo.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override