internal UniformFloatVector4GL3x(string name, int location, ICleanableObserver observer)
     : base(name, UniformType.FloatVector4)
 {
     _location = location;
     _dirty    = true;
     _observer = observer;
     _observer.NotifyDirty(this);
 }
Exemplo n.º 2
0
 internal UniformIntGL3x(string name, int location, UniformType type, ICleanableObserver observer)
     : base(name, type)
 {
     _location = location;
     _dirty    = true;
     _observer = observer;
     _observer.NotifyDirty(this);
 }
Exemplo n.º 3
0
 internal UniformFloatMatrix24GL3x(string name, int location, ICleanableObserver observer)
     : base(name, UniformType.FloatMatrix24)
 {
     _location = location;
     _value    = new Matrix24 <float>();
     _dirty    = true;
     _observer = observer;
     _observer.NotifyDirty(this);
 }