Skip to content

Commit

Permalink
Export luma functions
Browse files Browse the repository at this point in the history
How should a scripting application use luma 9 to register or create devices? Or in my case, call `enforceWebGL2` from a https://codesandbox.io/p/sandbox/deck-v9-maplibre-interleave-repro-8602-mapbox-v1-fork-4hwfff?file=%2Findex.html%3A16%2C1. Add `luma` namespace functions to the pre-built bundle.
  • Loading branch information
chrisgervang committed Apr 23, 2024
1 parent 2da66e8 commit c0d9f99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/core/src/scripting/lumagl.ts
@@ -1,7 +1,7 @@
/**
* Re-exported luma.gl API in the pre-built bundle
*/
export {Device, Buffer, Texture, Framebuffer} from '@luma.gl/core';
export {luma, Device, Buffer, Texture, Framebuffer} from '@luma.gl/core';
export {
Model,
BufferTransform,
Expand Down

0 comments on commit c0d9f99

Please sign in to comment.