mirror of https://github.com/AxioDL/metaforce.git
27 lines
389 B
C++
27 lines
389 B
C++
#ifndef __RETRO_CTEXTURE_HPP__
|
|
#define __RETRO_CTEXTURE_HPP__
|
|
|
|
#include "GCNTypes.hpp"
|
|
|
|
namespace Retro
|
|
{
|
|
|
|
class CTexture
|
|
{
|
|
u16 x4_w;
|
|
u16 x6_h;
|
|
public:
|
|
enum class EClampMode
|
|
{
|
|
None,
|
|
One
|
|
};
|
|
u16 GetWidth() const {return x4_w;}
|
|
u16 GetHeight() const {return x6_h;}
|
|
void Load(int slot, EClampMode clamp);
|
|
};
|
|
|
|
}
|
|
|
|
#endif // __RETRO_CTEXTURE_HPP__
|