private SetPixel ( int x, int y, |
||
x | int | |
y | int | |
color | ||
return | void |
public void SetPixel(int x, int y, ColorInstance color)
{
Vertex[] verts = new Vertex[1] { new Vertex(new Vector2f(x, y), color.GetColor()) };
_myBatch.AddVerts(verts, 1, PrimitiveType.Points);
_changed = true;
}