[osg-users] Detecting the use of a texture array in the State

2014-03-25 Thread Glenn Waldron
Robert, I'm working on the osgEarth ShaderGenerator and I have a question for you :) One of the things I need to do is collect the current osg::State at a given point in the scene graph. So, my visitor pushes statesets into a State as usual, and then I'm able to examine that state as necessary.

Re: [osg-users] Detecting the use of a texture array in the State

2014-03-25 Thread Robert Osfield
Hi Glenn, I don't really have a definition answer. The best I can suggest for now is to query to see if a Texture2DArray has been assigned to texture attribute list rather than looking at the modes. Robert. On 25 March 2014 13:35, Glenn Waldron gwald...@gmail.com wrote: Robert, I'm

Re: [osg-users] Detecting the use of a texture array in the State

2014-03-25 Thread Glenn Waldron
Thanks Robert. That was my backup plan -- I'll go with it :) Glenn Waldron / @glennwaldron On Tue, Mar 25, 2014 at 11:29 AM, Robert Osfield robert.osfi...@gmail.comwrote: Hi Glenn, I don't really have a definition answer. The best I can suggest for now is to query to see if a