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

Function DeleteComputeProgram

engine/render/src/render/compute.cpp:137–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135 }
136
137 void DeleteComputeProgram(dmRender::HRenderContext render_context, HComputeProgram program)
138 {
139 for (uint32_t i = 0; i < program->m_Constants.Size(); ++i)
140 {
141 dmRender::DeleteConstant(program->m_Constants[i].m_Constant);
142 }
143 delete program;
144 }
145
146 HRenderContext GetProgramRenderContext(HComputeProgram program)
147 {

Callers 3

TearDownMethod · 0.85
TEST_FFunction · 0.85
ResComputeDestroyFunction · 0.85

Calls 2

DeleteConstantFunction · 0.85
SizeMethod · 0.45

Tested by 2

TearDownMethod · 0.68
TEST_FFunction · 0.68