Skylicht Engine
Toggle main menu visibility
Loading...
Searching...
No Matches
Irrlicht
Include
IImageLoader.h
1
// Copyright (C) 2002-2012 Nikolaus Gebhardt
2
// This file is part of the "Irrlicht Engine".
3
// For conditions of distribution and use, see copyright notice in irrlicht.h
4
5
#ifndef __I_SURFACE_LOADER_H_INCLUDED__
6
#define __I_SURFACE_LOADER_H_INCLUDED__
7
8
#include "IReferenceCounted.h"
9
#include "IImage.h"
10
#include "path.h"
11
12
namespace
irr
13
{
14
namespace
io
15
{
16
class
IReadFile
;
17
}
// end namespace io
18
namespace
video
19
{
20
22
26
class
IImageLoader
:
public
virtual
IReferenceCounted
27
{
28
public
:
29
31
34
virtual
bool
isALoadableFileExtension
(
const
io::path
& filename)
const
= 0;
35
37
40
virtual
bool
isALoadableFileFormat
(
io::IReadFile
* file)
const
= 0;
41
43
45
virtual
IImage
*
loadImage
(
io::IReadFile
* file)
const
= 0;
46
};
47
48
49
}
// end namespace video
50
}
// end namespace irr
51
52
#endif
53
irr::IReferenceCounted::IReferenceCounted
IReferenceCounted()
Constructor.
Definition
IReferenceCounted.h:50
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
Skylicht.h:33
Generated by
1.17.0