clipPlaneVertexDeclaration.js 843 B

123456789101112131415161718192021222324252627
  1. // Do not edit.
  2. import { ShaderStore } from "../../Engines/shaderStore.js";
  3. const name = "clipPlaneVertexDeclaration";
  4. const shader = `#ifdef CLIPPLANE
  5. uniform vClipPlane: vec4<f32>;varying fClipDistance: f32;
  6. #endif
  7. #ifdef CLIPPLANE2
  8. uniform vClipPlane2: vec4<f32>;varying fClipDistance2: f32;
  9. #endif
  10. #ifdef CLIPPLANE3
  11. uniform vClipPlane3: vec4<f32>;varying fClipDistance3: f32;
  12. #endif
  13. #ifdef CLIPPLANE4
  14. uniform vClipPlane4: vec4<f32>;varying fClipDistance4: f32;
  15. #endif
  16. #ifdef CLIPPLANE5
  17. uniform vClipPlane5: vec4<f32>;varying fClipDistance5: f32;
  18. #endif
  19. #ifdef CLIPPLANE6
  20. uniform vClipPlane6: vec4<f32>;varying fClipDistance6: f32;
  21. #endif
  22. `;
  23. // Sideeffect
  24. ShaderStore.IncludesShadersStoreWGSL[name] = shader;
  25. /** @internal */
  26. export const clipPlaneVertexDeclaration = { name, shader };
  27. //# sourceMappingURL=clipPlaneVertexDeclaration.js.map