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

Method ~ShaderData

Engine/source/EtRendering/GraphicsTypes/Shader.cpp:39–44  ·  view source on GitHub ↗

--------------------------------- ShaderData::~ShaderData Shader data destructor

Source from the content-addressed store, hash-verified

37// Shader data destructor
38//
39ShaderData::~ShaderData()
40{
41 Viewport::GetCurrentApiContext()->DeleteProgram(m_ShaderProgram);
42
43 render::parameters::DestroyBlock(m_CurrentUniforms);
44}
45
46
47// functionality

Callers

nothing calls this directly

Calls 2

DestroyBlockFunction · 0.85
DeleteProgramMethod · 0.80

Tested by

no test coverage detected