mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-25 11:46:27 +00:00
VideoBackends: add support to allow rendering to multiple output textures
This commit is contained in:
parent
252d3f353a
commit
834f8f7b5c
43 changed files with 713 additions and 327 deletions
|
@ -54,11 +54,13 @@ class NullFramebuffer final : public AbstractFramebuffer
|
|||
{
|
||||
public:
|
||||
explicit NullFramebuffer(AbstractTexture* color_attachment, AbstractTexture* depth_attachment,
|
||||
std::vector<AbstractTexture*> additional_color_attachments,
|
||||
AbstractTextureFormat color_format, AbstractTextureFormat depth_format,
|
||||
u32 width, u32 height, u32 layers, u32 samples);
|
||||
|
||||
static std::unique_ptr<NullFramebuffer> Create(NullTexture* color_attachment,
|
||||
NullTexture* depth_attachment);
|
||||
static std::unique_ptr<NullFramebuffer>
|
||||
Create(NullTexture* color_attachment, NullTexture* depth_attachment,
|
||||
std::vector<AbstractTexture*> additional_color_attachments);
|
||||
};
|
||||
|
||||
} // namespace Null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue