playcanvas
Version:
Open-source WebGL/WebGPU 3D engine for the web
14 lines (11 loc) • 424 B
JavaScript
// Declarations for Container GSplat format
var gsplatContainerDeclVS = /* wgsl */ `
// Format-provided declarations (textures, load functions, uniforms)
// Interface variables set by user's read code
var<private> splatCenter: vec3f;
var<private> splatColor: vec4f;
var<private> splatScale: vec3f;
var<private> splatRotation: vec4f;
`;
export { gsplatContainerDeclVS as default };