RenderTexture.draw

Draw primitives defined by an array of vertices.

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

Parameters

vertices
Type: const(Vertex)[]

Array of vertices to draw

type

Type of primitives to draw

states

Render states to use for drawing

Meta