Class BufferFormat

Class Documentation

class BufferFormat

Stores vector of Vertex Buffer Elements to be used as the input for Vertex Shaders.

Public Functions

BufferFormat()
void push(VertexBufferElement::Type type, LPCSTR name, D3D11_INPUT_CLASSIFICATION elementClass, int slot, bool resetOffset, UINT rendersPerInstance)
const Vector<VertexBufferElement> &getElements() const