public Renderer() { zOrder = ZOrder.FG; serial = Util.GetSerial(); RenderBatch = new RenderBatch <T>(); discipline = GLDiscipline.DEFAULT; }
public void SetDiscipline(GLDiscipline discipline) { if (discipline == this.discipline) { return; } else { discipline.ForceApply(); this.discipline = discipline; } }