# coneneko.shader

class Shader: coneneko.unit.Unit;
  glsl
  this(string vertexSource, string fragmentSource);
  protected int getUniformLocation(char[] key);
    使わない値には代入できないようなので注意
  void opIndexAssign(float a, char[] key);
  void opIndexAssign(int a, char[] key);
  void opIndexAssign(Vector a, char[] key);
  void opIndexAssign(Matrix[] a, char[] key);
  void opIndexAssign(Matrix a, char[] key);
  uint getAttributeLocation(char[] key);

Page generated by Ddoc.