fixing engine issue

This commit is contained in:
2025-05-03 22:13:13 +02:00
parent a547143d7c
commit 2336835250
8 changed files with 16 additions and 35413 deletions

View File

@@ -52,7 +52,6 @@ namespace Scop
bool BindPipeline(VkCommandBuffer) noexcept override { return false; };
private:
std::string m_name;
std::vector<NonOwningPtr<Texture>> m_attachments;
std::vector<VkFramebuffer> m_framebuffers;
std::vector<VkClearValue> m_clears;

View File

@@ -48,7 +48,7 @@ namespace Scop
class Shader
{
public:
Shader(const std::vector<std::uint32_t>& bytecode, ShaderType type, ShaderLayout layout);
Shader(const std::vector<std::uint32_t>& bytecode, ShaderType type, ShaderLayout layout, std::string shader_name = {});
[[nodiscard]] inline const ShaderLayout& GetShaderLayout() const { return m_layout; }
[[nodiscard]] inline const std::vector<std::uint32_t>& GetByteCode() const noexcept { return m_bytecode; }
@@ -64,6 +64,7 @@ namespace Scop
void GeneratePipelineLayout(ShaderLayout layout);
private:
std::string m_name;
ShaderLayout m_layout;
ShaderPipelineLayoutPart m_pipeline_layout_part;
std::vector<std::uint32_t> m_bytecode;