igraphic 0.2.0
Contrats graphiques chargeables : IGraphic2Module / IGraphic3Module
Loading...
Searching...
No Matches
ITexture.hpp
Go to the documentation of this file.
1
11#ifndef ITEXTURE_HPP_
12 #define ITEXTURE_HPP_
13 #include "Type.hpp"
14
15namespace graphic {
16
23 class ITexture {
24
25 public:
26
27 virtual ~ITexture() = default;
28
34 virtual bool isReady() const = 0;
35
41 virtual Vector2f getSize() const = 0;
42 };
43
44} // namespace graphic
45
48#endif /* !ITEXTURE_HPP_ */
Loaded pixel data, independent of any ISprite that references it. Deleting every ISprite built from a...
Definition ITexture.hpp:23
virtual ~ITexture()=default
virtual Vector2f getSize() const =0
Get the Size object.
virtual bool isReady() const =0
notice if the texture is ready
Definition IGamepad.hpp:14