Interface GL4

All Superinterfaces:
GL, GL2, GL3
All Known Implementing Classes:
LwjglGL

public interface GL4 extends GL3
GL functions only available on vanilla desktop OpenGL 4.0.
  • Field Details

    • GL_TESS_CONTROL_SHADER

      static final int GL_TESS_CONTROL_SHADER
      See Also:
    • GL_TESS_EVALUATION_SHADER

      static final int GL_TESS_EVALUATION_SHADER
      See Also:
    • GL_PATCHES

      static final int GL_PATCHES
      See Also:
    • GL_ATOMIC_COUNTER_BUFFER

      static final int GL_ATOMIC_COUNTER_BUFFER
      Accepted by the target parameter of BindBufferBase and BindBufferRange.
      See Also:
    • GL_SHADER_STORAGE_BUFFER

      static final int GL_SHADER_STORAGE_BUFFER
      Accepted by the target parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, and GetBufferPointerv.
      See Also:
    • GL_SHADER_STORAGE_BLOCK

      static final int GL_SHADER_STORAGE_BLOCK
      See Also:
    • GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS

      static final int GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS
      Accepted by the <pname> parameter of GetIntegerv, GetBooleanv, GetInteger64v, GetFloatv, and GetDoublev:
      See Also:
    • GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS

      static final int GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS
      See Also:
    • GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS

      static final int GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS
      See Also:
    • GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS

      static final int GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS
      See Also:
    • GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS

      static final int GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS
      See Also:
    • GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS

      static final int GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS
      See Also:
    • GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS

      static final int GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS
      See Also:
    • GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS

      static final int GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS
      See Also:
    • GL_MAX_SHADER_STORAGE_BLOCK_SIZE

      static final int GL_MAX_SHADER_STORAGE_BLOCK_SIZE
      See Also:
    • GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT

      static final int GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT
      See Also:
  • Method Details

    • glPatchParameter

      void glPatchParameter(int count)

      Reference Page

      Specifies the integer value of the specified parameter for patch primitives.

      Parameters:
      count - the new value for the parameter given by pname
    • glGetProgramResourceIndex

      int glGetProgramResourceIndex(int program, int programInterface, String name)
      Returns the unsigned integer index assigned to a resource named name in the interface type programInterface of program object program.
      Parameters:
      program - the name of a program object whose resources to query.
      programInterface - a token identifying the interface within program containing the resource named name.
      name - the name of the resource to query the index of.
      Returns:
      the index of a named resource within a program.
    • glShaderStorageBlockBinding

      void glShaderStorageBlockBinding(int program, int storageBlockIndex, int storageBlockBinding)
      Changes the active shader storage block with an assigned index of storageBlockIndex in program object program. storageBlockIndex must be an active shader storage block index in program. storageBlockBinding must be less than the value of #GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS. If successful, glShaderStorageBlockBinding specifies that program will use the data store of the buffer object bound to the binding point storageBlockBinding to read and write the values of the buffer variables in the shader storage block identified by storageBlockIndex.
      Parameters:
      program - the name of a program object whose resources to query.
      storageBlockIndex - The index storage block within the program.
      storageBlockBinding - The index storage block binding to associate with the specified storage block.