RenderWindow.draw

Draw primitives defined by an array of vertices.

  1. void draw(Drawable drawable, RenderStates states)
  2. void draw(const(Vertex)[] vertices, PrimitiveType type, RenderStates states)
    class RenderWindow

Parameters

vertices const(Vertex)[]

Array of vertices to draw

type PrimitiveType

Type of primitives to draw

states RenderStates

Render states to use for drawing

Meta