Exemplo n.º 1
0
 /// <summary>
 /// Draws a quad. The effect must have been applied before calling this method with pixel shader having the signature float2:TEXCOORD.
 /// </summary>
 public void Draw()
 {
     GraphicsDevice.SetVertexArrayObject(sharedData.VertexBuffer);
     GraphicsDevice.Draw(PrimitiveType.TriangleList, QuadCount);
     GraphicsDevice.SetVertexArrayObject(null);
 }