olcPixelGameEngine v2.28
The official distribution of olcPixelGameEngine, a tool used in javidx9's YouTube videos and projects
Loading...
Searching...
No Matches
olc::ImageLoader Class Referenceabstract

#include <olcPixelGameEngine.h>

Public Member Functions

 ImageLoader ()=default
 
virtual ~ImageLoader ()=default
 
virtual olc::rcode LoadImageResource (olc::Sprite *spr, const std::string &sImageFile, olc::ResourcePack *pack)=0
 
virtual olc::rcode SaveImageResource (olc::Sprite *spr, const std::string &sImageFile)=0
 

Constructor & Destructor Documentation

◆ ImageLoader()

olc::ImageLoader::ImageLoader ( )
default

◆ ~ImageLoader()

virtual olc::ImageLoader::~ImageLoader ( )
virtualdefault

Member Function Documentation

◆ LoadImageResource()

virtual olc::rcode olc::ImageLoader::LoadImageResource ( olc::Sprite * spr,
const std::string & sImageFile,
olc::ResourcePack * pack )
pure virtual

◆ SaveImageResource()

virtual olc::rcode olc::ImageLoader::SaveImageResource ( olc::Sprite * spr,
const std::string & sImageFile )
pure virtual

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