Further work on trying to get glGenerateMipMapEXT working in conjunction with

frame buffer objects.  Still don't work under Linux yet through :-|
This commit is contained in:
Robert Osfield
2005-07-27 11:27:44 +00:00
parent 72a59527f5
commit 4e69d46289
9 changed files with 77 additions and 69 deletions

View File

@@ -207,6 +207,15 @@ class OSG_EXPORT Texture : public osg::StateAttribute
virtual bool isTextureAttribute() const { return true; }
virtual GLenum getTextureTarget() const = 0;
virtual bool getModeUsage(ModeUsage& usage) const
{
usage.usesTextureMode(getTextureTarget());
return true;
}
enum WrapParameter {
WRAP_S,
WRAP_T,