sceneUboDeclaration.js 516 B

12345678910111213141516
  1. // Do not edit.
  2. import { ShaderStore } from "../../Engines/shaderStore.js";
  3. const name = "sceneUboDeclaration";
  4. const shader = `struct Scene {viewProjection : mat4x4<f32>,
  5. #ifdef MULTIVIEW
  6. viewProjectionR : mat4x4<f32>,
  7. #endif
  8. view : mat4x4<f32>,
  9. projection : mat4x4<f32>,
  10. vEyePosition : vec4<f32>,};var<uniform> scene : Scene;
  11. `;
  12. // Sideeffect
  13. ShaderStore.IncludesShadersStoreWGSL[name] = shader;
  14. /** @internal */
  15. export const sceneUboDeclaration = { name, shader };
  16. //# sourceMappingURL=sceneUboDeclaration.js.map