CommonGLShaderProgram.setTexture

set uniform and bind texture

  1. void setTexture(int loc, GLTexture tex)
  2. void setTexture(string name, GLTexture tex)
    class CommonGLShaderProgram
    void
    setTexture
    ()
    in { assert (tex !is null); }

Meta