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