Skip to content
New issue

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

How can one get access to WebGLUniformLocation, WebGLProgram, WebGLShader, WebGLFramebuffer and so on? #82

Open
D504 opened this issue Aug 14, 2016 · 0 comments

Comments

@D504
Copy link

D504 commented Aug 14, 2016

I want to check some object using something like this:
if (gl_obj.constructor == WebGLProgram) {
// code
}

But WebGLProgram is defined in global space (window.WebGLProgram) in browser.

How can I do the if-statement using headless-gl?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant