public interface Supervisor
Modifier and Type | Method and Description |
---|---|
void |
clearPass(processing.core.PGraphics pass)
Clear a pass (black with alpha).
|
void |
compose(processing.core.PGraphics graphics)
Compose and finalize rendering.
|
processing.core.PGraphics |
getCurrentPass()
Get current pass of the pass buffer.
|
processing.core.PGraphics |
getNextPass()
Get next pass of the pass buffer.
|
int[] |
getResolution()
Returns pass buffer resolution.
|
void |
pass(Pass pass)
Apply pass to texture.
|
void |
render(processing.core.PGraphics graphics)
Start a new multi-pass rendering.
|
void |
setResolution(int width,
int height)
Reset the resolution of the pass buffer.
|
void setResolution(int width, int height)
width
- New width of the pass buffer.height
- New height of the pass buffer.int[] getResolution()
void render(processing.core.PGraphics graphics)
graphics
- Texture used as input.void pass(Pass pass)
pass
- Pass to apply.void compose(processing.core.PGraphics graphics)
graphics
- Texture to render onto.processing.core.PGraphics getNextPass()
processing.core.PGraphics getCurrentPass()
void clearPass(processing.core.PGraphics pass)
pass
- Pass to clear.