public class AndroidBufferAllocator
extends java.lang.Object
implements com.jme3.util.BufferAllocator
| Constructor and Description |
|---|
AndroidBufferAllocator() |
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
allocate(int size) |
void |
destroyDirectBuffer(java.nio.Buffer toBeDestroyed)
Searches the inner direct buffer of the Android-specific wrapped buffer classes
and destroys it using the reflection allocator method.
|
public void destroyDirectBuffer(java.nio.Buffer toBeDestroyed)
destroyDirectBuffer in interface com.jme3.util.BufferAllocatortoBeDestroyed - The direct buffer that will be "cleaned".public java.nio.ByteBuffer allocate(int size)
allocate in interface com.jme3.util.BufferAllocator