VideoBackends: add support to allow rendering to multiple output textures

This commit is contained in:
iwubcode committed 2023-06-03 14:52:31 -05:00
1 parent 252d3f353a
commit 834f8f7b5c
43 files changed
+713 -327

No files matched your search

+2 -1
View File
@@ -28,7 +28,8 @@ public:
std::unique_ptr<AbstractStagingTexture>
CreateStagingTexture(StagingTextureType type, const TextureConfig& config) override;
std::unique_ptr<AbstractFramebuffer>
CreateFramebuffer(AbstractTexture* color_attachment, AbstractTexture* depth_attachment) override;
CreateFramebuffer(AbstractTexture* color_attachment, AbstractTexture* depth_attachment,
std::vector<AbstractTexture*> additional_color_attachments) override;
std::unique_ptr<AbstractShader> CreateShaderFromSource(ShaderStage stage, std::string_view source,
std::string_view name) override;