Changeset 9910 for OpenSceneGraph/trunk/include/osg/Image
- Timestamp:
- 03/11/09 16:12:46 (4 years ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/include/osg/Image (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/include/osg/Image
r9888 r9910 186 186 void setPacking(unsigned int packing) { _packing = packing; } 187 187 inline unsigned int getPacking() const { return _packing; } 188 189 inline void setPixelAspectRatio(float pixelAspectRatio) { _pixelAspectRatio = pixelAspectRatio; } 190 inline float getPixelAspectRatio() const { return _pixelAspectRatio; } 188 191 189 192 /** Return the number of bits required for each pixel. */ … … 347 350 GLenum _dataType; 348 351 unsigned int _packing; 352 float _pixelAspectRatio; 349 353 350 354 AllocationMode _allocationMode;
