Hi Wyatt,

I don't know where to start as I don't understand your point of
confusion.  The best thing you can do is go look at the
include/osg/Unform header, and the examples that use uniforms, just do
a search through the OSG sources for osg::Uniform to see how it's
used.

Robert.

On Thu, Sep 3, 2009 at 4:51 PM, Wyatt Earp<wyattbsearp1...@gmail.com> wrote:
> 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
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to