|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sunflow.core.renderer.SimpleRenderer
public class SimpleRenderer
| Constructor Summary | |
|---|---|
SimpleRenderer()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleRenderer()
| Method Detail |
|---|
public boolean prepare(Options options,
Scene scene,
int w,
int h)
ImageSampler
prepare in interface ImageSamplerw - width of the imageh - height of the imagepublic void render(Display display)
ImageSampler
render in interface ImageSamplerdisplay - Display driver to send image data to
public void renderBucket(int bx,
int by,
IntersectionState istate)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||