Available Methods
- glBindBuffer ( )
- glBindVertexArray ( )
- glBindTexture ( )
- glGenVertexArrays ( )
- glDeleteProgram ( )
- glClearBufferfv ( )
- glGenBuffers ( )
- glActiveTexture ( )
- glEnableVertexAttribArray ( )
- glBindBufferBase ( )
- glMapBufferRange ( )
- glDeleteVertexArrays ( )
- glDeleteBuffers ( )
- glBufferData ( )
- glBindProgramPipeline ( )
- glVertexAttribPointer ( )
- glBindFramebuffer ( )
- glGenTextures ( )
- glUseProgramStages ( )
- glDeleteTextures ( )
- glGetIntegerv ( )
- glUnmapBuffer ( )
- glTexParameteri ( )
- glDeleteProgramPipelines ( )
- isExtensionAvailable ( )
- glGenProgramPipelines ( )
- glPixelStorei ( )
- glEnable ( )
- glViewportIndexedf ( )
- glDrawElementsInstancedBaseVertexBaseInstance ( )
- glProgramParameteri ( )
- glDrawElementsInstancedBaseVertex ( )
- glTexStorage2D ( )
- glUseProgram ( )
- glDrawArraysInstancedBaseInstance ( )
- glGenFramebuffers ( )
- glViewport ( )
- glSamplerParameteri ( )
- glBufferStorage ( )
- glGetUniformLocation ( )
- glDisable ( )
- glTexSubImage3D ( )
- glDeleteFramebuffers ( )
- glTexSubImage2D ( )
- glUniform1i ( )
- glBindSampler ( )
- glFramebufferTexture ( )
- glSamplerParameterf ( )
- glSamplerParameterfv ( )
- glGenSamplers ( )
- glCreateTextures ( )
- glBindBufferRange ( )
- glDeleteSamplers ( )
- glMapNamedBufferRange ( )
- glTexImage2D ( )
- glViewportIndexedfv ( )
- glUniformMatrix4fv ( )
- glUniformBlockBinding ( )
- glBindImageTexture ( )
- glDepthFunc ( )
- glEnableVertexArrayAttrib ( )
- glUnmapNamedBuffer ( )
- glCreateBuffers ( )
- glDebugMessageInsert ( )
- glPatchParameteri ( )
- glPolygonMode ( )
- glGetProgramPipelineInfoLog ( )
- glVertexAttribFormat ( )
- glDrawArraysInstanced ( )
- glVertexArrayAttribBinding ( )
- glBeginQuery ( )
- glGetQueryiv ( )
- glCreateShaderProgramv ( )
- glProgramUniformMatrix4fv ( )
- glGetProgramPipelineiv ( )
- glGenQueries ( )
- glBindVertexBuffer ( )
- glTextureParameteri ( )
- glCompressedTexSubImage2D ( )
- glVertexAttribBinding ( )
- glBindTextures ( )
- glNamedBufferStorage ( )
- glVertexArrayVertexBuffer ( )
- glMinSampleShading ( )
- glCreateVertexArrays ( )
- glDrawBuffers ( )
- glDeleteTransformFeedbacks ( )
- glBeginTransformFeedback ( )
- glMakeTextureHandleResidentARB ( )
- glProgramUniform1i ( )
- glTextureSubImage2D ( )
- glDrawTransformFeedback ( )
- glTexImage3D ( )
- glCopyBufferSubData ( )
- glTextureStorage2DMultisample ( )
- glTexStorage3D ( )
- glTextureStorage2D ( )
- glProvokingVertex ( )
- glBufferSubData ( )
- glDebugMessageControl ( )
- glBeginConditionalRender ( )
- glBlitFramebuffer ( )
- glNamedFramebufferTexture ( )
- glMultiDrawElementsIndirect ( )
- glVertexArrayAttribFormat ( )
- glBindTransformFeedback ( )
- GL_TESS_CONTROL_SHADER
- glValidateProgramPipeline ( )
Related Classes
- java.io.File
- java.io.FileNotFoundException
- java.nio.ByteBuffer
- java.util.logging.Logger
- java.util.logging.Level
- java.util.Scanner
- javax.swing.SwingUtilities
- java.nio.FloatBuffer
- java.nio.IntBuffer
- java.nio.ShortBuffer
- java.nio.LongBuffer
- com.jogamp.opengl.GLProfile
- com.jogamp.opengl.GL
- com.jogamp.opengl.GLCapabilities
- com.jogamp.opengl.GLContext
- com.jogamp.opengl.GLException
- processing.core.PGraphics
- com.jogamp.opengl.GL3
- com.jogamp.opengl.GLDrawableFactory
- com.jogamp.opengl.util.GLBuffers
- com.jogamp.opengl.GL2GL3
- glm.vec._2.Vec2
- glm.vec._3.Vec3
- glm.vec._4.Vec4
- net.runelite.api.GameState
Java Code Examples for com.jogamp.opengl.GL4#GL_TESS_CONTROL_SHADER
The following examples show how to use
com.jogamp.opengl.GL4#GL_TESS_CONTROL_SHADER .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ShaderTest.java From plugins with GNU General Public License v3.0 | 4 votes |
private void verify(Template template, Shader shader) throws Exception { File folder = temp.newFolder(); List<String> args = new ArrayList<>(); args.add(System.getProperty("glslang.path")); args.add("-l"); for (Shader.Unit u : shader.units) { String contents = template.load(u.getFilename()); String ext; switch (u.getType()) { case GL4.GL_VERTEX_SHADER: ext = "vert"; break; case GL4.GL_TESS_CONTROL_SHADER: ext = "tesc"; break; case GL4.GL_TESS_EVALUATION_SHADER: ext = "tese"; break; case GL4.GL_GEOMETRY_SHADER: ext = "geom"; break; case GL4.GL_FRAGMENT_SHADER: ext = "frag"; break; case GL4.GL_COMPUTE_SHADER: ext = "comp"; break; default: throw new IllegalArgumentException(u.getType() + ""); } File file = new File(folder, u.getFilename() + "." + ext); Files.write(file.toPath(), contents.getBytes(StandardCharsets.UTF_8)); args.add(file.getAbsolutePath()); } ProcessBuilder pb = new ProcessBuilder(args.toArray(new String[0])); pb.inheritIO(); Process proc = pb.start(); if (proc.waitFor() != 0) { Assert.fail(); } }
Example 2
Source File: ShaderTest.java From runelite with BSD 2-Clause "Simplified" License | 4 votes |
private void verify(Template template, Shader shader) throws Exception { File folder = temp.newFolder(); List<String> args = new ArrayList<>(); args.add(System.getProperty("glslang.path")); args.add("-l"); for (Shader.Unit u : shader.units) { String contents = template.load(u.getFilename()); String ext; switch (u.getType()) { case GL4.GL_VERTEX_SHADER: ext = "vert"; break; case GL4.GL_TESS_CONTROL_SHADER: ext = "tesc"; break; case GL4.GL_TESS_EVALUATION_SHADER: ext = "tese"; break; case GL4.GL_GEOMETRY_SHADER: ext = "geom"; break; case GL4.GL_FRAGMENT_SHADER: ext = "frag"; break; case GL4.GL_COMPUTE_SHADER: ext = "comp"; break; default: throw new IllegalArgumentException(u.getType() + ""); } File file = new File(folder, u.getFilename() + "." + ext); Files.write(file.toPath(), contents.getBytes(StandardCharsets.UTF_8)); args.add(file.getAbsolutePath()); } ProcessBuilder pb = new ProcessBuilder(args.toArray(new String[0])); pb.inheritIO(); Process proc = pb.start(); if (proc.waitFor() != 0) { Assert.fail(); } }