0.0.0 • Published 10 years ago

gl-catch-context v0.0.0

Weekly downloads
1
License
-
Repository
github
Last release
10 years ago

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.