[Public WebGL] WebGLAttributeLocation instead of GLint?

Hao Nguyen [email protected]
Sun Jan 3 07:11:02 PST 2010


I think it would be more intuitive to have vertex attribute index to
be an interface like WebGLAttributeLocation (similar to
WebGLUniformLocation) rather than using an GLint. After all, we are
not modifying the value of that integer anyway. Then, we can get rid
of bindAttribLocation(), and have the context implementation binds a
unique index to an attribute variable when getAttribLocation() is
called for the first time.
-----------------------------------------------------------
You are currently subscribe to [email protected]
To unsubscribe, send an email to [email protected] with
the following command in the body of your email:




More information about the public_webgl mailing list