On Thu, 28 Jun 2018 at 13:06, Sebastian Messerschmidt
<sebastian.messerschm...@gmx.de> wrote:
> @Robert:
> Any insights?

The original osg::Uniform class is a bit of unwieldy mess. In
hindsight we shouldn't have gone for this particular implementation as
it's a bit too open ended.

In master I have written a osg::UniformBase class and a template
uniform class that enables use to create a series of explictly typed
uniforms such as IntUnfirom, FloatUnfiorm etc.  This scheme is a bit
more robust when it comes to being able to easily pick the type you
want.

Robert.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to