|
JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java (public API).
|
GearsObject.java
More...
Public Member Functions | |
| abstract GLArrayDataServer | createInterleaved (boolean useMappedBuffers, int comps, int dataType, boolean normalized, int initialSize, int vboUsage) |
| abstract void | addInterleavedVertexAndNormalArrays (GLArrayDataServer array, int components) |
| abstract void | draw (GL gl, float x, float y, float angle) |
| void | destroy (final GL gl) |
| GearsObject (final GearsObject shared) | |
| GearsObject (final GL gl, final boolean useMappedBuffers, final FloatBuffer gearColor, final float inner_radius, final float outer_radius, final float width, final int teeth, final float tooth_depth, final boolean validateBuffers) | |
| String | toString () |
Public Attributes | |
| final FloatBuffer | gearColor |
| GLArrayDataServer | frontFace |
| GLArrayDataServer | frontSide |
| GLArrayDataServer | backFace |
| GLArrayDataServer | backSide |
| GLArrayDataServer | outwardFace |
| GLArrayDataServer | insideRadiusCyl |
| boolean | isShared |
Static Public Attributes | |
| static final FloatBuffer | red = Buffers.newDirectFloatBuffer( new float[] { 0.8f, 0.1f, 0.0f, 0.7f } ) |
| static final FloatBuffer | green = Buffers.newDirectFloatBuffer( new float[] { 0.0f, 0.8f, 0.2f, 0.7f } ) |
| static final FloatBuffer | blue = Buffers.newDirectFloatBuffer( new float[] { 0.2f, 0.2f, 1.0f, 0.7f } ) |
| static final float | M_PI = (float)Math.PI |
Protected Attributes | |
| boolean | validateBuffers = false |
GearsObject.java
Definition at line 34 of file GearsObject.java.
| com.jogamp.opengl.test.junit.jogl.demos.GearsObject.GearsObject | ( | final GearsObject | shared | ) |
| com.jogamp.opengl.test.junit.jogl.demos.GearsObject.GearsObject | ( | final GL | gl, |
| final boolean | useMappedBuffers, | ||
| final FloatBuffer | gearColor, | ||
| final float | inner_radius, | ||
| final float | outer_radius, | ||
| final float | width, | ||
| final int | teeth, | ||
| final float | tooth_depth, | ||
| final boolean | validateBuffers | ||
| ) |
|
abstract |
Reimplemented in com.jogamp.opengl.test.junit.jogl.demos.es1.GearsObjectES1, and com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2.
|
abstract |
Reimplemented in com.jogamp.opengl.test.junit.jogl.demos.es1.GearsObjectES1, and com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2.
| void com.jogamp.opengl.test.junit.jogl.demos.GearsObject.destroy | ( | final GL | gl | ) |
Definition at line 65 of file GearsObject.java.
|
abstract |
Reimplemented in com.jogamp.opengl.test.junit.jogl.demos.es1.GearsObjectES1, and com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2.
| String com.jogamp.opengl.test.junit.jogl.demos.GearsObject.toString | ( | ) |
| GLArrayDataServer com.jogamp.opengl.test.junit.jogl.demos.GearsObject.backFace |
Definition at line 43 of file GearsObject.java.
| GLArrayDataServer com.jogamp.opengl.test.junit.jogl.demos.GearsObject.backSide |
Definition at line 44 of file GearsObject.java.
|
static |
Definition at line 37 of file GearsObject.java.
| GLArrayDataServer com.jogamp.opengl.test.junit.jogl.demos.GearsObject.frontFace |
Definition at line 41 of file GearsObject.java.
| GLArrayDataServer com.jogamp.opengl.test.junit.jogl.demos.GearsObject.frontSide |
Definition at line 42 of file GearsObject.java.
| final FloatBuffer com.jogamp.opengl.test.junit.jogl.demos.GearsObject.gearColor |
Definition at line 40 of file GearsObject.java.
|
static |
Definition at line 36 of file GearsObject.java.
| GLArrayDataServer com.jogamp.opengl.test.junit.jogl.demos.GearsObject.insideRadiusCyl |
Definition at line 46 of file GearsObject.java.
| boolean com.jogamp.opengl.test.junit.jogl.demos.GearsObject.isShared |
Definition at line 47 of file GearsObject.java.
|
static |
Definition at line 38 of file GearsObject.java.
| GLArrayDataServer com.jogamp.opengl.test.junit.jogl.demos.GearsObject.outwardFace |
Definition at line 45 of file GearsObject.java.
|
static |
Definition at line 35 of file GearsObject.java.
|
protected |
Definition at line 48 of file GearsObject.java.