Class EXTCgShader

java.lang.Object
org.lwjgl.opengles.EXTCgShader

public final class EXTCgShader extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    You can pass GL_CG_VERTEX_SHADER_EXT to glCreateShader instead of GL_VERTEX_SHADER to create a vertex shader that will parse and compile its shader source with the Cg compiler front-end rather than the GLSL front-end.
    static final int
    You can pass GL_CG_VERTEX_SHADER_EXT to glCreateShader instead of GL_VERTEX_SHADER to create a vertex shader that will parse and compile its shader source with the Cg compiler front-end rather than the GLSL front-end.
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • GL_CG_VERTEX_SHADER_EXT

      public static final int GL_CG_VERTEX_SHADER_EXT
      You can pass GL_CG_VERTEX_SHADER_EXT to glCreateShader instead of GL_VERTEX_SHADER to create a vertex shader that will parse and compile its shader source with the Cg compiler front-end rather than the GLSL front-end. Likewise, you can pass GL_CG_FRAGMENT_SHADER_EXT to glCreateShader instead of GL_FRAGMENT_SHADER to create a fragment shader object that will parse and compile its shader source with the Cg front-end rather than the GLSL front-end.
      See Also:
    • GL_CG_FRAGMENT_SHADER_EXT

      public static final int GL_CG_FRAGMENT_SHADER_EXT
      You can pass GL_CG_VERTEX_SHADER_EXT to glCreateShader instead of GL_VERTEX_SHADER to create a vertex shader that will parse and compile its shader source with the Cg compiler front-end rather than the GLSL front-end. Likewise, you can pass GL_CG_FRAGMENT_SHADER_EXT to glCreateShader instead of GL_FRAGMENT_SHADER to create a fragment shader object that will parse and compile its shader source with the Cg front-end rather than the GLSL front-end.
      See Also: