|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for defining a post processor that can be run on the
framebuffer. If such a processor supports both renderers (hard- and software)
is up to its implementation. It's not required that it does.
When running a post processor on a hardware renderer's framebuffer, the
OpenGL state is ensured to be "clean" but if you are manipulating modelview-
or projection matrix (or whatever), it's up to you to restore them to the
state they had before.
When running a processor on a software renderer's framebuffer,
FrameBuffer.refresh(); is called automatically after the last processor has
finished its work.
Method Summary | |
void |
dispose()
Will be called when a post processor gets removed from a framebuffer and should be called, when the processor gets garbage collected. |
void |
init(FrameBuffer buffer)
Initialize the processor. |
boolean |
isInitialized()
Has to return true if the init()-method has run correctly and should return false after the processor has been disposed (but doesn't have to, if an implementation requires something else...no problem). |
void |
process()
Does the actual processing. |
Method Detail |
public void init(FrameBuffer buffer)
buffer
- the FrameBufferpublic void process()
public void dispose()
public boolean isInitialized()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |