UNPKG

@babylonjs/core

Version:

Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.

14 lines 470 B
// Do not edit. import { ShaderStore } from "../../Engines/shaderStore.js"; 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 */ export const meshUboDeclarationWGSL = { name, shader }; //# sourceMappingURL=meshUboDeclaration.js.map