New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ogl

Package Overview
Dependencies
Maintainers
1
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ogl - npm Package Compare versions

Comparing version 0.0.105 to 0.0.106

2

package.json
{
"name": "ogl",
"version": "0.0.105",
"version": "0.0.106",
"description": "WebGL Library",

@@ -5,0 +5,0 @@ "exports": "./src/index.mjs",

@@ -84,3 +84,3 @@ // TODO: Destroy render targets if size changed and exists

// Uses same arguments as renderer.render, with addition of optional texture passed in to avoid scene render
render({ scene, camera, texture, target = null, update = true, sort = true, frustumCull = true }) {
render({ scene, camera, texture, target = null, update = true, sort = true, frustumCull = true, beforePostCallbacks }) {
const enabledPasses = this.passes.filter((pass) => pass.enabled);

@@ -98,2 +98,5 @@

this.fbo.swap();
// Callback after rendering scene, but before post effects
if (beforePostCallbacks) beforePostCallbacks.forEach((f) => f && f());
}

@@ -100,0 +103,0 @@

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