5package com.jogamp.opengl.util.glsl.fixedfunc;
7import com.jogamp.math.util.PMVMatrix4f;
8import com.jogamp.opengl.GL;
9import com.jogamp.opengl.GL2ES1;
10import com.jogamp.opengl.GL2ES2;
11import com.jogamp.opengl.GLContext;
12import com.jogamp.opengl.GLException;
13import com.jogamp.opengl.fixedfunc.GLPointerFuncUtil;
15import jogamp.opengl.util.glsl.fixedfunc.FixedFuncHook;
16import jogamp.opengl.util.glsl.fixedfunc.FixedFuncImpl;
17import jogamp.opengl.util.glsl.fixedfunc.FixedFuncPipeline;
19import com.jogamp.opengl.util.PMVMatrix;
44 final FixedFuncHook hook =
new FixedFuncHook(es2, mode, pmvMatrix);
45 hook.setVerbose(verbose);
46 final FixedFuncImpl impl =
new FixedFuncImpl(es2, hook);
PMVMatrix4f implements the basic computer graphics Matrix4f pack using projection (P),...
abstract GL setGL(GL gl)
Sets the GL pipeline object for this GLContext.
A generic exception for OpenGL errors used throughout the binding as a substitute for RuntimeExceptio...
static String getPredefinedArrayIndexName(final int glArrayIndex)
static final String mgl_MultiTexCoord
static final String mgl_Vertex
static final String mgl_Normal
static final String mgl_Color
PMVMatrix implements a subset of the fixed function pipeline GLMatrixFunc using PMVMatrix4f.
Tool to pipeline GL2ES2 into a fixed function emulation implementing GL2ES1.
static String getPredefinedArrayIndexName(final int glArrayIndex)
Mapping fixed function (client) array indices to GLSL array attribute names.
static final GL2ES1 wrapFixedFuncEmul(final GL gl, final ShaderSelectionMode mode, final PMVMatrix pmvMatrix, final boolean force, final boolean verbose)
static final String mgl_Vertex
String name for.
static final String mgl_Color
String name for.
static final String mgl_Normal
String name for.
static final GL2ES1 wrapFixedFuncEmul(final GL gl, final ShaderSelectionMode mode, final PMVMatrix4f pmvMatrix)
static final String mgl_MultiTexCoord
String name for.
boolean isGL2ES1()
Indicates whether this GL object conforms to a GL2ES1 compatible profile.
GL2ES1 getGL2ES1()
Casts this object to the GL2ES1 interface.
GL2ES2 getGL2ES2()
Casts this object to the GL2ES2 interface.
boolean isGL2ES2()
Indicates whether this GL object conforms to a GL2ES2 compatible profile.
GLContext getContext()
Returns the GLContext associated which this GL object.