JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java™ (public API).
GLUquadric.java
Go to the documentation of this file.
1package com.jogamp.opengl.glu;
2
3import com.jogamp.opengl.GL;
4import com.jogamp.opengl.util.ImmModeSink;
5
6/**
7 * Wrapper for a GLU quadric object.
8 */
9
10public interface GLUquadric {
11 // enable/disables the Immediate Mode Sink module.
12 // This defaults to false for GLUgl2,
13 // and is always true for GLUes1.
14 public void enableImmModeSink(boolean val);
15
16 public boolean isImmModeSinkEnabled();
17
18 // set Immediate Mode usage.
19 // This defaults to false at GLU creation time.
20 // If enabled rendering will happen immediately,
21 // otherwise rendering will be hold in the ImmModeSink
22 // object, to be rendered deferred.
23 public void setImmMode(boolean val);
24
25 public boolean getImmMode();
26
27 // creates a new ImmModeSink (VBO Buffers) and
28 // returns the old vbo buffer with it's rendering result
30
31 // gl may be null, then the GL client states are not disabled
32 public void resetImmModeSink(GL gl);
33}
Wrapper for a GLU quadric object.
Definition: GLUquadric.java:10
void enableImmModeSink(boolean val)