Class ARBExplicitUniformLocation

java.lang.Object
org.lwjgl.opengl.ARBExplicitUniformLocation

public final class ARBExplicitUniformLocation extends Object
Native bindings to the ARB_explicit_uniform_location extension.

This extension provides a method to pre-assign uniform locations to uniform variables in the default uniform block, including subroutine uniforms. This allows an application to modify the uniform values without requiring a GL query like GetUniformLocation, GetSubroutineUniformLocation and GetSubroutineIndex.

Requires OpenGL 3.3 or ARB_explicit_attrib_location. Promoted to core in OpenGL 4.3.

  • Field Details

    • GL_MAX_UNIFORM_LOCATIONS

      public static final int GL_MAX_UNIFORM_LOCATIONS
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.
      See Also: