MCPcopy Create free account
hub / github.com/PacktPublishing/3D-Graphics-Rendering-Cookbook / RenderPass

Method RenderPass

shared/UtilsVulkan.cpp:2782–2789  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2780}
2781
2782RenderPass::RenderPass(VulkanRenderDevice& vkDev, bool useDepth, const RenderPassCreateInfo& ci):
2783 info(ci)
2784{
2785 if (!createColorAndDepthRenderPass(vkDev, useDepth, &handle, ci)) {
2786 printf("Failed to create render pass\n");
2787 exit(EXIT_FAILURE);
2788 }
2789}
2790
2791bool setVkObjectName(VulkanRenderDevice& vkDev, void* object, VkObjectType objType, const char* name)
2792{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected