Added osg::Capability and Cabibilityi base classes to wrap up glEnable/glDisable + glEnablei/glDisablei functionality, with osg::Enablei and osg::Disablei concrete implementations.

git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14564 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
Robert Osfield
2014-12-03 17:31:16 +00:00
parent 457d41d385
commit 5efe60dcf5
5 changed files with 254 additions and 1 deletions

View File

@@ -197,7 +197,9 @@ class OSG_EXPORT StateAttribute : public Object
FRAME_BUFFER_OBJECT,
VERTEX_ATTRIB_DIVISOR
VERTEX_ATTRIB_DIVISOR,
CAPABILITY = 100
};
/** Simple pairing between an attribute type and the member within that attribute type group.*/