Package com.jme3.util

Class IosNativeBufferAllocator

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

public final class IosNativeBufferAllocator extends Object implements com.jme3.util.BufferAllocator
Allocates and destroys direct byte buffers using native code.
Author:
Jesus Oliver based on pavl_g's AndroidNativeBufferAllocator.
  • Constructor Details

    • IosNativeBufferAllocator

      public IosNativeBufferAllocator()
  • Method Details

    • destroyDirectBuffer

      public void destroyDirectBuffer(Buffer toBeDestroyed)
      Specified by:
      destroyDirectBuffer in interface com.jme3.util.BufferAllocator
    • allocate

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