No API for access getActiveAttrib/getActiveUniform
GLSL shader prototyping tool based on Eclipse IDE.
Brought to you by:
r-e-v-e-r-s
No way to call getActiveAttrib and getActiveUniform
This functions may return WebGLActiveInfo object
https://www.khronos.org/registry/webgl/specs/latest/1.0/
WebGLActiveInfo? getActiveAttrib(WebGLProgram? program, GLuint index); WebGLActiveInfo? getActiveUniform(WebGLProgram? program, GLuint index);
These functions are missing. I will add them in the next Synthclipse release (planned at the end of the month).
For now you can use the following workaround:
Also if you are using Synth API (not pure WebGL) these functions might be helpful:
GLSLProgram.printActiveAttributes()
GLSLProgram.printActiveUniforms()
(Check out "JSX Examples\II. Synth API\1. ProgramFactory\program-factory.jsx" for a use case)
Thanks for the quick help)
I'm trying to write another WebGL framework in Synthclipse, so I think, I'll provide more bugs.
PS. I found one more bug, if comment buffer data commit, for example:
Eclipse will crash
Thanks for another bug report. Unfortunately I don't know if I will be able to fix this error.