|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FrameProcessor
FrameProcessor provides a way to process the final image produced by
SplitScreenRenderer or a View in some manner, either running it through a
filter or simply making a copy of the image on disk.
API Stability: Stable.
Method Summary | |
---|---|
void |
deinit(Context opt)
Deinitializes this FrameProcessor. |
void |
init(Context opt)
Initializes this FrameProcessor. |
void |
process(Context context,
java.awt.Rectangle viewport)
Processes the current image in the frame buffer. |
Method Detail |
---|
void init(Context opt)
opt
- the Context object providing data on how rendering should
proceed.void process(Context context, java.awt.Rectangle viewport)
context
- the Context object to use for rendering.viewport
- a Rectangle describing the current bounds for rendering.
If this FrameProcessor is attached to a View, this will be the view's
viewport. If this FrameProcessor is attached to a SplitScreenRenderer,
then viewport will represent the entire drawing area for the renderer.void deinit(Context opt)
opt
- the Context object providing data on how rendering should
proceed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |