public class btSerializer extends BulletBase
className| Constructor and Description |
|---|
btSerializer(long cPtr,
boolean cMemoryOwn)
Construct a new btSerializer, normally you should not need this constructor it's intended for low-level usage.
|
| Modifier and Type | Method and Description |
|---|---|
btChunk |
allocate(long size,
int numElements) |
void |
finalizeChunk(btChunk chunk,
String structType,
int chunkCode,
long oldPtr) |
String |
findNameForPointer(long ptr) |
long |
findPointer(long oldPtr) |
void |
finishSerialization() |
ByteBuffer |
getBufferPointer() |
btChunk |
getChunk(int chunkIndex) |
static long |
getCPtr(btSerializer obj) |
int |
getCurrentBufferSize() |
int |
getNumChunks() |
int |
getSerializationFlags() |
long |
getUniquePointer(long oldPtr) |
void |
registerNameForPointer(long ptr,
String name) |
void |
serializeName(String ptr) |
void |
setSerializationFlags(int flags) |
void |
startSerialization() |
dispose, equals, getCPointer, hashCode, hasOwnership, isDisposed, isObtained, obtain, release, releaseOwnership, takeOwnership, toStringpublic btSerializer(long cPtr,
boolean cMemoryOwn)
public static long getCPtr(btSerializer obj)
public ByteBuffer getBufferPointer()
public int getCurrentBufferSize()
public btChunk allocate(long size, int numElements)
public void finalizeChunk(btChunk chunk, String structType, int chunkCode, long oldPtr)
public long findPointer(long oldPtr)
public long getUniquePointer(long oldPtr)
public void startSerialization()
public void finishSerialization()
public String findNameForPointer(long ptr)
public void registerNameForPointer(long ptr,
String name)
public void serializeName(String ptr)
public int getSerializationFlags()
public void setSerializationFlags(int flags)
public int getNumChunks()
public btChunk getChunk(int chunkIndex)
Copyright © 2021. All rights reserved.