Formatted EVERYTHING

This commit is contained in:
Dynamitos
2024-06-09 12:20:53 +02:00
parent f18bf8acbe
commit d95dab850c
265 changed files with 8002 additions and 12310 deletions
+8 -18
View File
@@ -3,13 +3,10 @@
#include "Graphics.h"
#include "Graphics/RenderTarget.h"
namespace Seele
{
namespace Vulkan
{
namespace Seele {
namespace Vulkan {
DECLARE_REF(RenderPass)
struct FramebufferDescription
{
struct FramebufferDescription {
StaticArray<VkImageView, 16> inputAttachments;
StaticArray<VkImageView, 16> colorAttachments;
StaticArray<VkImageView, 16> resolveAttachments;
@@ -19,21 +16,14 @@ struct FramebufferDescription
uint32 numColorAttachments;
uint32 numResolveAttachments;
};
class Framebuffer
{
public:
class Framebuffer {
public:
Framebuffer(PGraphics graphics, PRenderPass renderpass, Gfx::RenderTargetLayout renderTargetLayout);
virtual ~Framebuffer();
constexpr VkFramebuffer getHandle() const
{
return handle;
}
constexpr uint32 getHash() const
{
return hash;
}
constexpr VkFramebuffer getHandle() const { return handle; }
constexpr uint32 getHash() const { return hash; }
private:
private:
uint32 hash;
PGraphics graphics;
VkFramebuffer handle;