|
JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java (public API).
|
GearsObjectES2.java
More...
Public Member Functions | |
| GearsObjectES2 (final GL gl, final boolean useMappedBuffers, final ShaderState st, final FloatBuffer gearColor, final float inner_radius, final float outer_radius, final float width, final int teeth, final float tooth_depth, final PMVMatrix pmvMatrix, final GLUniformData pmvMatrixUniform, final GLUniformData colorUniform, final boolean validateBuffers) | |
| GearsObjectES2 (final GearsObjectES2 shared, final ShaderState st, final PMVMatrix pmvMatrix, final GLUniformData pmvMatrixUniform, final GLUniformData colorUniform) | |
| GLArrayDataServer | createInterleaved (final boolean useMappedBuffers, final int comps, final int dataType, final boolean normalized, final int initialSize, final int vboUsage) |
| void | addInterleavedVertexAndNormalArrays (final GLArrayDataServer array, final int components) |
| void | draw (final GL _gl, final float x, final float y, final float angle) |
Public Member Functions inherited from com.jogamp.opengl.demos.GearsObject | |
| 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 () |
Additional Inherited Members | |
Public Attributes inherited from com.jogamp.opengl.demos.GearsObject | |
| final FloatBuffer | gearColor |
| GLArrayDataServer | frontFace |
| GLArrayDataServer | frontSide |
| GLArrayDataServer | backFace |
| GLArrayDataServer | backSide |
| GLArrayDataServer | outwardFace |
| GLArrayDataServer | insideRadiusCyl |
| boolean | isShared |
Static Public Attributes inherited from com.jogamp.opengl.demos.GearsObject | |
| 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 inherited from com.jogamp.opengl.demos.GearsObject | |
| boolean | validateBuffers = false |
GearsObjectES2.java
Definition at line 39 of file GearsObjectES2.java.
| com.jogamp.opengl.demos.es2.GearsObjectES2.GearsObjectES2 | ( | final GL | gl, |
| final boolean | useMappedBuffers, | ||
| final ShaderState | st, | ||
| final FloatBuffer | gearColor, | ||
| final float | inner_radius, | ||
| final float | outer_radius, | ||
| final float | width, | ||
| final int | teeth, | ||
| final float | tooth_depth, | ||
| final PMVMatrix | pmvMatrix, | ||
| final GLUniformData | pmvMatrixUniform, | ||
| final GLUniformData | colorUniform, | ||
| final boolean | validateBuffers | ||
| ) |
Definition at line 45 of file GearsObjectES2.java.
| com.jogamp.opengl.demos.es2.GearsObjectES2.GearsObjectES2 | ( | final GearsObjectES2 | shared, |
| final ShaderState | st, | ||
| final PMVMatrix | pmvMatrix, | ||
| final GLUniformData | pmvMatrixUniform, | ||
| final GLUniformData | colorUniform | ||
| ) |
Definition at line 59 of file GearsObjectES2.java.
| void com.jogamp.opengl.demos.es2.GearsObjectES2.addInterleavedVertexAndNormalArrays | ( | final GLArrayDataServer | array, |
| final int | components | ||
| ) |
Reimplemented from com.jogamp.opengl.demos.GearsObject.
Definition at line 91 of file GearsObjectES2.java.
| GLArrayDataServer com.jogamp.opengl.demos.es2.GearsObjectES2.createInterleaved | ( | final boolean | useMappedBuffers, |
| final int | comps, | ||
| final int | dataType, | ||
| final boolean | normalized, | ||
| final int | initialSize, | ||
| final int | vboUsage | ||
| ) |
Reimplemented from com.jogamp.opengl.demos.GearsObject.
Definition at line 82 of file GearsObjectES2.java.
| void com.jogamp.opengl.demos.es2.GearsObjectES2.draw | ( | final GL | _gl, |
| final float | x, | ||
| final float | y, | ||
| final float | angle | ||
| ) |
Reimplemented from com.jogamp.opengl.demos.GearsObject.
Definition at line 121 of file GearsObjectES2.java.