We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I was going through the [fundamentals[(https://webgl2fundamentals.org/webgl/lessons/webgl-fundamentals.html) when I came across this:
var positionAttributeLocation = gl.getAttribLocation(program, "a_position");
This gives me this error: Uncaught TypeError: gl.getAttribLocation is not a function.
Uncaught TypeError: gl.getAttribLocation is not a function
You'll see it's not part of the WebGL2RenderingContext API Methods on MDN, but it is part of the WebGLRenderingContext API Methods.
I suspect is something that's just not updated from the old site. However, as I am new to WebGL, I'm also not sure how to get past this.
The text was updated successfully, but these errors were encountered:
Disregard. This is my mistake:
https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext
Sorry, something went wrong.
No branches or pull requests
Hi,
I was going through the [fundamentals[(https://webgl2fundamentals.org/webgl/lessons/webgl-fundamentals.html) when I came across this:
This gives me this error:
Uncaught TypeError: gl.getAttribLocation is not a function
.You'll see it's not part of the WebGL2RenderingContext API Methods on MDN, but it is part of the WebGLRenderingContext API Methods.
I suspect is something that's just not updated from the old site. However, as I am new to WebGL, I'm also not sure how to get past this.
The text was updated successfully, but these errors were encountered: