Added missing setDataType and setPacking functions

This commit is contained in:
Robert Osfield
2006-08-25 15:49:29 +00:00
parent ff61a20315
commit 179f6100a0
2 changed files with 19 additions and 1 deletions

View File

@@ -141,8 +141,10 @@ class OSG_EXPORT Image : public Object
void setPixelFormat(GLenum pixelFormat);
inline GLenum getPixelFormat() const { return _pixelFormat; }
void setDataType(GLenum dataType);
inline GLenum getDataType() const { return _dataType; }
void setPacking(unsigned int packing) { _packing = packing; }
inline unsigned int getPacking() const { return _packing; }
/** Return the number of bits required for each pixel. */