🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

regl-shader-error-overlay

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

regl-shader-error-overlay

silly monkeypatched dev tool to render shader errors logged and formated by regl as overlays

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

regl-shader-error-overlay

Somewhat silly monkey-patched dev tool to render shader errors logged by regl as formatted overlays. Ideally, this would be a plugin or option in regl itself, but this works!

screenshot

usage:

npm install -S regl-shader-error-overlay

import {setupOverlay} from "regl-shader-error-overlay";
setupOverlay();

//... (regl code)

The log statements we're targeting are logged by regl here: https://github.com/regl-project/regl/blob/master/lib/util/check.js#L233

Keywords

regl

FAQs

Package last updated on 17 Feb 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts