MCPcopy Create free account
hub / github.com/ZDoom/Raze / ImageTransitionScene

Method ImageTransitionScene

source/common/rendering/vulkan/renderer/vk_postprocess.cpp:137–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137void VkPostprocess::ImageTransitionScene(bool undefinedSrcLayout)
138{
139 auto buffers = fb->GetBuffers();
140
141 VkImageTransition()
142 .AddImage(&buffers->SceneColor, VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL, undefinedSrcLayout)
143 .AddImage(&buffers->SceneFog, VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL, undefinedSrcLayout)
144 .AddImage(&buffers->SceneNormal, VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL, undefinedSrcLayout)
145 .AddImage(&buffers->SceneDepthStencil, VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL, undefinedSrcLayout)
146 .Execute(fb->GetCommands()->GetDrawCommands());
147}
148
149void VkPostprocess::BlitCurrentToImage(VkTextureImage *dstimage, VkImageLayout finallayout)
150{

Callers

nothing calls this directly

Calls 6

VkImageTransitionClass · 0.85
GetBuffersMethod · 0.80
AddImageMethod · 0.80
GetDrawCommandsMethod · 0.80
GetCommandsMethod · 0.80
ExecuteMethod · 0.45

Tested by

no test coverage detected