Package com.jme3.util

Class AndroidBufferAllocator

java.lang.Object
com.jme3.util.AndroidBufferAllocator
All Implemented Interfaces:
com.jme3.util.BufferAllocator

@Deprecated public class AndroidBufferAllocator extends Object implements com.jme3.util.BufferAllocator
Deprecated.
implemented AndroidNativeBufferAllocator instead.
Author:
Jesus Oliver
  • Constructor Details

    • AndroidBufferAllocator

      public AndroidBufferAllocator()
      Deprecated.
  • Method Details

    • destroyDirectBuffer

      public void destroyDirectBuffer(Buffer toBeDestroyed)
      Deprecated.
      Searches the inner direct buffer of the Android-specific wrapped buffer classes and destroys it using the reflection allocator method.
      Specified by:
      destroyDirectBuffer in interface com.jme3.util.BufferAllocator
      Parameters:
      toBeDestroyed - The direct buffer that will be "cleaned".
    • allocate

      public ByteBuffer allocate(int size)
      Deprecated.
      Specified by:
      allocate in interface com.jme3.util.BufferAllocator