RenderTarget.draw

Draw a drawable object to the render target.

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

Parameters

drawable
Type: Drawable

Object to draw

states

Render states to use for drawing

Meta