P-E-R-R-Y
Utilitaires, contrats et vendors du moteur, en une seule doc
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>

Inheritance diagram for graphic::ITexture:

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

Implemented in RayTexture, SdlTexture, SdlTexture, and SfmlTexture.

◆ isReady()

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

notice if the texture is ready

Returns
bool

Implemented in RayTexture, SdlTexture, SdlTexture, and SfmlTexture.


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