More Refactoring

This commit is contained in:
Dynamitos
2023-11-15 17:42:57 +01:00
parent f8f48352a3
commit 35966cb5b7
60 changed files with 1217 additions and 2332 deletions
+4 -4
View File
@@ -10,8 +10,8 @@ namespace Vulkan
DECLARE_REF(RenderPass)
struct FramebufferDescription
{
VkImageView inputAttachments[16];
VkImageView colorAttachments[16];
StaticArray<VkImageView, 16> inputAttachments;
StaticArray<VkImageView, 16> colorAttachments;
VkImageView depthAttachment;
uint32 numInputAttachments;
uint32 numColorAttachments;
@@ -21,11 +21,11 @@ class Framebuffer
public:
Framebuffer(PGraphics graphics, PRenderPass renderpass, Gfx::PRenderTargetLayout renderTargetLayout);
virtual ~Framebuffer();
inline VkFramebuffer getHandle() const
constexpr VkFramebuffer getHandle() const
{
return handle;
}
inline uint32 getHash() const
constexpr uint32 getHash() const
{
return hash;
}