20#include "../variant/typedarray.h"
21#include "../object/object.h"
The Vertices class represents a vertex buffer, which is a block of memory on the GPU that stores vert...
Definition vertices.h:29
unsigned int divisor
This member stores an integer value used for instanced rendering. In instanced rendering,...
Definition vertices.h:34
int offset
This memeber stores an integer value representing an offset(in bytes) from the beginning of the buffe...
Definition vertices.h:32
unsigned int stride
This member stores an integer value representing the gap(in bytes) between consecutive vertices in th...
Definition vertices.h:33
std::shared_ptr< ArrayBuffer > buffer
This member holds a shared pointer to a ArrayBuffer class. It represents an array of 32-bit floating ...
Definition vertices.h:31
Vertices(std::shared_ptr< ArrayBuffer > buffer, int offset=0, unsigned int stride=0, unsigned int divisor=0)