MCPcopy Create free account
hub / github.com/defold/defold / DeleteProgram

Function DeleteProgram

engine/graphics/src/graphics.cpp:2169–2173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2167 return g_functions.m_NewProgram(context, ddf, error_buffer, error_buffer_size);
2168 }
2169 void DeleteProgram(HContext context, HProgram program)
2170 {
2171 DestroyProgram((Program*) program);
2172 g_functions.m_DeleteProgram(context, program);
2173 }
2174 ShaderDesc::Language GetProgramLanguage(HProgram program)
2175 {
2176 return g_functions.m_GetProgramLanguage(program);

Callers 8

TearDownMethod · 0.85
TEST_FFunction · 0.85
TearDownMethod · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85
FinalizeDebugRendererFunction · 0.85
ResShaderProgramDestroyFunction · 0.85
TEST_FFunction · 0.85

Calls 1

DestroyProgramFunction · 0.70

Tested by 6

TearDownMethod · 0.68
TEST_FFunction · 0.68
TearDownMethod · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68