I posted this via the mailing list, but it seems to never have gone through.

I want to use a struct in my glsl shader.

osg::StateSet::getOrCreateUniform allows for the specification of 
Uniform::Type, but I don't see an enumeration for struct.  How would I 
create/set the uniform struct?

WE 



Wyatt

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=17032#17032





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

Reply via email to