Nirtcpp 2.1.0
Nirtcpp is a high-performance c++ graphics engine.
Loading...
Searching...
No Matches
IImageWriter.hpp
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 nirtcpp/nirtcpp.hpp
4
5#ifndef NIRT_I_IMAGE_WRITER_HPP_INCLUDED
6#define NIRT_I_IMAGE_WRITER_HPP_INCLUDED
7
8#include <nirtcpp/core/engine/IReferenceCounted.hpp>
9#include <nirtcpp/core/engine/irrString.hpp>
10#include <nirtcpp/core/engine/coreutil.hpp>
11
12namespace nirt
13{
14namespace io
15{
16 class IWriteFile;
17} // end namespace io
18
19namespace video
20{
21 class IImage;
22
23
26{
27public:
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 nirt
43
44#endif // NIRT_I_IMAGE_WRITER_HPP_INCLUDED
Base class of most objects of the Nirtcpp Engine.
Definition IReferenceCounted.hpp:46
Interface providing write access to a file.
Definition IWriteFile.hpp:18
Interface for writing software image data.
Definition IImageWriter.hpp:26
virtual bool writeImage(io::IWriteFile *file, IImage *image, u32 param=0) const =0
Write image to file.
virtual bool isAWriteableFileExtension(const io::path &filename) const =0
Check if this writer can write a file with the given extension.
Interface for software image data.
Definition IImage.hpp:26
As of Nirtcpp 1.6, position2d is a synonym for vector2d.
Definition vector3d.hpp:11
unsigned int u32
32 bit unsigned variable.
Definition irrTypes.hpp:64

Nirtcpp    @cppfx.xyz

Esvcpp    esv::print