|
JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java (public API).
|
Demonstrate the rendering of multiple OutlineShapes into one region. More...
Public Member Functions | |
| GPURegionGLListener10 (final int renderModes, final int aaQuality, final int sampleCount, final boolean debug, final boolean trace) | |
| void | init (final GLAutoDrawable drawable) |
| Called by the drawable immediately after the OpenGL context is initialized. More... | |
| void | display (final GLAutoDrawable drawable) |
| Called by the drawable to initiate OpenGL rendering by the client. More... | |
Public Member Functions inherited from com.jogamp.opengl.demos.graph.GPURendererListenerBase01 | |
| GPURendererListenerBase01 (final RegionRenderer renderer, final int renderModes, final boolean debug, final boolean trace) | |
| final RegionRenderer | getRenderer () |
| final int | getRenderModes () |
| final float | getZTran () |
| final float | getXTran () |
| final float | getYTran () |
| final float | getAngleDeg () |
| final float | getAngleRad () |
| final float[] | getPosition () |
| void | setMatrix (final float xtrans, final float ytrans, final float zTran, final float angle) |
| void | init (final GLAutoDrawable drawable) |
| Called by the drawable immediately after the OpenGL context is initialized. More... | |
| void | reshape (final GLAutoDrawable drawable, final int xstart, final int ystart, final int width, final int height) |
| Called by the drawable during the first repaint after the component has been resized. More... | |
| void | dispose (final GLAutoDrawable drawable) |
| Notifies the listener to perform the release of all OpenGL resources per GLContext, such as memory buffers and GLSL programs. More... | |
| void | zoom (final int v) |
| void | move (final float x, final float y) |
| void | rotate (final float delta) |
| void | editGlobalWeight (final float delta) |
| void | attachInputListenerTo (final GLWindow window) |
| Attach the input listener to the window. More... | |
| void | detachInputListenerFrom (final GLWindow window) |
| void | printScreen (final GLAutoDrawable drawable, final String dir, final String tech, final String objName, final boolean exportAlpha) throws GLException, IOException |
| void | printScreenOnGLThread (final GLAutoDrawable drawable, final String dir, final String tech, final String objName, final boolean exportAlpha) |
| void | setIgnoreInput (final boolean v) |
| boolean | getIgnoreInput () |
| void | init (GLAutoDrawable drawable) |
| Called by the drawable immediately after the OpenGL context is initialized. More... | |
| void | dispose (GLAutoDrawable drawable) |
| Notifies the listener to perform the release of all OpenGL resources per GLContext, such as memory buffers and GLSL programs. More... | |
| void | display (GLAutoDrawable drawable) |
| Called by the drawable to initiate OpenGL rendering by the client. More... | |
| void | reshape (GLAutoDrawable drawable, int x, int y, int width, int height) |
| Called by the drawable during the first repaint after the component has been resized. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from com.jogamp.opengl.demos.graph.GPURendererListenerBase01 | |
| static void | mapWin2ObjectCoords (final PMVMatrix4f pmv, final Recti view, final float zNear, final float zFar, final float orthoX, final float orthoY, final float orthoDist, final float[] winZ, final Vec3f objPos) |
Protected Attributes inherited from com.jogamp.opengl.demos.graph.GPURendererListenerBase01 | |
| GLRegion | region |
| final float | zNear = 0.1f |
| final float | zFar = 7000f |
| final AABBox | nearPlane1Box |
| Describing the bounding box in model-coordinates of the near-plane parallel at distance one. More... | |
| volatile float | weight = 1.0f |
Demonstrate the rendering of multiple OutlineShapes into one region.
Definition at line 52 of file GPURegionGLListener10.java.
| com.jogamp.opengl.demos.graph.GPURegionGLListener10.GPURegionGLListener10 | ( | final int | renderModes, |
| final int | aaQuality, | ||
| final int | sampleCount, | ||
| final boolean | debug, | ||
| final boolean | trace | ||
| ) |
| void com.jogamp.opengl.demos.graph.GPURegionGLListener10.display | ( | final GLAutoDrawable | drawable | ) |
Called by the drawable to initiate OpenGL rendering by the client.
After all GLEventListeners have been notified of a display event, the drawable will swap its buffers if setAutoSwapBufferMode is enabled.
Implements com.jogamp.opengl.GLEventListener.
Definition at line 121 of file GPURegionGLListener10.java.
| void com.jogamp.opengl.demos.graph.GPURegionGLListener10.init | ( | final GLAutoDrawable | drawable | ) |
Called by the drawable immediately after the OpenGL context is initialized.
Can be used to perform one-time OpenGL initialization per GLContext, such as setup of lights and display lists.
Note that this method may be called more than once if the underlying OpenGL context for the GLAutoDrawable is destroyed and recreated, for example if a GLCanvas is removed from the widget hierarchy and later added again.
Reimplemented from com.jogamp.opengl.demos.graph.GPURendererListenerBase01.
Definition at line 107 of file GPURegionGLListener10.java.