GLShader.this

Creates a shader with source code and compiles it.

  1. this(OpenGL gl, GLenum shaderType)
  2. this(OpenGL gl, GLenum shaderType, string[] lines)
    class GLShader
    this
    (,
    GLenum shaderType
    ,
    string[] lines
    )

Throws

OpenGLException on error.

Meta