Added support for specificing the eye mapping and seperation between the

horizontal and veritical split stereo modes.

Renamed osg::Image::ensureDimensionArePowerOfTwo() to osg::Image::ensureValidSizeForTexturing().
This commit is contained in:
Robert Osfield
2002-04-14 22:21:59 +00:00
parent 22e8047869
commit c43607c14d
6 changed files with 145 additions and 42 deletions

View File

@@ -110,9 +110,9 @@ class SG_EXPORT Image : public Object
/** Ensure image dimensions are a power of two.
* Mip Mapped texture require the image dimensions to be
* power of two.
*/
void ensureDimensionsArePowerOfTwo();
* power of two and are within the maxiumum texture size for
* the host machine.*/
void ensureValidSizeForTexturing();
/** Dirty the image, which increments the modified flag, to force osg::Texture to reload the image.*/
inline void dirty() { ++_modifiedTag; }