Files
ogws/include/egg/core/eggXfbManager.h
2022-09-30 13:14:59 -04:00

33 lines
645 B
C++

#ifndef EGG_CORE_XFBMANAGER_H
#define EGG_CORE_XFBMANAGER_H
#include "types_egg.h"
#include "eggXfb.h"
namespace EGG
{
class XfbManager
{
public:
XfbManager(Heap *heap) {}
~XfbManager() {}
bool isReadytoCopy() const
{
return mListTail != mShowXfb
&& mListTail != mListHead;
}
bool attach(Xfb *);
void copyEFB(bool);
void setNextFrameBuffer();
void postVRetrace();
private:
Xfb *mListHead; // at 0x0
Xfb *mListTail; // at 0x4
Xfb *mCopiedXfb; // at 0x8
Xfb *mShowXfb; // at 0xC
};
}
#endif