YFTFM ? Where ? When ? WL

-----Oryginalna wiadomość----- From: Ulrich Hertlein
Sent: Wednesday, December 08, 2010 10:42 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] osgCal does not build - where is PerContextProgram::getUniformLocation( string ) method ?

On 9/12/10 0:11 , Robert Osfield wrote:
Do you think it makes sense to add following extra method to
PerContextProgram ?

inline GLint  getUniformLocation( const std::string & name )
{
    return getUniformLocation( osg::Uniform::getNameId(  name ) );
}

For backwards compatibility purposes I have no objection to adding
this method and the above implementation into the OSG.  Feel free to
implement, test, *document it*, and post the change to osg-submissions.

FTFY. ;-)
/ulrich
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to