struct Abc{
float a;
float b;
};
uniform Abc m_A;
uniform Abc m_B[10];
Consider the example above.
If i want to set m_A i can declare
Float A.a
Float A.b
in j3md and then call setFloat("A.a",1.);
and so on.
But what should I do for m_B?
I suppose something like that
Float B[0].a
Float B[0].b
Float B[1].a
Float B[1].b
Float B[2].a
Float B[2].b
...
would work, but it’s not really a viable solution.
So I ask: what is the good way (if there is any…) to do this in jme? Or is it a missing feature?