2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-15 05:11:22 +00:00
metaforce/Runtime/CTexture.hpp
2016-02-14 18:00:26 -10:00

30 lines
524 B
C++

#ifndef __PSHAG_CTEXTURE_HPP__
#define __PSHAG_CTEXTURE_HPP__
#include "GCNTypes.hpp"
#include "boo/graphicsdev/IGraphicsDataFactory.hpp"
namespace pshag
{
class CTexture
{
u16 x4_w;
u16 x6_h;
boo::ITexture* m_booTex;
public:
enum class EClampMode
{
None,
One
};
u16 GetWidth() const {return x4_w;}
u16 GetHeight() const {return x6_h;}
void Load(int slot, EClampMode clamp);
boo::ITexture* GetBooTexture() {return m_booTex;}
};
}
#endif // __PSHAG_CTEXTURE_HPP__