Exemplo n.º 1
0
 internal static void Init(Pipeline a_pipeline)
 {
     if (a_pipeline.Application.ApplicationType == e_ApplicationType.Managed)
     {
         InternalObject = new OpenTKGraphicsCommand(a_pipeline);
     }
     else
     {
     }
 }
Exemplo n.º 2
0
        public void Undo()
        {
            IGraphicsCommand command = commands.Pop();

            command.Undo();
        }
Exemplo n.º 3
0
 public void Draw(IGraphicsCommand command)
 {
     command.Draw();
     commands.Push(command);
 }