Socket
Socket
Sign inDemoInstall

@types/webgl2

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/webgl2 - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

7

webgl2/package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc