Example #1
0
 internal void Dispatch(ref RenderContext context)
 {
     GL.PushDebugGroup(DebugSourceExternal.DebugSourceApplication, 0, name.Length, name);
     renderAction(ref context);
     renderAction = null;
     GL.PopDebugGroup();
 }
Example #2
0
 public RenderCommand(string name, RenderCommandAction renderAction)
 {
     this.name         = name;
     this.renderAction = renderAction;
 }