Introduced new osg::PatchParameter StateAttribute class to wrap up glPatchParameter associated state.
Note, osg::Program::setParameter(GL_PATCH_VERTICES,num); is nolonger support and should be replaced by using the new PatchParameter class.
This commit is contained in:
@@ -190,7 +190,9 @@ class OSG_EXPORT StateAttribute : public Object
|
||||
UNIFORMBUFFERBINDING,
|
||||
TRANSFORMFEEDBACKBUFFERBINDING,
|
||||
|
||||
ATOMICCOUNTERBUFFERBINDING
|
||||
ATOMICCOUNTERBUFFERBINDING,
|
||||
|
||||
PATCH_PARAMETER
|
||||
};
|
||||
|
||||
/** Simple pairing between an attribute type and the member within that attribute type group.*/
|
||||
|
||||
Reference in New Issue
Block a user