com.jme3.audio
Class Filter

java.lang.Object
  extended by com.jme3.util.NativeObject
      extended by com.jme3.audio.Filter
All Implemented Interfaces:
Savable, java.lang.Cloneable
Direct Known Subclasses:
LowPassFilter

public abstract class Filter
extends NativeObject
implements Savable


Field Summary
 
Fields inherited from class com.jme3.util.NativeObject
handleRef, id, type, updateNeeded
 
Constructor Summary
  Filter()
           
protected Filter(int id)
           
 
Method Summary
abstract  NativeObject createDestructableClone()
          Creates a shallow clone of this GL Object.
 void deleteObject(java.lang.Object rendererObject)
          Deletes the GL object from the GPU when it is no longer used.
 void read(JmeImporter im)
           
 void resetObject()
          Called when the GL context is restarted to reset all IDs.
 void write(JmeExporter ex)
           
 
Methods inherited from class com.jme3.util.NativeObject
clearUpdateNeeded, clone, getId, isUpdateNeeded, setId, setUpdateNeeded, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Filter

public Filter()

Filter

protected Filter(int id)
Method Detail

write

public void write(JmeExporter ex)
           throws java.io.IOException
Specified by:
write in interface Savable
Throws:
java.io.IOException

read

public void read(JmeImporter im)
          throws java.io.IOException
Specified by:
read in interface Savable
Throws:
java.io.IOException

resetObject

public void resetObject()
Description copied from class: NativeObject
Called when the GL context is restarted to reset all IDs. Prevents "white textures" on display restart.

Specified by:
resetObject in class NativeObject

deleteObject

public void deleteObject(java.lang.Object rendererObject)
Description copied from class: NativeObject
Deletes the GL object from the GPU when it is no longer used. Called automatically by the GL object manager.

Specified by:
deleteObject in class NativeObject
Parameters:
rendererObject - The renderer to be used to delete the object

createDestructableClone

public abstract NativeObject createDestructableClone()
Description copied from class: NativeObject
Creates a shallow clone of this GL Object. The deleteObject method should be functional for this object.

Specified by:
createDestructableClone in class NativeObject