Add a 2d drawer to canvas textures
This commit is contained in:
parent
cd20d707d4
commit
4f0b02b396
11 changed files with 354 additions and 2 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue