igraphic 0.2.0
Contrats graphiques chargeables : IGraphic2Module / IGraphic3Module
Loading...
Searching...
No Matches
graphic::ITexture Interface Referenceabstract

Loaded pixel data, independent of any ISprite that references it. Deleting every ISprite built from a texture does not delete the texture - only deleteTexture() does. More...

#include <ITexture.hpp>

Public Member Functions

virtual ~ITexture ()=default
 
virtual bool isReady () const =0
 notice if the texture is ready
 
virtual Vector2f getSize () const =0
 Get the Size object.
 

Detailed Description

Loaded pixel data, independent of any ISprite that references it. Deleting every ISprite built from a texture does not delete the texture - only deleteTexture() does.

Constructor & Destructor Documentation

◆ ~ITexture()

virtual graphic::ITexture::~ITexture ( )
virtualdefault

Member Function Documentation

◆ getSize()

virtual Vector2f graphic::ITexture::getSize ( ) const
pure virtual

Get the Size object.

Returns
Vector2f

◆ isReady()

virtual bool graphic::ITexture::isReady ( ) const
pure virtual

notice if the texture is ready

Returns
bool

The documentation for this interface was generated from the following file: