|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.jme3.post.Filter
public abstract class Filter
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 |
コンストラクタの詳細 |
---|
public Filter(java.lang.String name)
メソッドの詳細 |
---|
public void write(JmeExporter ex) throws java.io.IOException
Savable
内の write
ex
-
java.io.IOException
public void read(JmeImporter im) throws java.io.IOException
Savable
内の read
java.io.IOException
public java.lang.String getName()
public void setName(java.lang.String name)
name
- public void setEnabled(boolean enabled)
enabled
- true to enablepublic boolean isEnabled()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |