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#glProvokingVertex()
The following examples show how to use
com.jogamp.opengl.GL4#glProvokingVertex() .
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: Gl_430_multi_draw_indirect.java From jogl-samples with MIT License | 5 votes |
@Override protected boolean begin(GL gl) { GL4 gl4 = (GL4) gl; boolean validated = gl4.isExtensionAvailable("GL_ARB_multi_draw_indirect"); if (validated) { validated = initProgram(gl4); } if (validated) { validated = initBuffer(gl4); } if (validated) { validated = initVertexArray(gl4); } if (validated) { validated = initTexture(gl4); } viewport[0] = new Vec4i((int) (windowSize.x / 3.0f * 0.0f), 0, windowSize.x / 3, windowSize.y); viewport[1] = new Vec4i((int) (windowSize.x / 3.0f * 1.0f), 0, windowSize.x / 3, windowSize.y); viewport[2] = new Vec4i((int) (windowSize.x / 3.0f * 2.0f), 0, windowSize.x / 3, windowSize.y); gl4.glEnable(GL_DEPTH_TEST); gl4.glProvokingVertex(GL_FIRST_VERTEX_CONVENTION); return validated; }
Example 2
Source File: Gl_500_multi_draw_indirect_arb.java From jogl-samples with MIT License | 5 votes |
@Override protected boolean begin(GL gl) { GL4 gl4 = (GL4) gl; boolean validated = true; validated = validated && gl4.isExtensionAvailable("GL_ARB_indirect_parameters"); if (validated) { validated = initProgram(gl4); } if (validated) { validated = initBuffer(gl4); } if (validated) { validated = initVertexArray(gl4); } if (validated) { validated = initTexture(gl4); } Caps caps = new Caps(gl4, Profile.CORE); viewport[0] = new Vec4(windowSize.x / 3.0f * 0.0f, 0, windowSize.x / 3, windowSize.y); viewport[1] = new Vec4(windowSize.x / 3.0f * 1.0f, 0, windowSize.x / 3, windowSize.y); viewport[2] = new Vec4(windowSize.x / 3.0f * 2.0f, 0, windowSize.x / 3, windowSize.y); gl4.glEnable(GL_DEPTH_TEST); gl4.glProvokingVertex(GL_FIRST_VERTEX_CONVENTION); return validated; }
Example 3
Source File: Gl_500_multi_draw_indirect_count_arb.java From jogl-samples with MIT License | 5 votes |
@Override protected boolean begin(GL gl) { GL4 gl4 = (GL4) gl; boolean validated = true; validated = validated && gl4.isExtensionAvailable("GL_ARB_shader_draw_parameters"); if (validated) { validated = initProgram(gl4); } if (validated) { validated = initBuffer(gl4); } if (validated) { validated = initVertexArray(gl4); } if (validated) { validated = initTexture(gl4); } Caps caps = new Caps(gl4, Profile.CORE); viewport[0] = new Vec4(windowSize.x / 3.0f * 0.0f, 0, windowSize.x / 3, windowSize.y); viewport[1] = new Vec4(windowSize.x / 3.0f * 1.0f, 0, windowSize.x / 3, windowSize.y); viewport[2] = new Vec4(windowSize.x / 3.0f * 2.0f, 0, windowSize.x / 3, windowSize.y); gl4.glEnable(GL_DEPTH_TEST); gl4.glProvokingVertex(GL_FIRST_VERTEX_CONVENTION); return validated; }
Example 4
Source File: Gl_440_multi_draw_indirect_id_arb.java From jogl-samples with MIT License | 5 votes |
@Override protected boolean begin(GL gl) { GL4 gl4 = (GL4) gl; boolean validated = true; validated = validated && gl4.isExtensionAvailable("GL_ARB_multi_draw_indirect"); validated = validated && gl4.isExtensionAvailable("GL_ARB_shader_draw_parameters"); validated = validated && gl4.isExtensionAvailable("GL_ARB_shader_storage_buffer_object"); validated = validated && gl4.isExtensionAvailable("GL_ARB_buffer_storage"); if (validated) { validated = initProgram(gl4); } if (validated) { validated = initBuffer(gl4); } if (validated) { validated = initVertexArray(gl4); } if (validated) { validated = initTexture(gl4); } viewport[0] = new Vec4(windowSize.x / 3.0f * 0.0f, 0, (float) windowSize.x / 3, windowSize.y); viewport[1] = new Vec4(windowSize.x / 3.0f * 1.0f, 0, (float) windowSize.x / 3, windowSize.y); viewport[2] = new Vec4(windowSize.x / 3.0f * 2.0f, 0, (float) windowSize.x / 3, windowSize.y); gl4.glEnable(GL_DEPTH_TEST); gl4.glProvokingVertex(GL_FIRST_VERTEX_CONVENTION); return validated; }