FFL
Loading...
Searching...
No Matches
FFLiCompressor.h
Go to the documentation of this file.
1#ifndef FFLI_COMPRESSOR_H_
2#define FFLI_COMPRESSOR_H_
3
4#include <nn/ffl/detail/FFLiCompressorImpl.h>
5
7{
8public:
9 FFLiCompressor(FFLiBufferAllocator* pAllocator, const void* pShaderData);
10 ~FFLiCompressor(); // Deleted in NSMBU
11
12 static u32 GetBufferSize(const void* pShaderData);
13
15 {
16 return m_CompressorImplBC1;
17 }
18
20 {
21 return m_CompressorImplBC3;
22 }
23
24 bool SetupCPU(const void* pShaderData);
25 void SetupGPU();
26
27 bool UseUB() const;
28
29private:
32};
34
35#endif // FFLI_COMPRESSOR_H_
NN_STATIC_ASSERT(sizeof(FFLiAllocator)==4)
FFLiCompressorImpl< FFLiCompressorDescBC3 > FFLiCompressorImplBC3
Definition FFLiCompressorImpl.h:43
FFLiCompressorImpl< FFLiCompressorDescBC1 > FFLiCompressorImplBC1
Definition FFLiCompressorImpl.h:42
Definition FFLiBufferAllocator.h:16
Definition FFLiCompressor.h:7
bool UseUB() const
Definition FFLiCompressor.cpp:37
FFLiCompressorImplBC1 m_CompressorImplBC1
Definition FFLiCompressor.h:30
FFLiCompressorImplBC1 & GetCompressorImplBC1()
Definition FFLiCompressor.h:14
FFLiCompressorImplBC3 & GetCompressorImplBC3()
Definition FFLiCompressor.h:19
void SetupGPU()
Definition FFLiCompressor.cpp:31
static u32 GetBufferSize(const void *pShaderData)
Definition FFLiCompressor.cpp:9
FFLiCompressorImplBC3 m_CompressorImplBC3
Definition FFLiCompressor.h:31
FFLiCompressor(FFLiBufferAllocator *pAllocator, const void *pShaderData)
Definition FFLiCompressor.cpp:3
bool SetupCPU(const void *pShaderData)
Definition FFLiCompressor.cpp:20