internal UniformFloatVector4GL3x(string name, int location, ICleanableObserver observer)
     : base(name, UniformType.FloatVector4)
 {
     _location = location;
     _dirty    = true;
     _observer = observer;
     _observer.NotifyDirty(this);
 }
Ejemplo 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);
 }
Ejemplo 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);
 }
Ejemplo n.º 4
0
 public TextureUnitGL3x(int index, ICleanableObserver observer)
 {
     _textureUnitIndex = index;
     _textureUnit      = OpenTKTextureUnit.Texture0 + index;
     _observer         = observer;
 }
Ejemplo n.º 5
0
 public TextureUnitGL3x(int index, ICleanableObserver observer)
 {
     _textureUnitIndex = index;
     _textureUnit = OpenTKTextureUnit.Texture0 + index;
     _observer = observer;
 }