Package com.jme3.util
Class AndroidNativeBufferAllocator
java.lang.Object
com.jme3.util.AndroidNativeBufferAllocator
- All Implemented Interfaces:
com.jme3.util.BufferAllocator
public final class AndroidNativeBufferAllocator
extends Object
implements com.jme3.util.BufferAllocator
Allocates and destroys direct byte buffers using native code.
- Author:
- pavl_g.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallocate(int size) voiddestroyDirectBuffer(Buffer toBeDestroyed)
-
Constructor Details
-
AndroidNativeBufferAllocator
public AndroidNativeBufferAllocator()
-
-
Method Details
-
destroyDirectBuffer
- Specified by:
destroyDirectBufferin interfacecom.jme3.util.BufferAllocator
-
allocate
- Specified by:
allocatein interfacecom.jme3.util.BufferAllocator
-