mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 06:39:46 -06:00
VideoBackends: add support to allow rendering to multiple output textures
This commit is contained in:
@ -82,12 +82,14 @@ class OGLFramebuffer final : public AbstractFramebuffer
|
||||
{
|
||||
public:
|
||||
OGLFramebuffer(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, GLuint fbo);
|
||||
~OGLFramebuffer() override;
|
||||
|
||||
static std::unique_ptr<OGLFramebuffer> Create(OGLTexture* color_attachment,
|
||||
OGLTexture* depth_attachment);
|
||||
static std::unique_ptr<OGLFramebuffer>
|
||||
Create(OGLTexture* color_attachment, OGLTexture* depth_attachment,
|
||||
std::vector<AbstractTexture*> additional_color_attachments);
|
||||
|
||||
GLuint GetFBO() const { return m_fbo; }
|
||||
|
||||
|
Reference in New Issue
Block a user