|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.jme3.post.FilterPostProcessor
public class FilterPostProcessor
A FilterPostProcessor is a processor that can apply several Filter
s to a rendered scene
It manages a list of filters that will be applied in the order in which they've been added to the list
コンストラクタの概要 | |
---|---|
FilterPostProcessor()
Don't use this constructor use FilterPostProcessor(AssetManager assetManager) This constructor is used for serialization only |
|
FilterPostProcessor(AssetManager assetManager)
Create a FilterProcessor |
メソッドの概要 | |
---|---|
void |
addFilter(Filter filter)
Adds a filter to the filters list |
void |
cleanup()
Called when the SP is removed from the RM. |
Texture2D |
getDepthTexture()
For internal use only returns the depth texture of the scene |
java.util.Iterator<Filter> |
getFilterIterator()
|
Texture2D |
getFilterTexture()
For internal use only returns the rendered texture of the scene |
int |
getNumSamples()
return the number of samples for antialiasing |
void |
initialize(RenderManager rm,
ViewPort vp)
Called in the render thread to initialize the scene processor. |
boolean |
isInitialized()
|
void |
postFrame(FrameBuffer out)
Called after a frame has been rendered and the queue flushed. |
void |
postQueue(RenderQueue rq)
Called after the scene graph has been queued, but before it is flushed. |
void |
preFrame(float tpf)
Called before a frame |
void |
read(JmeImporter im)
|
void |
removeAllFilters()
Removes all the filters from this processor |
void |
removeFilter(Filter filter)
removes this filters from the filters list |
void |
reshape(ViewPort vp,
int w,
int h)
Called when the resolution of the viewport has been changed. |
void |
setAssetManager(AssetManager assetManager)
Sets the asset manager for this processor |
void |
setNumSamples(int numSamples)
Sets the number of samples for antialiasing |
void |
write(JmeExporter ex)
|
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public FilterPostProcessor(AssetManager assetManager)
assetManager
- the assetManagerpublic FilterPostProcessor()
FilterPostProcessor(AssetManager assetManager)
メソッドの詳細 |
---|
public void addFilter(Filter filter)
filter
- the filter to addpublic void removeFilter(Filter filter)
filter
- public java.util.Iterator<Filter> getFilterIterator()
public void initialize(RenderManager rm, ViewPort vp)
SceneProcessor
の記述:
SceneProcessor
内の initialize
rm
- The render manager to which the SP was added tovp
- The viewport to which the SP is assignedpublic boolean isInitialized()
SceneProcessor
内の isInitialized
public void postQueue(RenderQueue rq)
SceneProcessor
の記述:
SceneProcessor
内の postQueue
rq
- The render queuepublic void postFrame(FrameBuffer out)
SceneProcessor
の記述:
SceneProcessor
内の postFrame
out
- The FB to which the scene was rendered.public void preFrame(float tpf)
SceneProcessor
の記述:
SceneProcessor
内の preFrame
tpf
- Time per framepublic void cleanup()
SceneProcessor
の記述:
SceneProcessor
内の cleanup
public void reshape(ViewPort vp, int w, int h)
SceneProcessor
の記述:
SceneProcessor
内の reshape
public int getNumSamples()
public void removeAllFilters()
public void setNumSamples(int numSamples)
numSamples
- the number of Samplespublic void setAssetManager(AssetManager assetManager)
assetManager
- public void write(JmeExporter ex) throws java.io.IOException
Savable
内の write
java.io.IOException
public void read(JmeImporter im) throws java.io.IOException
Savable
内の read
java.io.IOException
public Texture2D getDepthTexture()
public Texture2D getFilterTexture()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |