Changeset 336 for trunk/avango-osg/include/avango/osg/TexturedQuad.h
- Timestamp:
- 01/14/10 00:05:49 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/avango-osg/include/avango/osg/TexturedQuad.h
r1 r336 34 34 #include <avango/osg/Geometry.h> 35 35 #include <osg/Texture2D> 36 #include <avango/osg/Texture2D.h> 36 37 #include <osgDB/ReadFile> 37 38 #include <avango/osg/Fields.h> … … 71 72 SFVec4 Color; 72 73 SFVec3 Position; 74 SFTexture2D Texture; 75 //Due to backwards compatibility, thie flag indicates if the field Filename can be used to load a texture directly. 76 //If this is set to False, the Texture field must be used directly. Default is True 77 SFBool UseFilename; 73 78 SFString Filename; 74 79 SFInt MinFilter; … … 79 84 /* virtual */ void evaluateLocalSideEffect(); 80 85 81 82 /** 86 /** 83 87 * Get the ::osg::Texture object. 84 88 * \return an osg::ref pointer to the texture object … … 95 99 ::osg::ref_ptr< ::osg::Vec4Array> mColors; 96 100 ::osg::ref_ptr< ::osg::Vec2Array> mTexCoords; 97 ::osg::ref_ptr< ::osg::Texture2D> mOsgTexture;98 101 99 102 void updateGeometry();
Note: See TracChangeset
for help on using the changeset viewer.
