Ported osg::Geometry across to supporting the aliasing of vertex, color and normal etc. calls to Vertex Attributes.
Added support for automatic aliasing of vertex, normal, color etc. arrays to Vertex Attribute equivelants. Added new osg::GLBeginEndAdapter class for runtime conversion from glBegin/glEnd codes to vertex arrray equivelants. Added automatic shader source conversion from gl_ to osg_ builtins.
This commit is contained in:
@@ -162,7 +162,7 @@ class OSG_EXPORT Program : public osg::StateAttribute
|
||||
GLuint getHandle() const {return _glProgramHandle;}
|
||||
|
||||
void requestLink();
|
||||
void linkProgram();
|
||||
void linkProgram(osg::State& state);
|
||||
bool validateProgram();
|
||||
bool needsLink() const {return _needsLink;}
|
||||
bool isLinked() const {return _isLinked;}
|
||||
|
||||
Reference in New Issue
Block a user