public void ExecuteCommands(RendererWrapper renderer) { foreach (var cmd in commands) { cmd.Execute(renderer); } }
public override void Execute(RendererWrapper renderer) { if (Material != null) { renderer.DrawSprite(Texture1, Texture2, Material, Color, Position, Size, UV0T1, UV1T1, UV0T2, UV1T2); } else { renderer.DrawSprite(Texture1, Texture2, Color, Position, Size, UV0T1, UV1T1, UV0T2, UV1T2); } }
public override void Execute(RendererWrapper renderer) { renderer.Transform2 = Value; }
public override void Execute(RendererWrapper renderer) { renderer.DrawTriangleFan(Texture1, Texture2, vertices, numVertices); }
public override void Execute(RendererWrapper renderer) { renderer.Shader = Value; }
public override void Execute(RendererWrapper renderer) { renderer.CullMode = Value; }
public override void Execute(RendererWrapper renderer) { renderer.Clear(Options, Color); }
public override void Execute(RendererWrapper renderer) { renderer.Viewport = Value; }
public override void Execute(RendererWrapper renderer) { renderer.ScissorState = Value; }
public override void Execute(RendererWrapper renderer) { renderer.SetOrthogonalProjection(Left, Top, Right, Bottom); }
public override void Execute(RendererWrapper renderer) { renderer.PushRenderTarget(Texture); }
public override void Execute(RendererWrapper renderer) { renderer.PushState(Mask); }
public override void Execute(RendererWrapper renderer) { renderer.PopState(); }
public override void Execute(RendererWrapper renderer) { renderer.DrawRenderObjects(renderObjects); }
public override void Execute(RendererWrapper renderer) { renderer.DrawLine(A, B, Color, Thickness, Cap); }
public override void Execute(RendererWrapper renderer) { renderer.DrawRect(A, B, Color); }
public override void Execute(RendererWrapper renderer) { renderer.ColorWriteEnabled = Value; }
public override void Execute(RendererWrapper renderer) { renderer.PopRenderTarget(); }
public override void Execute(RendererWrapper renderer) { renderer.StencilState = Value; }
public override void Execute(RendererWrapper renderer) { renderer.Callback(Callback); }
public override void Execute(RendererWrapper renderer) { renderer.DepthState = Value; }
public override void Execute(RendererWrapper renderer) { renderer.MultiplyTransform2(Value); }
public override void Execute(RendererWrapper renderer) { renderer.World = Value; }
public override void Execute(RendererWrapper renderer) { renderer.DrawRound(Center, Radius, NumSegments, InnerColor, OuterColor); }
public override void Execute(RendererWrapper renderer) { renderer.Flush(); }
public override void Execute(RendererWrapper renderer) { renderer.DrawTextLine(Font, Position, Text, Color, FontHeight, Start, Length, LetterSpacing); }
public override void Execute(RendererWrapper renderer) { renderer.DrawCircle(Center, Radius, NumSegments, Color); }
public abstract void Execute(RendererWrapper renderer);
public override void Execute(RendererWrapper renderer) { renderer.DrawRectOutline(A, B, Color, Thickness); }
public override void Execute(RendererWrapper renderer) { renderer.Blending = Value; }