FFL
Loading...
Searching...
No Matches
FFLiContextState.h
Go to the documentation of this file.
1#ifndef FFLI_CONTEXT_STATE_H_
2#define FFLI_CONTEXT_STATE_H_
3
4#include <nn/ffl/types.h>
5
6#include <cafe/gx2.h>
7
9
11{
12public:
14 ~FFLiContextState(); // Deleted in NSMBU
15
16 static u32 GetBufferSize();
17
18 void Initialize(FFLiBufferAllocator* pAllocator);
19 void Setup();
20 void Bind(bool setup = true);
21
22private:
25
26};
28
29#endif // FFLI_CONTEXT_STATE_H_
NN_STATIC_ASSERT(sizeof(FFLiAllocator)==4)
Definition FFLiBufferAllocator.h:16
Definition FFLiContextState.h:11
static u32 GetBufferSize()
Definition FFLiContextState.cpp:16
GX2ContextState * m_pGX2ContextState
Definition FFLiContextState.h:24
FFLiContextState()
Definition FFLiContextState.cpp:6
void Bind(bool setup=true)
Definition FFLiContextState.cpp:32
~FFLiContextState()
Definition FFLiContextState.cpp:12
void Setup()
Definition FFLiContextState.cpp:26
void Initialize(FFLiBufferAllocator *pAllocator)
Definition FFLiContextState.cpp:21
bool m_IsSetup
Definition FFLiContextState.h:23