Renderer: Add RenderPipeline::GetPipelineInfo

This commit is contained in:
Jérôme Leclercq
2020-10-30 23:07:21 +01:00
parent b62130dab9
commit 40f3072ff9
4 changed files with 10 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ namespace Nz
};
std::shared_ptr<RenderPipelineLayout> pipelineLayout;
std::vector<std::shared_ptr<ShaderStageImpl>> shaderStages;
std::vector<std::shared_ptr<ShaderStage>> shaderStages;
std::vector<VertexBufferData> vertexBuffers;
};
@@ -31,6 +31,8 @@ namespace Nz
public:
RenderPipeline() = default;
virtual ~RenderPipeline();
virtual const RenderPipelineInfo& GetPipelineInfo() const = 0;
};
}