root/OpenSceneGraph/trunk/src/osgDB/ImageOptions.cpp @ 13041

Revision 13041, 420 bytes (checked in by robert, 3 years ago)

Ran script to remove trailing spaces and tabs

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1#include <osgDB/ImageOptions>
2
3
4using namespace osgDB;
5
6
7ImageOptions::ImageOptions()
8{
9    init();
10}
11
12ImageOptions::ImageOptions(const std::string& str)
13{
14    init();
15    _str = str;
16}
17
18
19void ImageOptions::init()
20{
21    _sourceImageSamplingMode = NEAREST;
22    _sourceImageWindowMode = ALL_IMAGE;
23
24    _destinationImageWindowMode = ALL_IMAGE;
25
26    _destinationDataType = GL_NONE;
27    _destinationPixelFormat = GL_NONE;
28}
Note: See TracBrowser for help on using the browser.