示例#1
0
 public void Render(Graphics2D graphics2D, Color color, IVertexSourceProxy vertexSourceToApply)
 {
     vertexSourceToApply.VertexSource = this;
     rewind(0);
     if (DrawFromHintedCache)
     {
         // TODO: make this work
         graphics2D.Render(vertexSourceToApply, color);
     }
     else
     {
         graphics2D.Render(vertexSourceToApply, color);
     }
 }
示例#2
0
		public void Render(Graphics2D graphics2D, RGBA_Bytes color, IVertexSourceProxy vertexSourceToApply)
		{
			vertexSourceToApply.VertexSource = this;
			rewind(0);
			if (DrawFromHintedCache)
			{
				// TODO: make this work
				graphics2D.Render(vertexSourceToApply, color);
			}
			else
			{
				graphics2D.Render(vertexSourceToApply, color);
			}
		}