WebGL implementations might mask the RENDERER
and VENDOR
strings of the underlying graphics driver for privacy reasons. This extension exposes new tokens to query this information in a guaranteed manner for debugging purposes.
UNMASKED_VENDOR_WEBGL
and UNMASKED_RENDERER_WEBGL
are accepted by pname
parameter in getParameter()
.
pname | returned type |
---|---|
UNMASKED_VENDOR_WEBGL | DOMString |
UNMASKED_RENDERER_WEBGL | DOMString |
UNMASKED_VENDOR_WEBGL | Return the VENDOR string of the underlying graphics driver. |
UNMASKED_RENDERER_WEBGL | Return the RENDERER string of the underlying graphics driver. |
1) What enum values should be used for UNMASKED_VENDOR_WEBGL and UNMASKED_RENDERER_WEBGL?
2) Should this extension be made available on ordinary web pages?