Uses of Class
com.blackrook.gloop.opengl.gl2.OGLProgram
Packages that use OGLProgram
Package
Description
Contains OpenGL 2.X implementations.
Contains OpenGL 3.X implementations.
Contains OpenGL 4.X implementations.
Utility classes for OpenGL stuff.
-
Uses of OGLProgram in com.blackrook.gloop.opengl.gl2
Methods in com.blackrook.gloop.opengl.gl2 that return OGLProgramModifier and TypeMethodDescriptionOGL20Graphics.createProgram()Creates a new program object.OGL20Graphics.getProgram()Gets the currently bound program.Methods in com.blackrook.gloop.opengl.gl2 with parameters of type OGLProgramModifier and TypeMethodDescriptionvoidOGL20Graphics.attachProgramShaders(OGLProgram program, OGLProgramShader... shaders) Attaches a shader to a program.voidOGL20Graphics.destroyProgram(OGLProgram program) Destroys a program.voidOGL20Graphics.detachProgramShaders(OGLProgram program, OGLProgramShader... shaders) Detaches a shader from a program.voidOGL20Graphics.linkProgram(OGLProgram program) Links the program with its attached program shaders.protected voidOGL20Graphics.refreshProgramLinkStatusAndUniforms(OGLProgram program) Refreshes an OGLProgram's link status, uniforms, and attributes.voidOGL20Graphics.setProgram(OGLProgram program) Binds a program to the current context.voidOGL20Graphics.setProgramVertexAttribLocation(OGLProgram program, String attribName, int index) Binds a specific index to a vertex attribute by name. -
Uses of OGLProgram in com.blackrook.gloop.opengl.gl3
Methods in com.blackrook.gloop.opengl.gl3 with parameters of type OGLProgramModifier and TypeMethodDescriptionvoidOGL30Graphics.setProgramFragmentDataLocation(OGLProgram program, String outVariableName, int colorIndex) Sets the location of a fragment output.voidOGL30Graphics.setTransformFeedbackVaryingNames(OGLProgram program, FeedbackBufferType type, String... variableNames) Sets the transform feedback varying variables for the bound shader program. -
Uses of OGLProgram in com.blackrook.gloop.opengl.gl4
Methods in com.blackrook.gloop.opengl.gl4 with parameters of type OGLProgramModifier and TypeMethodDescriptionOGL41Graphics.getProgramBinary(OGLProgram program) Retrieves the binary representation of a compiled and linked program.voidOGL41Graphics.setProgramBinary(OGLProgram program, OGL41Graphics.ProgramBinary programBinary) Creates a program from a binary representation.voidOGL41Graphics.setProgramBinaryRetriveableHint(OGLProgram program, boolean enabled) Sets a hint on a program to tell OpenGL that you are going to retrieve a binary representation from it.voidOGL41Graphics.setProgramSeparable(OGLProgram program, boolean enabled) Sets a flag on a program to tell OpenGL that you are planning to add this to a pipeline later. -
Uses of OGLProgram in com.blackrook.gloop.opengl.util
Methods in com.blackrook.gloop.opengl.util that return OGLProgram