mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-25 04:35:17 +00:00
48 lines
No EOL
1.4 KiB
C++
48 lines
No EOL
1.4 KiB
C++
/**
|
|
* @file RenderBuffer.h
|
|
* @brief Defines classes that implement a render buffer.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "RenderTargetColor.h"
|
|
#include "RenderTargetDepth.h"
|
|
|
|
#include "sead/gfx/seadFrameBuffer.h"
|
|
|
|
namespace agl
|
|
{
|
|
class RenderBuffer : public sead::FrameBuffer
|
|
{
|
|
public:
|
|
RenderBuffer();
|
|
RenderBuffer(sead::Vector2<f32> const &, sead::BoundBox2<f32> const &);
|
|
RenderBuffer(sead::Vector2<f32> const &, f32, f32, f32, f32);
|
|
virtual ~RenderBuffer();
|
|
|
|
virtual void copyToDisplayBuffer(sead::DrawContext *, sead::DisplayBuffer const *);
|
|
virtual void clear(sead::DrawContext *, u32, sead::Color4f const &, f32, u32);
|
|
virtual void bindImpl_(sead::DrawContext *) const;
|
|
|
|
void initialize_();
|
|
void setRenderTargetColorNullAll();
|
|
void adjustPhysicalAreaAndVirtualSizeFromColorTarget(u32);
|
|
void invalidateGPUCache(agl::DrawContext *) const;
|
|
void bind_(agl::DrawContext *, u16) const;
|
|
|
|
u32 _8;
|
|
u32 C;
|
|
u64 _10;
|
|
u32 _18;
|
|
u32 _1C;
|
|
agl::RenderTargetColor* _20;
|
|
agl::RenderTargetColor* _28;
|
|
agl::RenderTargetColor* _30;
|
|
agl::RenderTargetColor* _38;
|
|
agl::RenderTargetColor* _40;
|
|
agl::RenderTargetColor* _48;
|
|
agl::RenderTargetColor* _50;
|
|
agl::RenderTargetColor* _58;
|
|
agl::RenderTargetDepth* _60;
|
|
};
|
|
}; |