OpenSceneGraph
3.0.1
|
Public Types | |
enum | FitsIn { DOES_NOT_FIT_IN_ANY_ROW, FITS_IN_CURRENT_ROW, IN_NEXT_ROW } |
Public Member Functions | |
Atlas (int width, int height, int margin) | |
FitsIn | doesSourceFit (Source *source) |
bool | addSource (Source *source) |
void | clampToNearestPowerOfTwoSize () |
void | copySources () |
Public Attributes | |
int | _maximumAtlasWidth |
int | _maximumAtlasHeight |
int | _margin |
osg::ref_ptr< osg::Texture2D > | _texture |
osg::ref_ptr< osg::Image > | _image |
SourceList | _sourceList |
int | _x |
int | _y |
int | _width |
int | _height |
unsigned int | _indexFirstOfRow |
Contain the index of the first element of the last row. | |
Protected Member Functions | |
virtual | ~Atlas () |
osgUtil::Optimizer::TextureAtlasBuilder::Atlas::Atlas | ( | int | width, |
int | height, | ||
int | margin | ||
) | [inline] |
virtual osgUtil::Optimizer::TextureAtlasBuilder::Atlas::~Atlas | ( | ) | [inline, protected, virtual] |
bool osgUtil::Optimizer::TextureAtlasBuilder::Atlas::addSource | ( | Source * | source | ) |
Contain the index of the first element of the last row.
![]() | Generated at Thu Sep 27 2012 12:20:31 for the OpenSceneGraph by doxygen 1.7.6.1. |