2024-12-05 20:56:18 -07:00
|
|
|
#import <HTML/HTMLCanvasElement.idl>
|
2022-06-04 04:22:42 +01:00
|
|
|
#import <WebGL/WebGLRenderingContextBase.idl>
|
2024-08-17 01:26:02 +01:00
|
|
|
#import <WebGL/WebGLRenderingContextOverloads.idl>
|
2022-06-04 04:22:42 +01:00
|
|
|
|
2023-11-07 19:29:22 -07:00
|
|
|
// https://registry.khronos.org/webgl/specs/latest/1.0/#5.14
|
2023-09-03 02:00:01 +12:00
|
|
|
[Exposed=(Window,Worker)]
|
2022-06-04 04:22:42 +01:00
|
|
|
interface WebGLRenderingContext {
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
WebGLRenderingContext includes WebGLRenderingContextBase;
|
2024-08-17 01:26:02 +01:00
|
|
|
WebGLRenderingContext includes WebGLRenderingContextOverloads;
|
2024-12-05 02:59:00 +01:00
|
|
|
|
|
|
|
|
enum WebGLPowerPreference {
|
|
|
|
|
"default",
|
|
|
|
|
"low-power",
|
|
|
|
|
"high-performance"
|
|
|
|
|
};
|