Add a 2d drawer to canvas textures

This commit is contained in:
Magnus Norddahl 2022-07-23 18:18:54 +02:00 committed by Christoph Oelckers
commit 4f0b02b396
11 changed files with 354 additions and 2 deletions

View file

@ -215,6 +215,11 @@ void VulkanFrameBuffer::RenderTextureView(FCanvasTexture* tex, std::function<voi
renderFunc(bounds);
if (tex->Drawer)
{
::Draw2D(tex->Drawer.get(), *mRenderState);
}
mRenderState->EndRenderPass();
VkImageTransition()