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.

20 lines 596 B
// Do not edit. import { ShaderStore } from "../../Engines/shaderStore.js"; const name = "sceneUboDeclaration"; const shader = `struct Scene {viewProjection : mat4x4<f32>, #ifdef MULTIVIEW viewProjectionR : mat4x4<f32>, #endif view : mat4x4<f32>, projection : mat4x4<f32>, vEyePosition : vec4<f32>,}; #define SCENE_UBO var<uniform> scene : Scene; `; // Sideeffect if (!ShaderStore.IncludesShadersStoreWGSL[name]) { ShaderStore.IncludesShadersStoreWGSL[name] = shader; } /** @internal */ export const sceneUboDeclarationWGSL = { name, shader }; //# sourceMappingURL=sceneUboDeclaration.js.map