FFL
Loading...
Searching...
No Matches
FFLiResourceUncompressBuffer.h
Go to the documentation of this file.
1#ifndef FFLI_RESOURCE_UNCOMPRESS_BUFFER_H_
2#define FFLI_RESOURCE_UNCOMPRESS_BUFFER_H_
3
4#include <nn/ffl/FFLResourceType.h>
5
8
10{
11public:
12 FFLiResourceUncompressBuffer(const FFLiResourceManager* pResourceManager, FFLiBufferAllocator* pAllocator, FFLResourceType resourceType);
14
15 void* Buffer();
16
17 void* TempBuffer();
18 u32 TempBufferSize() const;
19
20 static u32 GetBufferSize(const FFLiResourceManager* pResourceManager, FFLResourceType resourceType);
21
22private:
23 void* m_pBuffer;
25};
27
28#endif // FFLI_RESOURCE_UNCOMPRESS_BUFFER_H_
NN_STATIC_ASSERT(sizeof(FFLiAllocator)==4)
Definition FFLiBufferAllocator.h:16
Definition FFLiResourceManager.h:18
Definition FFLiResourceUncompressBuffer.h:10
FFLiResourceUncompressBuffer(const FFLiResourceManager *pResourceManager, FFLiBufferAllocator *pAllocator, FFLResourceType resourceType)
Definition FFLiResourceUncompressBuffer.cpp:13
~FFLiResourceUncompressBuffer()
Definition FFLiResourceUncompressBuffer.cpp:19
void * TempBuffer()
Definition FFLiResourceUncompressBuffer.cpp:28
static u32 GetBufferSize(const FFLiResourceManager *pResourceManager, FFLResourceType resourceType)
Definition FFLiResourceUncompressBuffer.cpp:38
void * Buffer()
Definition FFLiResourceUncompressBuffer.cpp:23
void * m_pTempBuffer
Definition FFLiResourceUncompressBuffer.h:24
void * m_pBuffer
Definition FFLiResourceUncompressBuffer.h:23
u32 TempBufferSize() const
Definition FFLiResourceUncompressBuffer.cpp:33