public class btPoolAllocator extends BulletBase
className| Constructor and Description |
|---|
btPoolAllocator(int elemSize,
int maxElements) |
btPoolAllocator(long cPtr,
boolean cMemoryOwn)
Construct a new btPoolAllocator, normally you should not need this constructor it's intended for low-level usage.
|
| Modifier and Type | Method and Description |
|---|---|
long |
allocate(int size) |
void |
freeMemory(long ptr) |
static long |
getCPtr(btPoolAllocator obj) |
int |
getElementSize() |
int |
getFreeCount() |
int |
getMaxCount() |
ByteBuffer |
getPoolAddress() |
ByteBuffer |
getPoolAddressConst() |
int |
getUsedCount() |
boolean |
validPtr(long ptr) |
dispose, equals, getCPointer, hashCode, hasOwnership, isDisposed, isObtained, obtain, release, releaseOwnership, takeOwnership, toStringpublic btPoolAllocator(long cPtr,
boolean cMemoryOwn)
public btPoolAllocator(int elemSize,
int maxElements)
public static long getCPtr(btPoolAllocator obj)
public int getFreeCount()
public int getUsedCount()
public int getMaxCount()
public long allocate(int size)
public boolean validPtr(long ptr)
public void freeMemory(long ptr)
public int getElementSize()
public ByteBuffer getPoolAddress()
public ByteBuffer getPoolAddressConst()
Copyright © 2021. All rights reserved.