18 #ifndef __H__OCULAR_GRAPHICS_INDEX_BUFFER__H__
19 #define __H__OCULAR_GRAPHICS_INDEX_BUFFER__H__
118 virtual void addIndex(uint32_t index);
126 virtual void addIndices(std::vector<uint32_t>
const& indices);
135 virtual void addIndices(std::vector<uint32_t>
const& indices, uint32_t count);
144 virtual void addIndices(uint32_t
const* indices, uint32_t count);
155 std::vector<uint32_t>
const&
getIndices()
const;
164 std::vector<uint32_t> m_Indices;
virtual void addIndex(uint32_t index)
Definition: IndexBuffer.cpp:59
virtual void addIndices(std::vector< uint32_t > const &indices)
Definition: IndexBuffer.cpp:64
virtual void bind()
Definition: IndexBuffer.cpp:49
uint32_t getIndex(uint32_t index)
Definition: IndexBuffer.cpp:86
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
uint32_t getNumIndices() const
Definition: IndexBuffer.cpp:107
std::vector< uint32_t > const & getIndices() const
Definition: IndexBuffer.cpp:102
virtual void unbind()
Definition: IndexBuffer.cpp:54
Definition: IndexBuffer.hpp:77
virtual bool build()
Definition: IndexBuffer.cpp:44