- Timestamp:
- 05/05/08 06:39:01 (7 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Source/System/Depreciated/State/OSGTextureChunkBase.inl
r1178 r1193 89 89 90 90 _sfImage.setValue(value); 91 92 91 } 93 92 //! Get the value of the TextureChunk::_sfInternalFormat field. … … 103 102 //! Get the value of the TextureChunk::_sfInternalFormat field. 104 103 inline 105 const GLenum &TextureChunkBase::getInternalFormat(void) const104 const GLenum TextureChunkBase::getInternalFormat(void) const 106 105 { 107 106 return _sfInternalFormat.getValue(); … … 136 135 //! Get the value of the TextureChunk::_sfExternalFormat field. 137 136 inline 138 const GLenum &TextureChunkBase::getExternalFormat(void) const137 const GLenum TextureChunkBase::getExternalFormat(void) const 139 138 { 140 139 return _sfExternalFormat.getValue(); … … 169 168 //! Get the value of the TextureChunk::_sfScale field. 170 169 inline 171 const bool &TextureChunkBase::getScale(void) const170 const bool TextureChunkBase::getScale(void) const 172 171 { 173 172 return _sfScale.getValue(); … … 202 201 //! Get the value of the TextureChunk::_sfFrame field. 203 202 inline 204 const UInt32 &TextureChunkBase::getFrame(void) const203 const UInt32 TextureChunkBase::getFrame(void) const 205 204 { 206 205 return _sfFrame.getValue(); … … 235 234 //! Get the value of the TextureChunk::_sfMinFilter field. 236 235 inline 237 const GLenum &TextureChunkBase::getMinFilter(void) const236 const GLenum TextureChunkBase::getMinFilter(void) const 238 237 { 239 238 return _sfMinFilter.getValue(); … … 268 267 //! Get the value of the TextureChunk::_sfMagFilter field. 269 268 inline 270 const GLenum &TextureChunkBase::getMagFilter(void) const269 const GLenum TextureChunkBase::getMagFilter(void) const 271 270 { 272 271 return _sfMagFilter.getValue(); … … 301 300 //! Get the value of the TextureChunk::_sfWrapS field. 302 301 inline 303 const GLenum &TextureChunkBase::getWrapS(void) const302 const GLenum TextureChunkBase::getWrapS(void) const 304 303 { 305 304 return _sfWrapS.getValue(); … … 334 333 //! Get the value of the TextureChunk::_sfWrapT field. 335 334 inline 336 const GLenum &TextureChunkBase::getWrapT(void) const335 const GLenum TextureChunkBase::getWrapT(void) const 337 336 { 338 337 return _sfWrapT.getValue(); … … 367 366 //! Get the value of the TextureChunk::_sfWrapR field. 368 367 inline 369 const GLenum &TextureChunkBase::getWrapR(void) const368 const GLenum TextureChunkBase::getWrapR(void) const 370 369 { 371 370 return _sfWrapR.getValue(); … … 400 399 //! Get the value of the TextureChunk::_sfEnvMode field. 401 400 inline 402 const GLenum &TextureChunkBase::getEnvMode(void) const401 const GLenum TextureChunkBase::getEnvMode(void) const 403 402 { 404 403 return _sfEnvMode.getValue(); … … 433 432 //! Get the value of the TextureChunk::_sfEnvColor field. 434 433 inline 435 const Color4f &TextureChunkBase::getEnvColor(void) const434 const Color4f TextureChunkBase::getEnvColor(void) const 436 435 { 437 436 return _sfEnvColor.getValue(); … … 466 465 //! Get the value of the TextureChunk::_sfEnvCombineRGB field. 467 466 inline 468 const GLenum &TextureChunkBase::getEnvCombineRGB(void) const467 const GLenum TextureChunkBase::getEnvCombineRGB(void) const 469 468 { 470 469 return _sfEnvCombineRGB.getValue(); … … 499 498 //! Get the value of the TextureChunk::_sfEnvCombineAlpha field. 500 499 inline 501 const GLenum &TextureChunkBase::getEnvCombineAlpha(void) const500 const GLenum TextureChunkBase::getEnvCombineAlpha(void) const 502 501 { 503 502 return _sfEnvCombineAlpha.getValue(); … … 532 531 //! Get the value of the TextureChunk::_sfEnvScaleRGB field. 533 532 inline 534 const Real32 &TextureChunkBase::getEnvScaleRGB(void) const533 const Real32 TextureChunkBase::getEnvScaleRGB(void) const 535 534 { 536 535 return _sfEnvScaleRGB.getValue(); … … 565 564 //! Get the value of the TextureChunk::_sfEnvScaleAlpha field. 566 565 inline 567 const Real32 &TextureChunkBase::getEnvScaleAlpha(void) const566 const Real32 TextureChunkBase::getEnvScaleAlpha(void) const 568 567 { 569 568 return _sfEnvScaleAlpha.getValue(); … … 598 597 //! Get the value of the TextureChunk::_sfEnvSource0RGB field. 599 598 inline 600 const GLenum &TextureChunkBase::getEnvSource0RGB(void) const599 const GLenum TextureChunkBase::getEnvSource0RGB(void) const 601 600 { 602 601 return _sfEnvSource0RGB.getValue(); … … 631 630 //! Get the value of the TextureChunk::_sfEnvSource1RGB field. 632 631 inline 633 const GLenum &TextureChunkBase::getEnvSource1RGB(void) const632 const GLenum TextureChunkBase::getEnvSource1RGB(void) const 634 633 { 635 634 return _sfEnvSource1RGB.getValue(); … … 664 663 //! Get the value of the TextureChunk::_sfEnvSource2RGB field. 665 664 inline 666 const GLenum &TextureChunkBase::getEnvSource2RGB(void) const665 const GLenum TextureChunkBase::getEnvSource2RGB(void) const 667 666 { 668 667 return _sfEnvSource2RGB.getValue(); … … 697 696 //! Get the value of the TextureChunk::_sfEnvSource0Alpha field. 698 697 inline 699 const GLenum &TextureChunkBase::getEnvSource0Alpha(void) const698 const GLenum TextureChunkBase::getEnvSource0Alpha(void) const 700 699 { 701 700 return _sfEnvSource0Alpha.getValue(); … … 730 729 //! Get the value of the TextureChunk::_sfEnvSource1Alpha field. 731 730 inline 732 const GLenum &TextureChunkBase::getEnvSource1Alpha(void) const731 const GLenum TextureChunkBase::getEnvSource1Alpha(void) const 733 732 { 734 733 return _sfEnvSource1Alpha.getValue(); … … 763 762 //! Get the value of the TextureChunk::_sfEnvSource2Alpha field. 764 763 inline 765 const GLenum &TextureChunkBase::getEnvSource2Alpha(void) const764 const GLenum TextureChunkBase::getEnvSource2Alpha(void) const 766 765 { 767 766 return _sfEnvSource2Alpha.getValue(); … … 796 795 //! Get the value of the TextureChunk::_sfEnvOperand0RGB field. 797 796 inline 798 const GLenum &TextureChunkBase::getEnvOperand0RGB(void) const797 const GLenum TextureChunkBase::getEnvOperand0RGB(void) const 799 798 { 800 799 return _sfEnvOperand0RGB.getValue(); … … 829 828 //! Get the value of the TextureChunk::_sfEnvOperand1RGB field. 830 829 inline 831 const GLenum &TextureChunkBase::getEnvOperand1RGB(void) const830 const GLenum TextureChunkBase::getEnvOperand1RGB(void) const 832 831 { 833 832 return _sfEnvOperand1RGB.getValue(); … … 862 861 //! Get the value of the TextureChunk::_sfEnvOperand2RGB field. 863 862 inline 864 const GLenum &TextureChunkBase::getEnvOperand2RGB(void) const863 const GLenum TextureChunkBase::getEnvOperand2RGB(void) const 865 864 { 866 865 return _sfEnvOperand2RGB.getValue(); … … 895 894 //! Get the value of the TextureChunk::_sfEnvOperand0Alpha field. 896 895 inline 897 const GLenum &TextureChunkBase::getEnvOperand0Alpha(void) const896 const GLenum TextureChunkBase::getEnvOperand0Alpha(void) const 898 897 { 899 898 return _sfEnvOperand0Alpha.getValue(); … … 928 927 //! Get the value of the TextureChunk::_sfEnvOperand1Alpha field. 929 928 inline 930 const GLenum &TextureChunkBase::getEnvOperand1Alpha(void) const929 const GLenum TextureChunkBase::getEnvOperand1Alpha(void) const 931 930 { 932 931 return _sfEnvOperand1Alpha.getValue(); … … 961 960 //! Get the value of the TextureChunk::_sfEnvOperand2Alpha field. 962 961 inline 963 const GLenum &TextureChunkBase::getEnvOperand2Alpha(void) const962 const GLenum TextureChunkBase::getEnvOperand2Alpha(void) const 964 963 { 965 964 return _sfEnvOperand2Alpha.getValue(); … … 994 993 //! Get the value of the TextureChunk::_sfGLId field. 995 994 inline 996 const GLenum &TextureChunkBase::getGLId(void) const995 const GLenum TextureChunkBase::getGLId(void) const 997 996 { 998 997 return _sfGLId.getValue(); … … 1027 1026 //! Get the value of the TextureChunk::_sfIgnoreGLForAspect field. 1028 1027 inline 1029 const Int32 &TextureChunkBase::getIgnoreGLForAspect(void) const1028 const Int32 TextureChunkBase::getIgnoreGLForAspect(void) const 1030 1029 { 1031 1030 return _sfIgnoreGLForAspect.getValue(); … … 1060 1059 //! Get the value of the TextureChunk::_sfPointSprite field. 1061 1060 inline 1062 const bool &TextureChunkBase::getPointSprite(void) const1061 const bool TextureChunkBase::getPointSprite(void) const 1063 1062 { 1064 1063 return _sfPointSprite.getValue(); … … 1093 1092 //! Get the value of the TextureChunk::_sfPriority field. 1094 1093 inline 1095 const Real32 &TextureChunkBase::getPriority(void) const1094 const Real32 TextureChunkBase::getPriority(void) const 1096 1095 { 1097 1096 return _sfPriority.getValue(); … … 1126 1125 //! Get the value of the TextureChunk::_sfShaderOperation field. 1127 1126 inline 1128 const GLenum &TextureChunkBase::getShaderOperation(void) const1127 const GLenum TextureChunkBase::getShaderOperation(void) const 1129 1128 { 1130 1129 return _sfShaderOperation.getValue(); … … 1159 1158 //! Get the value of the TextureChunk::_sfShaderInput field. 1160 1159 inline 1161 const GLenum &TextureChunkBase::getShaderInput(void) const1160 const GLenum TextureChunkBase::getShaderInput(void) const 1162 1161 { 1163 1162 return _sfShaderInput.getValue(); … … 1192 1191 //! Get the value of the TextureChunk::_sfShaderOffsetScale field. 1193 1192 inline 1194 const Real32 &TextureChunkBase::getShaderOffsetScale(void) const1193 const Real32 TextureChunkBase::getShaderOffsetScale(void) const 1195 1194 { 1196 1195 return _sfShaderOffsetScale.getValue(); … … 1225 1224 //! Get the value of the TextureChunk::_sfShaderOffsetBias field. 1226 1225 inline 1227 const Real32 &TextureChunkBase::getShaderOffsetBias(void) const1226 const Real32 TextureChunkBase::getShaderOffsetBias(void) const 1228 1227 { 1229 1228 return _sfShaderOffsetBias.getValue(); … … 1258 1257 //! Get the value of the TextureChunk::_sfShaderRGBADotProduct field. 1259 1258 inline 1260 const GLenum &TextureChunkBase::getShaderRGBADotProduct(void) const1259 const GLenum TextureChunkBase::getShaderRGBADotProduct(void) const 1261 1260 { 1262 1261 return _sfShaderRGBADotProduct.getValue(); … … 1291 1290 //! Get the value of the TextureChunk::_sfShaderCullModes field. 1292 1291 inline 1293 const UInt8 &TextureChunkBase::getShaderCullModes(void) const1292 const UInt8 TextureChunkBase::getShaderCullModes(void) const 1294 1293 { 1295 1294 return _sfShaderCullModes.getValue(); … … 1324 1323 //! Get the value of the TextureChunk::_sfShaderConstEye field. 1325 1324 inline 1326 const Vec3f &TextureChunkBase::getShaderConstEye(void) const1325 const Vec3f TextureChunkBase::getShaderConstEye(void) const 1327 1326 { 1328 1327 return _sfShaderConstEye.getValue(); … … 1357 1356 //! Get the value of the TextureChunk::_sfLodBias field. 1358 1357 inline 1359 const Real32 &TextureChunkBase::getLodBias(void) const1358 const Real32 TextureChunkBase::getLodBias(void) const 1360 1359 { 1361 1360 return _sfLodBias.getValue(); … … 1390 1389 //! Get the value of the TextureChunk::_sfDirtyLeft field. 1391 1390 inline 1392 const Int32 &TextureChunkBase::getDirtyLeft(void) const1391 const Int32 TextureChunkBase::getDirtyLeft(void) const 1393 1392 { 1394 1393 return _sfDirtyLeft.getValue(); … … 1423 1422 //! Get the value of the TextureChunk::_sfDirtyMinX field. 1424 1423 inline 1425 const Int32 &TextureChunkBase::getDirtyMinX(void) const1424 const Int32 TextureChunkBase::getDirtyMinX(void) const 1426 1425 { 1427 1426 return _sfDirtyMinX.getValue(); … … 1456 1455 //! Get the value of the TextureChunk::_sfDirtyMaxX field. 1457 1456 inline 1458 const Int32 &TextureChunkBase::getDirtyMaxX(void) const1457 const Int32 TextureChunkBase::getDirtyMaxX(void) const 1459 1458 { 1460 1459 return _sfDirtyMaxX.getValue(); … … 1489 1488 //! Get the value of the TextureChunk::_sfDirtyMinY field. 1490 1489 inline 1491 const Int32 &TextureChunkBase::getDirtyMinY(void) const1490 const Int32 TextureChunkBase::getDirtyMinY(void) const 1492 1491 { 1493 1492 return _sfDirtyMinY.getValue(); … … 1522 1521 //! Get the value of the TextureChunk::_sfDirtyMaxY field. 1523 1522 inline 1524 const Int32 &TextureChunkBase::getDirtyMaxY(void) const1523 const Int32 TextureChunkBase::getDirtyMaxY(void) const 1525 1524 { 1526 1525 return _sfDirtyMaxY.getValue(); … … 1555 1554 //! Get the value of the TextureChunk::_sfDirtyMinZ field. 1556 1555 inline 1557 const Int32 &TextureChunkBase::getDirtyMinZ(void) const1556 const Int32 TextureChunkBase::getDirtyMinZ(void) const 1558 1557 { 1559 1558 return _sfDirtyMinZ.getValue(); … … 1588 1587 //! Get the value of the TextureChunk::_sfDirtyMaxZ field. 1589 1588 inline 1590 const Int32 &TextureChunkBase::getDirtyMaxZ(void) const1589 const Int32 TextureChunkBase::getDirtyMaxZ(void) const 1591 1590 { 1592 1591 return _sfDirtyMaxZ.getValue(); … … 1621 1620 //! Get the value of the TextureChunk::_sfAnisotropy field. 1622 1621 inline 1623 const Real32 &TextureChunkBase::getAnisotropy(void) const1622 const Real32 TextureChunkBase::getAnisotropy(void) const 1624 1623 { 1625 1624 return _sfAnisotropy.getValue(); … … 1654 1653 //! Get the value of the TextureChunk::_sfBorderColor field. 1655 1654 inline 1656 const Color4f &TextureChunkBase::getBorderColor(void) const1655 const Color4f TextureChunkBase::getBorderColor(void) const 1657 1656 { 1658 1657 return _sfBorderColor.getValue(); … … 1687 1686 //! Get the value of the TextureChunk::_sfCompareMode field. 1688 1687 inline 1689 const GLenum &TextureChunkBase::getCompareMode(void) const1688 const GLenum TextureChunkBase::getCompareMode(void) const 1690 1689 { 1691 1690 return _sfCompareMode.getValue(); … … 1720 1719 //! Get the value of the TextureChunk::_sfCompareFunc field. 1721 1720 inline 1722 const GLenum &TextureChunkBase::getCompareFunc(void) const1721 const GLenum TextureChunkBase::getCompareFunc(void) const 1723 1722 { 1724 1723 return _sfCompareFunc.getValue(); … … 1753 1752 //! Get the value of the TextureChunk::_sfDepthMode field. 1754 1753 inline 1755 const GLenum &TextureChunkBase::getDepthMode(void) const1754 const GLenum TextureChunkBase::getDepthMode(void) const 1756 1755 { 1757 1756 return _sfDepthMode.getValue(); … … 1786 1785 //! Get the value of the TextureChunk::_sfBorderWidth field. 1787 1786 inline 1788 const UInt32 &TextureChunkBase::getBorderWidth(void) const1787 const UInt32 TextureChunkBase::getBorderWidth(void) const 1789 1788 { 1790 1789 return _sfBorderWidth.getValue(); … … 1819 1818 //! Get the value of the TextureChunk::_sfNPOTMatrixScale field. 1820 1819 inline 1821 const UInt32 &TextureChunkBase::getNPOTMatrixScale(void) const1820 const UInt32 TextureChunkBase::getNPOTMatrixScale(void) const 1822 1821 { 1823 1822 return _sfNPOTMatrixScale.getValue(); … … 1843 1842 //! Get the value of the \a index element the TextureChunk::_mfShaderOffsetMatrix field. 1844 1843 inline 1845 const Real32 &TextureChunkBase::getShaderOffsetMatrix(const UInt32 index) const1844 const Real32 TextureChunkBase::getShaderOffsetMatrix(const UInt32 index) const 1846 1845 { 1847 1846 return _mfShaderOffsetMatrix[index]; … … 1856 1855 } 1857 1856 1858 //! Get the TextureChunk::_mfShaderOffsetMatrix field.1859 inline1860 MFReal32 &TextureChunkBase::editShaderOffsetMatrix(void)1861 {1862 editMField(ShaderOffsetMatrixFieldMask, _mfShaderOffsetMatrix);1863 1864 return _mfShaderOffsetMatrix;1865 }1866 1867 1857 #ifdef OSG_1_GET_COMPAT 1868 1858 inline … … 1880 1870 #endif 1881 1871 1882 1883 //! Get the TextureChunk::_mfShaderOffsetMatrix field.1884 inline1885 const MFReal32 &TextureChunkBase::getShaderOffsetMatrix(void) const1886 {1887 return _mfShaderOffsetMatrix;1888 }1889 1872 1890 1873
