UNPKG

@babylonjs/viewer

Version:

The Babylon Viewer aims to simplify a specific but common Babylon.js use case: loading, viewing, and interacting with a 3D model.

18 lines (15 loc) 519 B
import { S as ShaderStore } from './index-MZPybX0H.esm.js'; // Do not edit. const name = "meshUboDeclaration"; const shader = `struct Mesh {world : mat4x4<f32>, visibility : f32,};var<uniform> mesh : Mesh; #define WORLD_UBO `; // Sideeffect if (!ShaderStore.IncludesShadersStoreWGSL[name]) { ShaderStore.IncludesShadersStoreWGSL[name] = shader; } /** @internal */ const meshUboDeclarationWGSL = { name, shader }; export { meshUboDeclarationWGSL as m }; //# sourceMappingURL=meshUboDeclaration-CCr-qXSL.esm.js.map