@types/webgl2
Advanced tools
Comparing version 0.0.6 to 0.0.7
{ | ||
"name": "@types/webgl2", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "TypeScript definitions for WebGL 2, Editor's Draft Fri Feb 24 16:10:18 2017 -0800", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webgl2", | ||
"license": "MIT", | ||
@@ -27,4 +28,4 @@ "contributors": [ | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "de1267129e17507d982fbc463392b992e9c90fec589ec7d741319883c65538f2", | ||
"typeScriptVersion": "3.5" | ||
"typesPublisherContentHash": "7d6200dbc09304c901cd98260a71dc79aaa776b78bee6e08571f066f6e5979db", | ||
"typeScriptVersion": "4.2" | ||
} |
@@ -9,9 +9,68 @@ # Installation | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webgl2. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webgl2/index.d.ts) | ||
````ts | ||
// Type definitions for WebGL 2, Editor's Draft Fri Feb 24 16:10:18 2017 -0800 | ||
// Project: https://www.khronos.org/registry/webgl/specs/latest/2.0/ | ||
// Definitions by: Nico Kemnitz <https://github.com/nkemnitz> | ||
// Adrian Blumer <https://github.com/karhu> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
interface HTMLCanvasElement extends HTMLElement { | ||
getContext(contextId: "webgl2" | "experimental-webgl2", contextAttributes?: WebGLContextAttributes): WebGL2RenderingContext | null; | ||
} | ||
interface ImageBitmap { | ||
readonly width: number; | ||
readonly height: number; | ||
close(): void; | ||
} | ||
interface WebGLQuery { | ||
} | ||
declare var WebGLQuery: { | ||
prototype: WebGLQuery; | ||
new (): WebGLQuery; | ||
}; | ||
interface WebGLSampler { | ||
} | ||
declare var WebGLSampler: { | ||
prototype: WebGLSampler; | ||
new (): WebGLSampler; | ||
}; | ||
interface WebGLSync { | ||
} | ||
declare var WebGLSync: { | ||
prototype: WebGLSync; | ||
new (): WebGLSync; | ||
}; | ||
interface WebGLTransformFeedback { | ||
} | ||
declare var WebGLTransformFeedback: { | ||
prototype: WebGLTransformFeedback; | ||
new (): WebGLTransformFeedback; | ||
}; | ||
interface WebGLVertexArrayObject { | ||
} | ||
declare var WebGLVertexArrayObject: { | ||
prototype: WebGLVertexArrayObject; | ||
new (): WebGLVertexArrayObject; | ||
}; | ||
```` | ||
### Additional Details | ||
* Last updated: Fri, 12 Mar 2021 23:40:47 GMT | ||
* Last updated: Tue, 24 Jan 2023 20:34:39 GMT | ||
* Dependencies: none | ||
* Global values: `WebGL2RenderingContext`, `WebGLQuery`, `WebGLSampler`, `WebGLSync`, `WebGLTransformFeedback`, `WebGLVertexArrayObject` | ||
* Global values: `WebGLQuery`, `WebGLSampler`, `WebGLSync`, `WebGLTransformFeedback`, `WebGLVertexArrayObject` | ||
# Credits | ||
These definitions were written by [Nico Kemnitz](https://github.com/nkemnitz), and [Adrian Blumer](https://github.com/karhu). |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
1
76
5455
43
1