Loading...
Searching...
No Matches
IImageLoader.h
Go to the documentation of this file.
// Copyright (C) 2002-2012 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __I_SURFACE_LOADER_H_INCLUDED__
#define __I_SURFACE_LOADER_H_INCLUDED__
#include "IReferenceCounted.h"
#include "IImage.h"
#include "path.h"
namespace irr
{
namespace io
{
class IReadFile;
} // end namespace io
namespace video
{
class IImageLoader : public virtual IReferenceCounted
{
public:
virtual bool isALoadableFileExtension(const io::path& filename) const = 0;
virtual bool isALoadableFileFormat(io::IReadFile* file) const = 0;
virtual IImage* loadImage(io::IReadFile* file) const = 0;
};
} // end namespace video
} // end namespace irr
#endif
IImage.h
IReferenceCounted.h
irr::IReferenceCounted::IReferenceCounted
IReferenceCounted()
Constructor.
Definition IReferenceCounted.h:46
irr::io::IReadFile
Interface providing read acess to a file.
Definition IReadFile.h:18
irr::video::IImage
Interface for software image data.
Definition IImage.h:23
irr::video::IImageLoader
Class which is able to create a image from a file.
Definition IImageLoader.h:27
irr::video::IImageLoader::isALoadableFileExtension
virtual bool isALoadableFileExtension(const io::path &filename) const =0
Check if the file might be loaded by this class.
irr::video::IImageLoader::loadImage
virtual IImage * loadImage(io::IReadFile *file) const =0
Creates a surface from the file.
irr::video::IImageLoader::isALoadableFileFormat
virtual bool isALoadableFileFormat(io::IReadFile *file) const =0
Check if the file might be loaded by this class.
irr::io
This namespace provides interfaces for input/output: Reading and writing files, accessing zip archive...
Definition EAttributes.h:11
irr::io::path
core::string< fschar_t > path
Type used for all file system related strings.
Definition path.h:17
irr::video
The video namespace contains classes for accessing the video driver. All 2d and 3d rendering is done ...
Definition EDriverFeatures.h:11
irr
Everything in the Irrlicht Engine can be found in this namespace.
Definition aabbox3d.h:13
path.h
- Irrlicht Engine Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on for Irrlicht 3D Engine by Doxygen 1.15.0