mirror of
https://github.com/Rezmason/matrix.git
synced 2026-04-18 14:19:30 -07:00
Added cache check to WebGPU renderer's loadShader method. Un-commented entries into config.js. Inclusions are now explicit dynamic import lambdas, so the cache functions can detect and call them; however, webpack and rollup seem to use them differently.
This commit is contained in:
@@ -2,7 +2,4 @@ import { Matrix } from "./Matrix";
|
||||
import inclusions from "./inclusions";
|
||||
import * as reglRenderer from "./regl/main";
|
||||
import * as webgpuRenderer from "./webgpu/main";
|
||||
globalThis.inclusions = inclusions;
|
||||
globalThis.reglRenderer = reglRenderer;
|
||||
globalThis.webgpuRenderer = webgpuRenderer;
|
||||
globalThis.Matrix = Matrix;
|
||||
export { inclusions, reglRenderer, webgpuRenderer, Matrix };
|
||||
|
||||
Reference in New Issue
Block a user