Renderer: Blit texture to window instead of using a full renderpass
This may improve performance and allow for render targets to customize how they blit the final texture (allowing for render-to-texture)
This commit is contained in:
@@ -21,6 +21,11 @@ namespace Nz
|
||||
return m_graphicsQueue;
|
||||
}
|
||||
|
||||
inline VkImage VulkanSwapchain::GetImage(std::size_t imageIndex) const
|
||||
{
|
||||
return m_swapchain.GetImage(imageIndex).image;
|
||||
}
|
||||
|
||||
inline const Vk::Swapchain& VulkanSwapchain::GetSwapchain() const
|
||||
{
|
||||
return m_swapchain;
|
||||
|
||||
Reference in New Issue
Block a user