RunicVTT Open Source Virtual Tabletop for TTRPG using P2P
Loading...
Searching...
No Matches
IndexBuffer.h
Go to the documentation of this file.
1#pragma once
3{
4private:
5 unsigned int m_RendererID;
6 unsigned int m_Count;
7
8public:
9 IndexBuffer(const unsigned int* data, unsigned int count);
11
12 void Bind() const;
13 void Unbind() const;
14
15 inline unsigned int GetCount() const
16 {
17 return m_Count;
18 };
19};
unsigned int GetCount() const
Definition IndexBuffer.h:15
void Unbind() const
unsigned int m_Count
Definition IndexBuffer.h:6
unsigned int m_RendererID
Definition IndexBuffer.h:5
IndexBuffer(const unsigned int *data, unsigned int count)
void Bind() const