コード例 #1
0
ファイル: RenderCommand.cs プロジェクト: luxgile/Entygine
 internal void Dispatch(ref RenderContext context)
 {
     GL.PushDebugGroup(DebugSourceExternal.DebugSourceApplication, 0, name.Length, name);
     renderAction(ref context);
     renderAction = null;
     GL.PopDebugGroup();
 }
コード例 #2
0
ファイル: RenderCommand.cs プロジェクト: luxgile/Entygine
 public RenderCommand(string name, RenderCommandAction renderAction)
 {
     this.name         = name;
     this.renderAction = renderAction;
 }