Added support for generating RGBA, RGBA-16 and RGBA-compressed texture databases

This commit is contained in:
Robert Osfield
2005-05-02 14:16:25 +00:00
parent 991feca6cc
commit 015c9a9765
3 changed files with 27 additions and 9 deletions

View File

@@ -997,9 +997,12 @@ class OSGTERRAIN_EXPORT DataSet : public osg::Referenced
enum TextureType
{
RGB_24_BIT,
RGB_16_BIT,
COMPRESSED_TEXTURE
RGB_24,
RGBA,
RGB_16,
RGBA_16,
COMPRESSED_TEXTURE,
COMPRESSED_RGBA_TEXTURE
};
void setTextureType(TextureType type) { _textureType = type; }
TextureType getTextureType() const { return _textureType; }