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
In particular
gl.drawingBufferToneMapping = { mode:"extended" };
implies setting the value of an attribute to a dictionary. But Web IDL attributes cannot return dictionaries, so this would break.
You'd need either something like
gl.setDrawingBufferToneMapping({ mode: "extended" }); // now gl.getDrawinBufferToneMapping() can return a fresh dictionary each time
or
gl.drawingBufferToneMappingMode = "extended"; // and future extensions will also need to be flattened
The text was updated successfully, but these errors were encountered:
Thanks for the input! I'll discuss with the WebGL people about resolving this. The WebGPU API is much nicer in terms of setting these properties.
Sorry, something went wrong.
No branches or pull requests
In particular
implies setting the value of an attribute to a dictionary. But Web IDL attributes cannot return dictionaries, so this would break.
You'd need either something like
or
The text was updated successfully, but these errors were encountered: