public class btGenericPoolAllocator extends BulletBase
className| Constructor and Description |
|---|
btGenericPoolAllocator(long cPtr,
boolean cMemoryOwn)
Construct a new btGenericPoolAllocator, normally you should not need this constructor it's intended for low-level usage.
|
btGenericPoolAllocator(long pool_element_size,
long pool_element_count) |
| Modifier and Type | Method and Description |
|---|---|
long |
allocate(long size_bytes) |
boolean |
freeMemory(long pointer) |
long |
get_pool_capacity() |
static long |
getCPtr(btGenericPoolAllocator obj) |
long |
getPool_count() |
SWIGTYPE_p_p_btGenericMemoryPool |
getPools() |
void |
setPool_count(long value) |
void |
setPools(SWIGTYPE_p_p_btGenericMemoryPool value) |
dispose, equals, getCPointer, hashCode, hasOwnership, isDisposed, isObtained, obtain, release, releaseOwnership, takeOwnership, toStringpublic btGenericPoolAllocator(long cPtr,
boolean cMemoryOwn)
public btGenericPoolAllocator(long pool_element_size,
long pool_element_count)
public static long getCPtr(btGenericPoolAllocator obj)
public void setPools(SWIGTYPE_p_p_btGenericMemoryPool value)
public SWIGTYPE_p_p_btGenericMemoryPool getPools()
public void setPool_count(long value)
public long getPool_count()
public long get_pool_capacity()
public long allocate(long size_bytes)
public boolean freeMemory(long pointer)
Copyright © 2021. All rights reserved.