public void Render(GraphicsDevice device) { device.DrawUserIndexedPrimitives<VertexPositionTexture>(PrimitiveType.TriangleList, vertices, 0, 4, indexes, 0, 2); }
private void Clear() { ClearShader.CurrentTechnique.Passes[0].Apply(); quad.Render(Device); }