Package com.jme3.util

Class AndroidBufferAllocator

  • All Implemented Interfaces:
    com.jme3.util.BufferAllocator

    @Deprecated
    public class AndroidBufferAllocator
    extends java.lang.Object
    implements com.jme3.util.BufferAllocator
    Deprecated.
    implemented AndroidNativeBufferAllocator instead.
    Author:
    Jesus Oliver
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.nio.ByteBuffer allocate​(int size)
      Deprecated.
       
      void destroyDirectBuffer​(java.nio.Buffer toBeDestroyed)
      Deprecated.
      Searches the inner direct buffer of the Android-specific wrapped buffer classes and destroys it using the reflection allocator method.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AndroidBufferAllocator

        public AndroidBufferAllocator()
        Deprecated.
    • Method Detail

      • destroyDirectBuffer

        public void destroyDirectBuffer​(java.nio.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 java.nio.ByteBuffer allocate​(int size)
        Deprecated.
        Specified by:
        allocate in interface com.jme3.util.BufferAllocator