2024-03-18 15:41:46 -03:00
|
|
|
#ifndef XNA_GRAPHICS_TEXTURE_HPP
|
|
|
|
#define XNA_GRAPHICS_TEXTURE_HPP
|
|
|
|
|
2024-05-04 21:07:39 -03:00
|
|
|
#include "../default.hpp"
|
2024-03-18 15:41:46 -03:00
|
|
|
|
|
|
|
namespace xna {
|
|
|
|
class Texture {
|
|
|
|
};
|
|
|
|
|
2024-04-07 14:06:12 -03:00
|
|
|
class ITexture2D : public Texture {
|
2024-03-18 15:41:46 -03:00
|
|
|
public:
|
2024-03-21 16:01:47 -03:00
|
|
|
virtual ~ITexture2D(){}
|
2024-04-07 14:06:12 -03:00
|
|
|
virtual Int Width() const = 0;
|
|
|
|
virtual Int Height() const = 0;
|
2024-05-04 21:07:39 -03:00
|
|
|
virtual Rectangle Bounds() const = 0;
|
|
|
|
virtual bool Initialize(xna_error_nullarg) = 0;
|
2024-03-18 15:41:46 -03:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|