Class GL14C

Direct Known Subclasses:
GL15C

public class GL14C extends GL13C
  • Field Details

    • GL_CONSTANT_COLOR

      public static final int GL_CONSTANT_COLOR
      Accepted by the sfactor and dfactor parameters of BlendFunc.
      See Also:
    • GL_ONE_MINUS_CONSTANT_COLOR

      public static final int GL_ONE_MINUS_CONSTANT_COLOR
      Accepted by the sfactor and dfactor parameters of BlendFunc.
      See Also:
    • GL_CONSTANT_ALPHA

      public static final int GL_CONSTANT_ALPHA
      Accepted by the sfactor and dfactor parameters of BlendFunc.
      See Also:
    • GL_ONE_MINUS_CONSTANT_ALPHA

      public static final int GL_ONE_MINUS_CONSTANT_ALPHA
      Accepted by the sfactor and dfactor parameters of BlendFunc.
      See Also:
    • GL_FUNC_ADD

      public static final int GL_FUNC_ADD
      Accepted by the mode parameter of BlendEquation.
      See Also:
    • GL_MIN

      public static final int GL_MIN
      Accepted by the mode parameter of BlendEquation.
      See Also:
    • GL_MAX

      public static final int GL_MAX
      Accepted by the mode parameter of BlendEquation.
      See Also:
    • GL_FUNC_SUBTRACT

      public static final int GL_FUNC_SUBTRACT
      Accepted by the mode parameter of BlendEquation.
      See Also:
    • GL_FUNC_REVERSE_SUBTRACT

      public static final int GL_FUNC_REVERSE_SUBTRACT
      Accepted by the mode parameter of BlendEquation.
      See Also:
    • GL_DEPTH_COMPONENT16

      public static final int GL_DEPTH_COMPONENT16
      Accepted by the internalFormat parameter of TexImage1D, TexImage2D, CopyTexImage1D and CopyTexImage2D.
      See Also:
    • GL_DEPTH_COMPONENT24

      public static final int GL_DEPTH_COMPONENT24
      Accepted by the internalFormat parameter of TexImage1D, TexImage2D, CopyTexImage1D and CopyTexImage2D.
      See Also:
    • GL_DEPTH_COMPONENT32

      public static final int GL_DEPTH_COMPONENT32
      Accepted by the internalFormat parameter of TexImage1D, TexImage2D, CopyTexImage1D and CopyTexImage2D.
      See Also:
    • GL_TEXTURE_DEPTH_SIZE

      public static final int GL_TEXTURE_DEPTH_SIZE
      Accepted by the pname parameter of GetTexLevelParameterfv and GetTexLevelParameteriv.
      See Also:
    • GL_TEXTURE_COMPARE_MODE

      public static final int GL_TEXTURE_COMPARE_MODE
      Accepted by the pname parameter of TexParameterf, TexParameteri, TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv.
      See Also:
    • GL_TEXTURE_COMPARE_FUNC

      public static final int GL_TEXTURE_COMPARE_FUNC
      Accepted by the pname parameter of TexParameterf, TexParameteri, TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv.
      See Also:
    • GL_POINT_FADE_THRESHOLD_SIZE

      public static final int GL_POINT_FADE_THRESHOLD_SIZE
      Accepted by the pname parameter of PointParameterfARB, and the pname of Get.
      See Also:
    • GL_BLEND_DST_RGB

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

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

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

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

      public static final int GL_INCR_WRAP
      Accepted by the sfail, dpfail, and dppass parameter of StencilOp.
      See Also:
    • GL_DECR_WRAP

      public static final int GL_DECR_WRAP
      Accepted by the sfail, dpfail, and dppass parameter of StencilOp.
      See Also:
    • GL_TEXTURE_LOD_BIAS

      public static final int GL_TEXTURE_LOD_BIAS
      When the target parameter of GetTexEnvfv, GetTexEnviv, TexEnvi, TexEnvf, TexEnviv, and TexEnvfv is TEXTURE_FILTER_CONTROL, then the value of pname may be.
      See Also:
    • GL_MAX_TEXTURE_LOD_BIAS

      public static final int GL_MAX_TEXTURE_LOD_BIAS
      Accepted by the pname parameters of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_MIRRORED_REPEAT

      public static final int GL_MIRRORED_REPEAT
      Accepted by the param parameter of TexParameteri and TexParameterf, and by the params parameter of TexParameteriv and TexParameterfv, when their pname parameter is TEXTURE_WRAP_S, TEXTURE_WRAP_T, or TEXTURE_WRAP_R.
      See Also:
  • Method Details

    • glBlendColor

      public static void glBlendColor(float red, float green, float blue, float alpha)
      Specifies the constant color Cc to be used in blending.
      Parameters:
      red - the red color component
      green - the green color component
      blue - the blue color component
      alpha - the alpha color component
      See Also:
    • glBlendEquation

      public static void glBlendEquation(int mode)
      Controls the blend equations used for per-fragment blending.
      Parameters:
      mode - the blend equation. One of:
      FUNC_ADDFUNC_SUBTRACTFUNC_REVERSE_SUBTRACTMINMAX
      See Also:
    • nglMultiDrawArrays

      public static void nglMultiDrawArrays(int mode, long first, long count, int drawcount)
      Unsafe version of: MultiDrawArrays
      Parameters:
      drawcount - the size of first and count
    • glMultiDrawArrays

      public static void glMultiDrawArrays(int mode, IntBuffer first, IntBuffer count)
      Renders multiple sets of primitives from array data.
      Parameters:
      mode - the kind of primitives to render. One of:
      POINTSLINE_STRIPLINE_LOOPLINESTRIANGLE_STRIPTRIANGLE_FAN
      TRIANGLESLINES_ADJACENCYLINE_STRIP_ADJACENCYTRIANGLES_ADJACENCYTRIANGLE_STRIP_ADJACENCYPATCHES
      first - an array of starting indices in the enabled arrays
      count - an array of the number of indices to be rendered
      See Also:
    • nglMultiDrawElements

      public static void nglMultiDrawElements(int mode, long count, int type, long indices, int drawcount)
      Unsafe version of: MultiDrawElements
      Parameters:
      drawcount - the size of the count array
    • glMultiDrawElements

      public static void glMultiDrawElements(int mode, IntBuffer count, int type, org.lwjgl.PointerBuffer indices)
      Renders multiple sets of primitives by specifying indices of array data elements.

      LWJGL note: Use MemoryUtil.memAddress(java.nio.ByteBuffer) to retrieve pointers to the index buffers.

      Parameters:
      mode - the kind of primitives to render. One of:
      POINTSLINE_STRIPLINE_LOOPLINESTRIANGLE_STRIPTRIANGLE_FAN
      TRIANGLESLINES_ADJACENCYLINE_STRIP_ADJACENCYTRIANGLES_ADJACENCYTRIANGLE_STRIP_ADJACENCYPATCHES
      count - an array of the elements counts
      type - the type of the values in indices. One of:
      UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_INT
      indices - a pointer to the location where the indices are stored
      See Also:
    • glPointParameterf

      public static void glPointParameterf(int pname, float param)
      Sets the float value of a pointer parameter.
      Parameters:
      pname - the parameter to set. Must be:
      POINT_FADE_THRESHOLD_SIZE
      param - the parameter value
      See Also:
    • glPointParameteri

      public static void glPointParameteri(int pname, int param)
      Integer version of PointParameterf.
      Parameters:
      pname - the parameter to set. Must be:
      POINT_FADE_THRESHOLD_SIZE
      param - the parameter value
      See Also:
    • nglPointParameterfv

      public static void nglPointParameterfv(int pname, long params)
      Unsafe version of: PointParameterfv
    • glPointParameterfv

      public static void glPointParameterfv(int pname, FloatBuffer params)
      Pointer version of PointParameterf.
      Parameters:
      pname - the parameter to set
      params - the parameter value
      See Also:
    • nglPointParameteriv

      public static void nglPointParameteriv(int pname, long params)
      Unsafe version of: PointParameteriv
    • glPointParameteriv

      public static void glPointParameteriv(int pname, IntBuffer params)
      Pointer version of PointParameteri.
      Parameters:
      pname - the parameter to set
      params - the parameter value
      See Also:
    • glBlendFuncSeparate

      public static void glBlendFuncSeparate(int sfactorRGB, int dfactorRGB, int sfactorAlpha, int dfactorAlpha)
      Specifies pixel arithmetic for RGB and alpha components separately.
      Parameters:
      sfactorRGB - how the red, green, and blue blending factors are computed. The initial value is GL_ONE.
      dfactorRGB - how the red, green, and blue destination blending factors are computed. The initial value is GL_ZERO.
      sfactorAlpha - how the alpha source blending factor is computed. The initial value is GL_ONE.
      dfactorAlpha - how the alpha destination blending factor is computed. The initial value is GL_ZERO.
      See Also:
    • glMultiDrawArrays

      public static void glMultiDrawArrays(int mode, int[] first, int[] count)
      Array version of: MultiDrawArrays
      See Also:
    • glMultiDrawElements

      public static void glMultiDrawElements(int mode, int[] count, int type, org.lwjgl.PointerBuffer indices)
      Array version of: MultiDrawElements
      See Also:
    • glPointParameterfv

      public static void glPointParameterfv(int pname, float[] params)
      Array version of: PointParameterfv
      See Also:
    • glPointParameteriv

      public static void glPointParameteriv(int pname, int[] params)
      Array version of: PointParameteriv
      See Also: