CommonGLShaderProgram.setTexture

set uniform and bind texture

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

Meta