Saga3D API Documentation
1.0-RC4
IImageWriter.h
Go to the documentation of this file.
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
9
10
11
12
namespace
saga
13
{
14
namespace
io
15
{
16
class
IWriteFile;
17
}
// namespace io
18
19
namespace
video
20
{
21
class
IImage;
22
23
25
class
IImageWriter
26
{
27
public
:
29
31
virtual
bool
isAWriteableFileExtension
(
const
std::string& filename)
const
= 0;
32
34
38
virtual
bool
writeImage
(io::IWriteFile *file, IImage *image, std::uint32_t param = 0)
const
= 0;
39
};
40
41
}
// namespace video
42
}
// namespace saga
43
44
#endif // _I_IMAGE_WRITER_H_INCLUDED__
45
saga::video::IImageWriter::writeImage
virtual bool writeImage(io::IWriteFile *file, IImage *image, std::uint32_t param=0) const =0
Write image to file.
saga::video::IImageWriter
Interface for writing software image data.
Definition:
IImageWriter.h:25
saga
Definition:
aabbox3d.h:11
saga::video::IImageWriter::isAWriteableFileExtension
virtual bool isAWriteableFileExtension(const std::string &filename) const =0
Check if this writer can write a file with the given extension.
library
include
IImageWriter.h
Generated by
1.8.17