public class BucketRenderer extends Object implements ImageSampler
Constructor and Description |
---|
BucketRenderer() |
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.
|
public boolean prepare(Options options, Scene scene, int w, int h)
ImageSampler
prepare
in interface ImageSampler
w
- width of the imageh
- height of the imagepublic void render(Display display)
ImageSampler
render
in interface ImageSampler
display
- Display driver to send image data toCopyright © 2018. All rights reserved.