MCPcopy Create free account
hub / github.com/Illation/ETEngine / ~DebugRenderer

Method ~DebugRenderer

Engine/source/EtRendering/Extensions/DebugRenderer.cpp:14–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12
13
14DebugRenderer::~DebugRenderer()
15{
16 I_GraphicsApiContext* const api = Viewport::GetCurrentApiContext();
17
18 api->DeleteVertexArray(m_VAO);
19 api->DeleteBuffer(m_VBO);
20 m_Lines.clear();
21 m_MetaData.clear();
22}
23
24void DebugRenderer::Initialize()
25{

Callers

nothing calls this directly

Calls 2

DeleteVertexArrayMethod · 0.80
DeleteBufferMethod · 0.80

Tested by

no test coverage detected