![]() |
Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
A VertexArray that is specialised to handle 16-bit array indices. More...
#include <VertexArray.h>


Public Member Functions | |
| VertexIndexArray (const uint32_t usage) | |
| VertexArrayIterator< u16 > | GetIterator () const |
| Gets the iterator over the (only) attribute in this array, i.e. a u16. More... | |
Public Member Functions inherited from VertexArray | |
| VertexArray (const Renderer::Backend::IBuffer::Type type, const uint32_t usage) | |
| ~VertexArray () | |
| void | SetNumberOfVertices (const size_t numberOfVertices) |
| void | AddAttribute (Attribute *attr) |
| size_t | GetNumberOfVertices () const |
| uint32_t | GetStride () const |
| void | Layout () |
| void | Upload () |
| void | PrepareForRendering () |
| void | UploadIfNeeded (Renderer::Backend::IDeviceCommandContext *deviceCommandContext) |
| void | FreeBackingStore () |
| Renderer::Backend::IBuffer * | GetBuffer () |
| uint32_t | GetOffset () const |
Private Attributes | |
| Attribute | m_Attr |
A VertexArray that is specialised to handle 16-bit array indices.
Call UploadIfNeeded() before use in Draw/DrawIndexed.
| VertexIndexArray::VertexIndexArray | ( | const uint32_t | usage | ) |
| VertexArrayIterator< u16 > VertexIndexArray::GetIterator | ( | ) | const |
Gets the iterator over the (only) attribute in this array, i.e. a u16.
|
private |