OpenSceneGraph/src/osgDB/ImageOptions.cpp
2003-10-17 10:27:18 +00:00

29 lines
431 B
C++

#include <osgDB/ImageOptions>
using namespace osgDB;
ImageOptions::ImageOptions()
{
init();
}
ImageOptions::ImageOptions(const std::string& str)
{
init();
_str = str;
}
void ImageOptions::init()
{
_sourceImageSamplingMode = NEAREST;
_sourceImageWindowMode = ALL_IMAGE;
_destinationImageWindowMode = ALL_IMAGE;
_destinationDataType = GL_NONE;
_destinationPixelFormat = GL_NONE;
}