Re: [Development] Copying QJSValue arrays

2014-09-29 Thread Sean Harmer
Hi Simon, On Monday 29 Sep 2014 09:20:00 Simon Hausmann wrote: > On Sunday 28. September 2014 15.17.34 Paul Lemire wrote: > > We're working on being able to set GLSL uniform arrays from QML. > > > > Basically what we have is a QParameter QObject exposed to QML as > > Parameter. > > > > It contai

Re: [Development] Copying QJSValue arrays

2014-09-29 Thread Simon Hausmann
On Sunday 28. September 2014 15.17.34 Paul Lemire wrote: > Hi guys, > > > > > We're working on being able to set GLSL uniform arrays from QML. > > Basically what we have is a QParameter QObject exposed to QML as Parameter. > > > > > It contains a QString name property and a QVariant value

[Development] Copying QJSValue arrays

2014-09-28 Thread Paul Lemire
Hi guys, We're working on being able to set GLSL uniform arrays from QML. Basically what we have is a QParameter QObject exposed to QML as Parameter. It contains a QString name property and a QVariant value property. Here's how it can be used for scalar types. Parameter { name