-
class
SGFXAPI::
VertexDeclaration
¶ Holds a list of VertexElement descriptions; the list describes the contents of each vertex in a single VertexBuffer.
Public Functions
-
void
Add
(VertexElement elem)¶ Adds a new data element to the end of the element list.
-
int
Stride
() const¶ The size of a single vertex in the stream in bytes, including any padding.
-
const std::vector<VertexElement> &
Elements
() const¶ Get at the elements.
-
void