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

Function DestroyShader

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

Source from the content-addressed store, hash-verified

3584 }
3585
3586 static void DestroyShader(VulkanContext* context, ShaderModule* shader)
3587 {
3588 if (!shader)
3589 {
3590 return;
3591 }
3592
3593 DestroyShaderModule(context->m_LogicalDevice.m_Device, shader);
3594 }
3595
3596 static void VulkanDeleteProgram(HContext _context, HProgram program)
3597 {

Callers 3

VulkanDeleteProgramFunction · 0.85
ReloadShaderFunction · 0.85
NewShaderModuleFunction · 0.85

Calls 1

DestroyShaderModuleFunction · 0.85

Tested by

no test coverage detected