mirror of https://github.com/AxioDL/metaforce.git
30 lines
524 B
C++
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__
|