Functions inside structures in GLSL 3.x

Are structures allowed to have member functions in GLES SL 3.x The GLES SL grammar has a production : “postfix_expression DOT function_call_generic” which seems to cater to this particular language feature, but the grammar for structure declaration does not support member functions.
My question is: which language feature does the above production cater to?

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.