metaforce/Runtime/CTexture.hpp

27 lines
389 B
C++
Raw Normal View History

2016-02-13 09:02:47 +00:00
#ifndef __PSHAG_CTEXTURE_HPP__
#define __PSHAG_CTEXTURE_HPP__
#include "GCNTypes.hpp"
2016-02-13 09:02:47 +00:00
namespace pshag
{
class CTexture
{
u16 x4_w;
u16 x6_h;
public:
2016-02-13 00:57:09 +00:00
enum class EClampMode
{
None,
One
};
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-13 09:02:47 +00:00
#endif // __PSHAG_CTEXTURE_HPP__