RenderTarget.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)
    interface RenderTarget
  3. View view [@property setter]
  4. View view [@property getter]

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