public interface ExampleRendererType extends ExampleRendererControllerType
| Modifier and Type | Method and Description |
|---|---|
void |
draw(JCameraReadableSnapshotType s,
com.io7m.jfunctional.OptionType<com.io7m.jtensors.VectorReadable3FType> target)
Draw the scene.
|
void |
init(com.jogamp.newt.opengl.GLWindow in_window,
com.jogamp.opengl.GL3 in_gl)
Initialize the scene, using the given window and OpenGL interface.
|
void |
reshape(int width,
int height)
Indicate that the screen has been resized.
|
sendWantWarpPointervoid init(com.jogamp.newt.opengl.GLWindow in_window,
com.jogamp.opengl.GL3 in_gl)
throws IOException
in_window - The windowin_gl - The OpenGL interfaceIOException - On I/O errorsvoid draw(JCameraReadableSnapshotType s, com.io7m.jfunctional.OptionType<com.io7m.jtensors.VectorReadable3FType> target)
s - A camera snapshottarget - An optional target to be drawnvoid reshape(int width,
int height)
width - The new widthheight - The new heightCopyright © 2016 <code@io7m.com> http://io7m.com