OpenSceneGraph  3.0.1
Public Types | Public Member Functions
osgDB::ImageProcessor Class Reference
Inheritance diagram for osgDB::ImageProcessor:
Inheritance graph
[legend]

List of all members.

Public Types

enum  CompressionMethod { USE_CPU, USE_GPU }
enum  CompressionQuality { FASTEST, NORMAL, PRODUCTION, HIGHEST }

Public Member Functions

 ImageProcessor ()
 ImageProcessor (const ImageProcessor &rw, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
virtual ~ImageProcessor ()
 META_Object (osgDB, ImageProcessor)
virtual void compress (osg::Image &, osg::Texture::InternalFormatMode, bool, bool, CompressionMethod, CompressionQuality)
virtual void generateMipMap (osg::Image &, bool, CompressionMethod)

Member Enumeration Documentation

Enumerator:
USE_CPU 
USE_GPU 

Use CPU for compression even when GPU compression is available.

Use GPU for compression when available (i.e CUDA), otherwise fallback to CPU

Enumerator:
FASTEST 
NORMAL 
PRODUCTION 
HIGHEST 

Constructor & Destructor Documentation

osgDB::ImageProcessor::ImageProcessor ( ) [inline]
osgDB::ImageProcessor::ImageProcessor ( const ImageProcessor rw,
const osg::CopyOp copyop = osg::CopyOp::SHALLOW_COPY 
) [inline]
virtual osgDB::ImageProcessor::~ImageProcessor ( ) [inline, virtual]

Member Function Documentation

virtual void osgDB::ImageProcessor::compress ( osg::Image ,
osg::Texture::InternalFormatMode  ,
bool  ,
bool  ,
CompressionMethod  ,
CompressionQuality   
) [inline, virtual]
virtual void osgDB::ImageProcessor::generateMipMap ( osg::Image ,
bool  ,
CompressionMethod   
) [inline, virtual]
osgDB::ImageProcessor::META_Object ( osgDB  ,
ImageProcessor   
)

The documentation for this class was generated from the following file:

osg logo
Generated at Mon Oct 3 2011 12:39:46 for the OpenSceneGraph by doxygen 1.7.5.