GLShader.this

Creates a shader with source code and compiles it.

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

Throws

OpenGLException on error.

Meta