Batch

Undocumented in source.

Constructors

this
this(GlContext context, uint type, Layout[] layout, float[] data)
Undocumented in source.

Members

Aliases

Color
alias Color = float[4]
Undocumented in source.
Tex
alias Tex = float[2]
Undocumented in source.
Vec
alias Vec = float[3]
Undocumented in source.

Classes

Array
class Array
Undocumented in source.

Functions

add
void add(Vec pos)
Undocumented in source. Be warned that the author may not have intended to support it.
add
void add(uint target, float[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
addPoint
void addPoint(Vec pos, Color col)
Undocumented in source. Be warned that the author may not have intended to support it.
addPoint
void addPoint(Vec pos, Vec normal)
Undocumented in source. Be warned that the author may not have intended to support it.
addPoint
void addPoint(Vec pos, Vec normal, Color col)
Undocumented in source. Be warned that the author may not have intended to support it.
addPoint
void addPoint(Vec pos, Tex t)
Undocumented in source. Be warned that the author may not have intended to support it.
addPoint
void addPoint(Vec pos, Vec normal, Tex t)
Undocumented in source. Be warned that the author may not have intended to support it.
begin
void begin(int verts, uint type)
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw()
Undocumented in source. Be warned that the author may not have intended to support it.
finish
void finish()
Undocumented in source. Be warned that the author may not have intended to support it.
updateVertices
void updateVertices(float[] data, size_t pos, size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

color4
enum color4;
Undocumented in source.
normal3
enum normal3;
Undocumented in source.
tex2
enum tex2;
Undocumented in source.
vert3
enum vert3;
Undocumented in source.

Variables

arrays
Array[uint] arrays;
Undocumented in source.
context
GlContext context;
Undocumented in source.
currentVert
int currentVert;
Undocumented in source.
done
bool done;
Undocumented in source.
type
uint type;
Undocumented in source.
vao
uint vao;
Undocumented in source.
vertexCount
int vertexCount;
Undocumented in source.

Meta