FFL
Loading...
Searching...
No Matches
FFLiCompressDrawer.h
Go to the documentation of this file.
1#ifndef FFLI_COMPRESS_DRAWER_H_
2#define FFLI_COMPRESS_DRAWER_H_
3
4#include <nn/ffl/FFLVec.h>
5
7
9{
10public:
12 ~FFLiCompressDrawer(); // Deleted in NSMBU
13
14 void SetupCPU(FFLiBufferAllocator* pAllocator);
15 void SetupGPU();
16
17 void SetAttributeBuffer(u32 positionBufferIndex, u32 texCoordBufferIndex);
18 void Draw();
19
20 static u32 GetBufferSize();
21
22private:
25};
27
28#endif // FFLI_COMPRESS_DRAWER_H_
NN_STATIC_ASSERT(sizeof(FFLiAllocator)==4)
Definition FFLiBufferAllocator.h:16
Definition FFLiCompressDrawer.h:9
void SetupGPU()
Definition FFLiCompressDrawer.cpp:42
void Draw()
Definition FFLiCompressDrawer.cpp:60
void SetAttributeBuffer(u32 positionBufferIndex, u32 texCoordBufferIndex)
Definition FFLiCompressDrawer.cpp:51
void SetupCPU(FFLiBufferAllocator *pAllocator)
Definition FFLiCompressDrawer.cpp:14
FFLVec2 * m_pTexCoordBuffer
Definition FFLiCompressDrawer.h:24
static u32 GetBufferSize()
Definition FFLiCompressDrawer.cpp:65
FFLVec3 * m_pPositionBuffer
Definition FFLiCompressDrawer.h:23
FFLiCompressDrawer()
Definition FFLiCompressDrawer.cpp:8