2016-02-13 09:02:47 +00:00
|
|
|
#ifndef __PSHAG_CTEXTURE_HPP__
|
|
|
|
#define __PSHAG_CTEXTURE_HPP__
|
2016-02-06 00:34:40 +00:00
|
|
|
|
|
|
|
#include "GCNTypes.hpp"
|
|
|
|
|
2016-02-13 09:02:47 +00:00
|
|
|
namespace pshag
|
2016-02-06 00:34:40 +00:00
|
|
|
{
|
|
|
|
|
|
|
|
class CTexture
|
|
|
|
{
|
|
|
|
u16 x4_w;
|
|
|
|
u16 x6_h;
|
|
|
|
public:
|
2016-02-13 00:57:09 +00:00
|
|
|
enum class EClampMode
|
|
|
|
{
|
|
|
|
None,
|
|
|
|
One
|
|
|
|
};
|
2016-02-06 00:34:40 +00:00
|
|
|
u16 GetWidth() const {return x4_w;}
|
|
|
|
u16 GetHeight() const {return x6_h;}
|
2016-02-13 00:57:09 +00:00
|
|
|
void Load(int slot, EClampMode clamp);
|
2016-02-06 00:34:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2016-02-13 09:02:47 +00:00
|
|
|
#endif // __PSHAG_CTEXTURE_HPP__
|