Skylicht Engine
Toggle main menu visibility
Loading...
Searching...
No Matches
Irrlicht
Include
IImageWriter.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_IMAGE_WRITER_H_INCLUDED__
6
#define _I_IMAGE_WRITER_H_INCLUDED__
7
8
#include "IReferenceCounted.h"
9
#include "irrString.h"
10
#include "
coreutil.h
"
11
12
namespace
irr
13
{
14
namespace
io
15
{
16
class
IWriteFile
;
17
}
// end namespace io
18
19
namespace
video
20
{
21
class
IImage
;
22
23
25
class
IImageWriter
:
public
IReferenceCounted
26
{
27
public
:
29
31
virtual
bool
isAWriteableFileExtension
(
const
io::path
& filename)
const
= 0;
32
34
38
virtual
bool
writeImage
(
io::IWriteFile
*file,
IImage
*image,
u32
param = 0)
const
= 0;
39
};
40
41
}
// namespace video
42
}
// namespace irr
43
44
#endif
// _I_IMAGE_WRITER_H_INCLUDED__
45
irr::IReferenceCounted::IReferenceCounted
IReferenceCounted()
Constructor.
Definition
IReferenceCounted.h:50
irr::io::IWriteFile
Interface providing write access to a file.
Definition
IWriteFile.h:18
irr::video::IImage
Interface for software image data.
Definition
IImage.h:23
irr::video::IImageWriter
Interface for writing software image data.
Definition
IImageWriter.h:26
irr::video::IImageWriter::writeImage
virtual bool writeImage(io::IWriteFile *file, IImage *image, u32 param=0) const =0
Write image to file.
irr::video::IImageWriter::isAWriteableFileExtension
virtual bool isAWriteableFileExtension(const io::path &filename) const =0
Check if this writer can write a file with the given extension.
coreutil.h
File containing useful basic utility functions.
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
irr::u32
unsigned int u32
32 bit unsigned variable.
Definition
irrTypes.h:58
Generated by
1.17.0