- Timestamp:
- 12/29/06 10:28:00 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Source/System/Material/Simple/OSGSimpleTexturedMaterialBase.cpp
r439 r459 82 82 PageSystemMaterialTexturedSimpleMaterial for a description. 83 83 84 A OSG::SimpleMaterial with an added texture. It doesn't expose all 85 featuresof the texture, just the ones needed most often.86 87 OSG::SimpleTexturedMaterial::_sfImage defines the texture, 84 A OSG::SimpleMaterial with an added texture. It doesn't expose all features 85 of the texture, just the ones needed most often. 86 87 OSG::SimpleTexturedMaterial::_sfImage defines the texture, 88 88 OSG::SimpleTexturedMaterial::_sfMinFilter and 89 OSG::SimpleTexturedMaterial::_sfMagFilter the used filters and 90 OSG::SimpleTexturedMaterial::_sfEnvMode the environment mode. As a 91 special case OSG::SimpleTexturedMaterial::_sfEnvMap can be used to use 92 the texture as a spherical environment map. 89 OSG::SimpleTexturedMaterial::_sfMagFilter the used filters and 90 OSG::SimpleTexturedMaterial::_sfEnvMode the environment mode. As a special 91 case 92 OSG::SimpleTexturedMaterial::_sfEnvMap can be used to use the texture as a 93 spherical environment map. 93 94 */ 94 95 … … 100 101 Defines the texture image. 101 102 */ 103 102 104 /*! \var GLenum SimpleTexturedMaterialBase::_sfMinFilter 103 105 Defines the minification filter, see glTexParameter for details. 104 106 Default: GL_LINEAR_MIPMAP_LINEAR. 105 107 */ 108 106 109 /*! \var GLenum SimpleTexturedMaterialBase::_sfMagFilter 107 110 Defines the magnification filter, see glTexParameter for details. 108 111 Default: GL_LINEAR 109 112 */ 113 110 114 /*! \var GLenum SimpleTexturedMaterialBase::_sfEnvMode 111 Sets the environment mode, defining how texture and lighting color 112 interact.Default: GL_REPLACE.115 Sets the environment mode, defining how texture and lighting color interact. 116 Default: GL_REPLACE. 113 117 */ 118 114 119 /*! \var bool SimpleTexturedMaterialBase::_sfEnvMap 115 120 Defines whether to use the texture as a spherical environment map. 116 121 */ 122 117 123 118 124 void SimpleTexturedMaterialBase::classDescInserter(TypeObject &oType) … … 322 328 "</FieldContainer>\n", 323 329 "\\ingroup GrpSystemMaterial\n" 330 "\n" 324 331 "The simple textured material class. See \\ref\n" 325 332 "PageSystemMaterialTexturedSimpleMaterial for a description.\n" 333 "\n" 326 334 "A OSG::SimpleMaterial with an added texture. It doesn't expose all features \n" 327 335 "of the texture, just the ones needed most often.\n" 336 "\n" 328 337 "OSG::SimpleTexturedMaterial::_sfImage defines the texture, \n" 329 338 "OSG::SimpleTexturedMaterial::_sfMinFilter and\n"
