Public Member Functions | |
Source () | |
Source (const osg::Image *image) | |
Source (const osg::Texture2D *texture) | |
bool | suitableForAtlas (unsigned int maximumAtlasWidth, unsigned int maximumAtlasHeight, unsigned int margin) |
osg::Matrix | computeTextureMatrix () const |
Public Attributes | |
unsigned int | _x |
unsigned int | _y |
Atlas * | _atlas |
osg::ref_ptr< const osg::Image > | _image |
osg::ref_ptr< const osg::Texture2D > | _texture |
Protected Member Functions | |
virtual | ~Source () |
osgUtil::Optimizer::TextureAtlasBuilder::Source::Source | ( | ) | [inline] |
osgUtil::Optimizer::TextureAtlasBuilder::Source::Source | ( | const osg::Image * | image | ) | [inline] |
osgUtil::Optimizer::TextureAtlasBuilder::Source::Source | ( | const osg::Texture2D * | texture | ) | [inline] |
virtual osgUtil::Optimizer::TextureAtlasBuilder::Source::~Source | ( | ) | [inline, protected, virtual] |
bool osgUtil::Optimizer::TextureAtlasBuilder::Source::suitableForAtlas | ( | unsigned int | maximumAtlasWidth, | |
unsigned int | maximumAtlasHeight, | |||
unsigned int | margin | |||
) |
osg::Matrix osgUtil::Optimizer::TextureAtlasBuilder::Source::computeTextureMatrix | ( | ) | const |
unsigned int osgUtil::Optimizer::TextureAtlasBuilder::Source::_x |
unsigned int osgUtil::Optimizer::TextureAtlasBuilder::Source::_y |