public class SimpleRenderer extends java.lang.Object implements ImageSampler
| Constructor and Description |
|---|
SimpleRenderer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
prepare(Options options,
Scene scene,
int w,
int h)
Prepare the sampler for rendering an image of w x h pixels
|
void |
render(Display display)
Render the image to the specified display.
|
void |
renderBucket(int bx,
int by,
IntersectionState istate) |
public boolean prepare(Options options, Scene scene, int w, int h)
ImageSamplerprepare in interface ImageSamplerw - width of the imageh - height of the imagepublic void render(Display display)
ImageSamplerrender in interface ImageSamplerdisplay - Display driver to send image data topublic void renderBucket(int bx,
int by,
IntersectionState istate)