public virtual void Bind() { if (BoundFX == this) { return; } GL.UseProgram(_Program); SetPars(); BoundFX = this; //isBound = true; }
public virtual void Release() { GL.UseProgram(0); BoundFX = null; }
public virtual void Bind() { if (BoundFX == this) { return; } GL.UseProgram(_Program); SetPars(); BoundFX = this; //isBound = true; }
public virtual void Release() { GL.UseProgram(0); BoundFX = null; }