GreasedLine webGPU support

They are not exported in any index.ts actually.

Edit: I’m already AFK, I believe only the new files for the WGSL plugin material shaders are not exported but they contain only one internal function. Let me double check this later.

1 Like

If they are using directly in a UMD context (i.e. should be used in the BABYLON namespace), they must be exported somewhere. I found this in the parent index.ts:

You can, of course, use the new one that you created, just make sure to export it from the parent index.ts

Anything that should be available in a UMD context must be exported in an index.ts. In a specific module it can also be dynamically imported, which is very es6 friendly.

1 Like

I put those exports here: