RunicVTT
Open Source Virtual Tabletop for TTRPG using P2P
Loading...
Searching...
No Matches
VertexArray.h
Go to the documentation of this file.
1
#pragma once
2
#include "
VertexBuffer.h
"
3
4
class
VertexBufferLayout
;
5
6
class
VertexArray
7
{
8
private
:
9
unsigned
int
m_RendererID
;
10
11
public
:
12
VertexArray
();
13
~VertexArray
();
14
15
void
AddBuffer
(
const
VertexBuffer
& vb,
const
VertexBufferLayout
& layout);
16
17
void
Bind
()
const
;
18
void
Unbind
()
const
;
19
};
VertexBuffer.h
VertexArray
Definition
VertexArray.h:7
VertexArray::Unbind
void Unbind() const
Definition
VertexArray.cpp:36
VertexArray::~VertexArray
~VertexArray()
Definition
VertexArray.cpp:11
VertexArray::m_RendererID
unsigned int m_RendererID
Definition
VertexArray.h:9
VertexArray::AddBuffer
void AddBuffer(const VertexBuffer &vb, const VertexBufferLayout &layout)
Definition
VertexArray.cpp:16
VertexArray::VertexArray
VertexArray()
Definition
VertexArray.cpp:6
VertexArray::Bind
void Bind() const
Definition
VertexArray.cpp:31
VertexBufferLayout
Definition
VertexBufferLayout.h:31
VertexBuffer
Definition
VertexBuffer.h:4
include
renderer
VertexArray.h
Generated by
1.10.0