generateVertexColor

Generates the vertices of shapes to be rendered using hardware acceleration.

  1. Vector!T[] generateBuffer(Shape!T shape, Vector!T textureSize)
  2. VertexInfo!T generateVertex(Shape!T shape, Vector!T textSize)
  3. VertexInfo!T generateVertexColor(Shape!T shape, Color!ubyte[] colors)
    @trusted
    generateVertexColor
    (
    T
    )
    (,
    Color!ubyte[] colors
    )

Parameters

T

Type.

shape Shape!T

Shape information.

Meta