Skip to content

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

License

Notifications You must be signed in to change notification settings

hughsk/gl-catch-context

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published