Formatted EVERYTHING
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user