com.jme3.post
クラス Filter

java.lang.Object
  上位を拡張 com.jme3.post.Filter
すべての実装されたインタフェース:
Savable
直系の既知のサブクラス:
BloomFilter, CartoonEdgeFilter, ColorOverlayFilter, CrossHatchFilter, DepthOfFieldFilter, FadeFilter, FogFilter, FXAAFilter, LightScatteringFilter, PosterizationFilter, RadialBlurFilter, SSAOFilter, TranslucentBucketFilter, WaterFilter

public abstract class Filter
extends java.lang.Object
implements Savable

Filters are 2D effects applied to the rendered scene.
The filter is fed with the rendered scene image rendered in an offscreen frame buffer.
This texture is applied on a fullscreen quad, with a special material.
This material uses a shader that aplly the desired effect to the scene texture.

This class is abstract, any Filter must extend it.
Any filter holds a frameBuffer and a texture
The getMaterial must return a Material that use a GLSL shader immplementing the desired effect


入れ子のクラスの概要
 class Filter.Pass
          Inner class Pass Pass are like filters in filters.
 
コンストラクタの概要
Filter(java.lang.String name)
           
 
メソッドの概要
 java.lang.String getName()
          returns the name of the filter
 boolean isEnabled()
          returns ttrue if the filter is enabled
 void read(JmeImporter im)
          Override this method if you want to load extra properties when the filter is loaded else only basic properties of the filter will be loaded This method should always begin by super.read(im);
 void setEnabled(boolean enabled)
          Enable or disable this filter
 void setName(java.lang.String name)
          Sets the name of the filter
 void write(JmeExporter ex)
          Override this method if you want to save extra properties when the filter is saved else only basic properties of the filter will be saved This method should always begin by super.write(ex);
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

Filter

public Filter(java.lang.String name)
メソッドの詳細

write

public void write(JmeExporter ex)
           throws java.io.IOException
Override this method if you want to save extra properties when the filter is saved else only basic properties of the filter will be saved This method should always begin by super.write(ex);

定義:
インタフェース Savable 内の write
パラメータ:
ex -
例外:
java.io.IOException

read

public void read(JmeImporter im)
          throws java.io.IOException
Override this method if you want to load extra properties when the filter is loaded else only basic properties of the filter will be loaded This method should always begin by super.read(im);

定義:
インタフェース Savable 内の read
例外:
java.io.IOException

getName

public java.lang.String getName()
returns the name of the filter

戻り値:

setName

public void setName(java.lang.String name)
Sets the name of the filter

パラメータ:
name -

setEnabled

public void setEnabled(boolean enabled)
Enable or disable this filter

パラメータ:
enabled - true to enable

isEnabled

public boolean isEnabled()
returns ttrue if the filter is enabled

戻り値:
enabled