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

Function DestroyProgram

engine/graphics/src/vulkan/graphics_vulkan.cpp:3575–3584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3573 }
3574
3575 static void DestroyProgram(HContext _context, VulkanProgram* program)
3576 {
3577 VulkanContext* context = (VulkanContext*) _context;
3578 if (program->m_UniformData)
3579 {
3580 delete[] program->m_UniformData;
3581 }
3582
3583 DestroyResourceDeferred(context, program);
3584 }
3585
3586 static void DestroyShader(VulkanContext* context, ShaderModule* shader)
3587 {

Callers 3

VulkanDeleteProgramFunction · 0.70
VulkanReloadProgramFunction · 0.70

Calls 1

DestroyResourceDeferredFunction · 0.70

Tested by

no test coverage detected