TextureDataLoadStore.hh 885 Bytes
Newer Older
1
2
3
4
5
/***********************************************************************
 * Copyright 2011-2012 Computer Graphics Group RWTH Aachen University. *
 * All rights reserved.                                                *
 * Distributed under the terms of the MIT License (see LICENSE.TXT).   *
 **********************************************************************/
6

Robert Menzel's avatar
Robert Menzel committed
7
8
#ifndef ACGL_OPENGL_DATA_TEXTUREDATALOADSTORE_HH
#define ACGL_OPENGL_DATA_TEXTUREDATALOADSTORE_HH
9
10

/**
Robert Menzel's avatar
Robert Menzel committed
11
12
 * Helper function for writing the contents of a TextureData object into a file
 * and loading them from a file.
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
 */

#include <ACGL/ACGL.hh>
#include <ACGL/OpenGL/Data/TextureData.hh>

#include <string>

namespace ACGL{
namespace OpenGL{

bool saveTextureDataToPPM(const ConstSharedTextureData& _textureData, const std::string& _filename);

} // OpenGL
} // ACGL

Robert Menzel's avatar
Robert Menzel committed
28
#endif // ACGL_OPENGL_DATA_TEXTUREDATALOADSTORE_HH