public interface ILcdGLExternalDrawable extends ILcdGLDrawable
ILcdGLEventListener
, and it is the application's responsibility to
invoke them manually at the appropriate time.Modifier and Type | Method and Description |
---|---|
void |
display()
Signals to this drawable's event listeners
that the external context has been made current and may be rendered into.
|
void |
dispose()
Signals to this drawable's event listeners
that the external context is going to be destroyed.
|
void |
init()
Signals to this drawable's event listeners
that the external OpenGL context has been initialized.
|
void |
reshape(int aX,
int aY,
int aWidth,
int aHeight)
Signals to this drawable's event listeners
that the external context's dimensions have changed.
|
addGLEventListener, destroy, getChosenGLCapabilities, getDPIScale, getGL, getGLInformation, getGLU, getSize, getViewportSize, invokeAndWait, invokeLater, isCurrent, isRealized, removeGLEventListener, setGL, setGLU
void init()
void display()
display
in interface ILcdGLDrawable
void reshape(int aX, int aY, int aWidth, int aHeight)
aX
- the new X coordinate of the viewport's lower left corneraY
- the new Y coordinate of the viewport's lower left corneraWidth
- the new width of the viewportaHeight
- the new height of the viewportvoid dispose()