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

Function DestroyShaderModule

engine/graphics/src/vulkan/graphics_vulkan_device.cpp:1570–1579  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1568 }
1569
1570 void DestroyShaderModule(VkDevice vk_device, ShaderModule* shaderModule)
1571 {
1572 assert(shaderModule);
1573
1574 if (shaderModule->m_Module != VK_NULL_HANDLE)
1575 {
1576 vkDestroyShaderModule(vk_device, shaderModule->m_Module, 0);
1577 shaderModule->m_Module = VK_NULL_HANDLE;
1578 }
1579 }
1580
1581 void DestroyLogicalDevice(LogicalDevice* device)
1582 {

Callers 1

DestroyShaderFunction · 0.85

Calls 1

assertFunction · 0.50

Tested by

no test coverage detected