|
|
| Vao (const Vao &)=delete |
| |
|
const AVector< Buffer > & | getBuffers () const noexcept |
| |
|
void | bind () const noexcept |
| |
| template<typename T> |
| void | insert (GLuint index, AArrayView< T > data, const char *key) |
| | Creates VBO or modifies existing one.
|
| |
| template<typename T> |
| void | insertIfKeyMismatches (GLuint index, AArrayView< T > data, const char *key) |
| | Creates VBO or modifies existing one, if the key pointer mismatches.
|
| |
| void | indices (AArrayView< uint32_t > data) |
| | Uploads VBO indices.
|
| |
| void | indices (AArrayView< uint16_t > data) |
| | Uploads VBO indices.
|
| |
|
void | drawArrays (GLenum type, GLsizei count) |
| |
| void | drawElements (GLenum type=GL_TRIANGLES) |
| | Draws buffer. Don't forget to upload indices with indices function/.
|
| |