tida.vertgen

The module for generating vertices for drawing open graphics by the library.

By means of 's, you can generate its vertices for a convenient representation and transfer such vertices to the shader to draw the corresponding shapes.

Members

Classes

BufferInfo
class BufferInfo(T)

Figure description structure for binding and drawing.

ElementInfo
class ElementInfo(T)

Vertex element data.

VertexInfo
class VertexInfo(T)

A storage object for the identifiers of the buffers stored in memory.

Functions

generateBuffer
Vector!T[] generateBuffer(Shape!T shape)

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

Templates

glType
template glType(T)

a template for translating a type into a type identifier that is understandable for the OpenGL interface.

Meta