Uses of Interface
com.luciad.view.opengl.binding.ILcdGL
Package
Description
Contains convenience classes for working with the OpenGL Shading Language
(GLSL).
Abstract binding for the OpenGL API.
-
Uses of ILcdGL in com.luciad.view.lightspeed.util.opengl.glsl
Modifier and TypeMethodDescriptionvoid
TLspShaderProgram.attachShaders
(ILcdGL aGL) Attaches the shaders to this program.static TLspShader
TLspShader.createFragmentShader
(ILcdGL aGL, String aSource) Creates a fragment shader from the given source file.static TLspShader
TLspShader.createFragmentShader
(ILcdGL aGL, String[] aSources) Creates a fragment shader from the given source files.static TLspShader
TLspShader.createFragmentShaderFromSourceCode
(ILcdGL aGL, String[] aSourceCode) Creates a fragment shader from the given source code chunks.static TLspShader
TLspShader.createGeometryShader
(ILcdGL aGL, String aSource) Creates a geometry shader from the given source file.static TLspShader
TLspShader.createGeometryShader
(ILcdGL aGL, String[] aSources) Creates a geometry shader from the given source files.static TLspShader
TLspShader.createVertexShader
(ILcdGL aGL, String aSource) Creates a vertex shader from the given source file.static TLspShader
TLspShader.createVertexShader
(ILcdGL aGL, String[] aSources) Creates a vertex shader from the given source files.static TLspShader
TLspShader.createVertexShaderFromSourceCode
(ILcdGL aGL, String[] aSourceCode) Creates a vertex shader from the given source code chunks.void
Destroys the shader making it invalid to use.void
TLspShaderProgram.disableVertexAttribArray
(ILcdGL aGL, String aName) Disables the vertex attribute array associated with the given name.int
TLspShaderProgram.getAttribLocation
(ILcdGL aGL, String aName) Gets the location associated with the given name for a vertex attributeint
TLspShaderProgram.getUniformLocation
(ILcdGL aGL, String aName) Gets the location associated with the given name for a uniform variablevoid
Link the shader program.void
TLspShaderProgram.setUniformData
(ILcdGL aGL, String aName, boolean aValue) Sets the uniform value.void
TLspShaderProgram.setUniformData
(ILcdGL aGL, String aName, double aValue) Sets the uniform value.void
TLspShaderProgram.setUniformData
(ILcdGL aGL, String aName, float aValue) Sets the uniform value.void
TLspShaderProgram.setUniformData
(ILcdGL aGL, String aName, float aValue1, float aValue2) Sets the value of thevec2
uniform with given name.void
TLspShaderProgram.setUniformData
(ILcdGL aGL, String aName, float aValue1, float aValue2, float aValue3) Sets the value of thevec3
uniform with given name.void
TLspShaderProgram.setUniformData
(ILcdGL aGL, String aName, float aValue1, float aValue2, float aValue3, float aValue4) Sets the value of thevec4
uniform with given name.void
TLspShaderProgram.setUniformData
(ILcdGL aGL, String aName, int aValue) Sets the uniform value.void
TLspShaderProgram.setUniformData
(ILcdGL aGL, String aName, int aValue1, int aValue2) Sets the value of theivec2
uniform with given name.void
TLspShaderProgram.setUniformData
(ILcdGL aGL, String aName, int aValue1, int aValue2, int aValue3) Sets the value of theivec3
uniform with given name.void
TLspShaderProgram.setUniformData
(ILcdGL aGL, String aName, int aValue1, int aValue2, int aValue3, int aValue4) Sets the value of theivec4
uniform with given name.void
TLspShaderProgram.setUniformData
(ILcdGL aGL, String aName, int nbComponents, FloatBuffer aValues) Sets the uniform values.void
TLspShaderProgram.setUniformData
(ILcdGL aGL, String aName, int nbComponents, IntBuffer aValues) Sets the uniform values.void
TLspShaderProgram.setUniformMatrixData
(ILcdGL aGL, String aName, int aDimension, boolean aTranspose, FloatBuffer aValues) Sets the uniform matrix.void
TLspShaderProgram.setUniformMatrixData
(ILcdGL aGL, String aName, int nbMatrices, int aDimension, boolean aTranspose, FloatBuffer aValues) void
TLspShaderProgram.setVertexAttribArray
(ILcdGL aGL, String aName, int aNbComponents, int aType, boolean aNormalize, int aStride, Buffer aDirectBuffer) Sets the vertex attribute pointer for the given vertex attribute.void
TLspShaderProgram.setVertexAttribData
(ILcdGL aGL, String aName, double aValue) Sets the vertex attribute.void
TLspShaderProgram.setVertexAttribData
(ILcdGL aGL, String aName, float aValue) Sets the vertex attribute.void
TLspShaderProgram.setVertexAttribData
(ILcdGL aGL, String aName, int nbComponents, DoubleBuffer aValues) Sets the vertex attribute values.void
TLspShaderProgram.setVertexAttribData
(ILcdGL aGL, String aName, int nbComponents, FloatBuffer aValues) Sets the vertex attribute values.void
TLspShaderProgram.setVertexAttribData
(ILcdGL aGL, String aName, int nbComponents, ShortBuffer aValues) Sets the vertex attribute values.void
TLspShaderProgram.setVertexAttribData
(ILcdGL aGL, String aName, short aValue) Sets the vertex attribute. -
Uses of ILcdGL in com.luciad.view.opengl.binding
Modifier and TypeClassDescriptionclass
ILcdGL
wrapper implementation that performs aglGetError
call after each delegated OpenGL call.class
ILcdGL
wrapper implementation which simply delegates all OpenGL calls.class
ILcdGL
wrapper implementation which prints the name of each invoked OpenGL call to a givenPrintStream
along with the values of its arguments.Modifier and TypeMethodDescriptionTLcdGLDebugGL.getDelegate()
TLcdGLPassThroughGL.getDelegate()
TLcdGLTraceGL.getDelegate()
ILcdGLDrawable.getGL()
Returns the ILcdGL object associated with the drawable.Modifier and TypeMethodDescriptionvoid
Sets the ILcdGL used by this drawable.ModifierConstructorDescriptionTLcdGLDebugGL
(ILcdGL aDelegate) TLcdGLPassThroughGL
(ILcdGL aDelegate) TLcdGLTraceGL
(ILcdGL aDelegate) TLcdGLTraceGL
(ILcdGL aDelegate, PrintStream aPrintStream)