prime/include/Kyoto/Graphics/CTexture.hpp

35 lines
495 B
C++
Raw Normal View History

2022-07-02 05:34:01 +00:00
#ifndef _CTEXTURE_HPP
#define _CTEXTURE_HPP
#include "types.h"
2022-08-30 22:48:44 +00:00
#include <dolphin/gx/GXEnum.h>
class CInputStream;
class CTexture {
public:
enum EClampMode {
Clamp,
Repeat,
Mirror,
};
enum EAutoMipmap {
kAM_Zero,
};
enum EBlackKey {
kBK_Zero,
};
CTexture(CInputStream& stream, EAutoMipmap mip, EBlackKey bk);
void Load(GXTexMapID texMapId, EClampMode clampMode) const;
2022-08-30 22:48:44 +00:00
static void InvalidateTexmap(GXTexMapID id);
private:
u8 pad[0x68];
};
2022-09-18 06:05:46 +00:00
#endif