now displaying viewport texture

This commit is contained in:
antopilo
2024-12-07 00:59:58 -05:00
parent b2d749244f
commit 39a0273595
20 changed files with 555 additions and 386 deletions
+3
View File
@@ -8,6 +8,7 @@
#include "src/Resource/FontAwesome5.h"
#include "src/Rendering/Textures/Texture.h"
#include <src/Rendering/Vulkan/VulkanImage/VulkanImage.h>
namespace Nuake
{
@@ -70,6 +71,8 @@ namespace Nuake
void DrawButtonImage(const Ref<Texture>& image, ImU32 tintNormal, ImU32 tintHovered, ImU32 tintPressed);
void DrawImage(const Ref<VulkanImage> inImage);
ImRect RectExpanded(const ImRect& rect, float x, float y);
ImRect RectOffset(const ImRect& rect, float x, float y);