|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPostProcessor
An interface for defining a post processor that can be run on the
framebuffer.
The OpenGL state is ensured to be "clean" when entering process(),
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.
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 |
---|
void init(FrameBuffer buffer)
buffer
- the FrameBuffervoid process()
void dispose()
boolean isInitialized()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |