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
+13 -29
View File
@@ -1,39 +1,23 @@
#pragma once
#include "Graphics/RenderTarget.h"
#include "Graphics.h"
#include "Graphics/RenderTarget.h"
namespace Seele
{
namespace Vulkan
{
class RenderPass : public Gfx::RenderPass
{
public:
namespace Seele {
namespace Vulkan {
class RenderPass : public Gfx::RenderPass {
public:
RenderPass(PGraphics graphics, Gfx::RenderTargetLayout layout, Array<Gfx::SubPassDependency> dependencies, Gfx::PViewport viewport);
virtual ~RenderPass();
uint32 getFramebufferHash();
void endRenderPass();
constexpr VkRenderPass getHandle() const
{
return renderPass;
}
constexpr size_t getClearValueCount() const
{
return clearValues.size();
}
constexpr VkClearValue *getClearValues() const
{
return clearValues.data();
}
constexpr VkRect2D getRenderArea() const
{
return renderArea;
}
constexpr VkSubpassContents getSubpassContents() const
{
return subpassContents;
}
private:
constexpr VkRenderPass getHandle() const { return renderPass; }
constexpr size_t getClearValueCount() const { return clearValues.size(); }
constexpr VkClearValue* getClearValues() const { return clearValues.data(); }
constexpr VkRect2D getRenderArea() const { return renderArea; }
constexpr VkSubpassContents getSubpassContents() const { return subpassContents; }
private:
PGraphics graphics;
VkRenderPass renderPass;
Array<VkClearValue> clearValues;