Add buffer support

This commit is contained in:
Jérôme Leclercq
2018-03-09 16:49:01 +01:00
parent 9b8e8042e4
commit cd31e6c397
27 changed files with 452 additions and 295 deletions

View File

@@ -7,9 +7,14 @@
namespace Nz
{
inline const Vk::DeviceHandle& VkRenderWindow::GetDevice() const
inline VulkanDevice& VkRenderWindow::GetDevice()
{
return m_device;
return *m_device;
}
inline const VulkanDevice& VkRenderWindow::GetDevice() const
{
return *m_device;
}
inline const Vk::Framebuffer& VkRenderWindow::GetFrameBuffer(UInt32 imageIndex) const