gl-catch-context

0.0.0 • Public • Published

gl-catch-context experimental

Retrieve any newly created WebGL contexts as they're being created. Useful for instrumentation.

Usage

gl-catch-context

glCatchContext(callback)

Calls callback(context) when a new context is created. Make sure you require this file before the rest of your code, or you won't catch it!

License

MIT. See LICENSE.md for details.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.0
    1

Package Sidebar

Install

npm i gl-catch-context

Weekly Downloads

1

Version

0.0.0

License

MIT

Last publish

Collaborators

  • hughsk