public abstract class AbstractSimpleOverlay
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) int |
height
Screen ratio.
|
(package private) int |
width
Screen ratio.
|
Constructor and Description |
---|
AbstractSimpleOverlay() |
Modifier and Type | Method and Description |
---|---|
void |
render(javax.media.opengl.GL2 gl)
Main render method
|
(package private) abstract void |
renderContents(javax.media.opengl.GL2 gl)
Render the actual overlay contents.
|
void |
setSize(int width,
int height)
Set screen ratio.
|
public final void render(javax.media.opengl.GL2 gl)
gl
- GL contextabstract void renderContents(javax.media.opengl.GL2 gl)
gl
- GL contextpublic void setSize(int width, int height)
width
- Screen widthheight
- Screen heightCopyright © 2019 ELKI Development Team. License information.