@epigraph/epigraph-std-lib 3.3.1 → 4.0.0-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +38 -6
- package/dist/Epigraph/epigraph.d.ts +2 -2
- package/dist/Epigraph/epigraph.js +178 -0
- package/dist/EpigraphLibs/EpigraphLogger/epigraphLogger.d.ts +3 -4
- package/dist/EpigraphLibs/EpigraphUrlProcessor/epigraphUrlProcessor.d.ts +1 -1
- package/dist/EpigraphLibs/epigraphAnalytics.js +399 -0
- package/dist/EpigraphLibs/epigraphLogger.js +199 -0
- package/dist/EpigraphLibs/epigraphNexusApi.js +153 -0
- package/dist/EpigraphLibs/epigraphQrCodeGenerator.js +938 -0
- package/dist/EpigraphLibs/epigraphResultFactory.js +28 -0
- package/dist/EpigraphLibs/epigraphUnitsConverter.js +88 -0
- package/dist/EpigraphLibs/epigraphUrlProcessor.js +76 -0
- package/dist/ThirdPartyLibs/modelViewer.d.ts +2 -0
- package/dist/ThirdPartyLibs/modelViewer.js +8608 -0
- package/dist/ThirdPartyLibs/{thirdPartyLibs.d.ts → threejs.d.ts} +0 -2
- package/dist/ThirdPartyLibs/threejs.js +800 -0
- package/dist/chunks/VerticalBlurShader.B0rdEBFu.js +26381 -0
- package/dist/epigraph-std-lib.d.ts +1 -3
- package/dist/epigraph-std-lib.js +0 -37462
- package/package.json +76 -11
- package/dist/EpigraphLibs/epigraphLibs.d.ts +0 -9
- /package/dist/EpigraphLibs/EpigraphAnalytics/{EpigraphAnalytics.d.ts → epigraphAnalytics.d.ts} +0 -0
|
@@ -0,0 +1,800 @@
|
|
|
1
|
+
import { M as G, O as A, B as y, F as b, S, U as B, V as C, W as F, H as D, N as E, C as w } from "../chunks/VerticalBlurShader.B0rdEBFu.js";
|
|
2
|
+
import { A as j, e as ee, f as ae, cc as se, g as te, h as re, i as ie, j as ne, k as oe, cd as le, ce, cf as fe, cg as ue, ch as de, ci as he, cj as pe, ck as me, cl as ge, l as Me, cm as be, cn as Se, co as Ce, cp as _e, cq as xe, cr as Te, cs as ve, ct as Le, m as Re, cu as Ge, cv as Ae, cw as ye, cx as Be, cy as Fe, cz as De, cA as Ee, cB as we, n as Pe, cC as Ie, o as Ue, cD as Ne, p as Oe, cE as ke, cF as We, cG as Ve, cH as He, cI as qe, cJ as ze, q as Ke, cK as Qe, r as $e, s as Xe, cL as Ze, t as Ye, cM as Je, cN as je, cO as ea, cP as aa, cQ as sa, u as ta, v as ra, cR as ia, cS as na, w as oa, x as la, y as ca, cT as fa, z as ua, cU as da, cV as ha, cW as pa, E as ma, I as ga, cX as Ma, J as ba, cY as Sa, cZ as Ca, K as _a, L as xa, c_ as Ta, c$ as va, D as La, P as Ra, Q as Ga, d0 as Aa, d1 as ya, d2 as Ba, d3 as Fa, d4 as Da, d5 as Ea, T as wa, X as Pa, Y as Ia, d6 as Ua, d7 as Na, d8 as Oa, d9 as ka, da as Wa, Z as Va, _ as Ha, $ as qa, db as za, dc as Ka, dd as Qa, de as $a, df as Xa, a0 as Za, a1 as Ya, dg as Ja, a2 as ja, a3 as es, a4 as as, a5 as ss, dh as ts, di as rs, dj as is, a6 as ns, dk as os, dl as ls, dm as cs, a7 as fs, a8 as us, dn as ds, dp as hs, a9 as ps, a as ms, G as gs, aa as Ms, ab as bs, ac as Ss, ad as Cs, dq as _s, dr as xs, ds as Ts, ae as vs, dt as Ls, du as Rs, c as Gs, dv as As, dw as ys, dx as Bs, dy as Fs, dz as Ds, dA as Es, dB as ws, dC as Ps, dD as Is, dE as Us, dF as Ns, dG as Os, dH as ks, af as Ws, dI as Vs, dJ as Hs, dK as qs, dL as zs, dM as Ks, dN as Qs, dO as $s, dP as Xs, dQ as Zs, dR as Ys, dS as Js, ag as js, ah as et, ai as at, aj as st, ak as tt, dT as rt, dU as it, dV as nt, dW as ot, dX as lt, dY as ct, dZ as ft, d_ as ut, d$ as dt, e0 as ht, e1 as pt, e2 as mt, al as gt, e3 as Mt, e4 as bt, e5 as St, am as Ct, an as _t, ao as xt, ap as Tt, aq as vt, e6 as Lt, e7 as Rt, e8 as Gt, e9 as At, ea as yt, eb as Bt, ar as Ft, as as Dt, ec as Et, ed as wt, ee as Pt, ef as It, eg as Ut, at as Nt, au as Ot, av as kt, aw as Wt, ax as Vt, ay as Ht, eh as qt, ei as zt, ej as Kt, ek as Qt, el as $t, em as Xt, en as Zt, az as Yt, aA as Jt, aB as jt, aC as er, aD as ar, aE as sr, eo as tr, ep as rr, aF as ir, aG as nr, aH as or, aI as lr, aJ as cr, eq as fr, aK as ur, aL as dr, er as hr, aM as pr, aN as mr, aO as gr, es as Mr, et as br, eu as Sr, ev as Cr, aP as _r, ew as xr, aQ as Tr, aR as vr, aS as Lr, aT as Rr, aU as Gr, aV as Ar, aW as yr, aX as Br, aY as Fr, aZ as Dr, ex as Er, a_ as wr, a$ as Pr, b0 as Ir, ey as Ur, ez as Nr, eA as Or, eB as kr, eC as Wr, eD as Vr, eE as Hr, eF as qr, eG as zr, eH as Kr, eI as Qr, eJ as $r, eK as Xr, eL as Zr, eM as Yr, b1 as Jr, b2 as jr, b3 as ei, b4 as ai, b5 as si, b6 as ti, b7 as ri, b8 as ii, b9 as ni, ba as oi, bb as li, bc as ci, bd as fi, be as ui, bf as di, bg as hi, bh as pi, bi as mi, bj as gi, bk as Mi, bl as bi, bm as Si, bn as Ci, bo as _i, bp as xi, bq as Ti, br as vi, eN as Li, R as Ri, bs as Gi, eO as Ai, bt as yi, bu as Bi, bv as Fi, bw as Di, bx as Ei, by as wi, bz as Pi, eP as Ii, bA as Ui, bB as Ni, eQ as Oi, eR as ki, eS as Wi, eT as Vi, bC as Hi, bD as qi, bE as zi, eU as Ki, eV as Qi, eW as $i, bF as Xi, eX as Zi, bG as Yi, eY as Ji, bH as ji, bI as en, bJ as an, bK as sn, eZ as tn, bL as rn, bM as nn, e_ as on, e$ as ln, f0 as cn, f1 as fn, f2 as un, bN as dn, f3 as hn, f4 as pn, f5 as mn, f6 as gn, f7 as Mn, f8 as bn, f9 as Sn, fa as Cn, fb as _n, fc as xn, fd as Tn, fe as vn, ff as Ln, bO as Rn, bP as Gn, bQ as An, fg as yn, fh as Bn, fi as Fn, fj as Dn, fk as En, fl as wn, fm as Pn, fn as In, bR as Un, bS as Nn, fo as On, bT as kn, fp as Wn, bU as Vn, fq as Hn, fr as qn, fs as zn, ft as Kn, fu as Qn, fv as $n, fw as Xn, fx as Zn, fy as Yn, b as Jn, fz as jn, bV as eo, bW as ao, fA as so, fB as to, fC as ro, fD as io, bX as no, bY as oo, bZ as lo, b_ as co, b$ as fo, c0 as uo, c1 as ho, c2 as po, c3 as mo, c4 as go, c5 as Mo, fE as bo, d as So, fF as Co, fG as _o, fH as xo, c6 as To, c7 as vo, c8 as Lo, c9 as Ro, fI as Go, fJ as Ao, fK as yo, fL as Bo, ca as Fo, fM as Do, fN as Eo, cb as wo } from "../chunks/VerticalBlurShader.B0rdEBFu.js";
|
|
3
|
+
class Q {
|
|
4
|
+
static isWebGL2Available() {
|
|
5
|
+
try {
|
|
6
|
+
const e = document.createElement("canvas");
|
|
7
|
+
return !!(window.WebGL2RenderingContext && e.getContext("webgl2"));
|
|
8
|
+
} catch {
|
|
9
|
+
return !1;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
static isColorSpaceAvailable(e) {
|
|
13
|
+
try {
|
|
14
|
+
const a = document.createElement("canvas"), t = window.WebGL2RenderingContext && a.getContext("webgl2");
|
|
15
|
+
return t.drawingBufferColorSpace = e, t.drawingBufferColorSpace === e;
|
|
16
|
+
} catch {
|
|
17
|
+
return !1;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
static getWebGL2ErrorMessage() {
|
|
21
|
+
return this.getErrorMessage(2);
|
|
22
|
+
}
|
|
23
|
+
static getErrorMessage(e) {
|
|
24
|
+
const a = {
|
|
25
|
+
1: "WebGL",
|
|
26
|
+
2: "WebGL 2"
|
|
27
|
+
}, t = {
|
|
28
|
+
1: window.WebGLRenderingContext,
|
|
29
|
+
2: window.WebGL2RenderingContext
|
|
30
|
+
};
|
|
31
|
+
let i = 'Your $0 does not seem to support <a href="http://khronos.org/webgl/wiki/Getting_a_WebGL_Implementation" style="color:#000">$1</a>';
|
|
32
|
+
const s = document.createElement("div");
|
|
33
|
+
return s.id = "webglmessage", s.style.fontFamily = "monospace", s.style.fontSize = "13px", s.style.fontWeight = "normal", s.style.textAlign = "center", s.style.background = "#fff", s.style.color = "#000", s.style.padding = "1.5em", s.style.width = "400px", s.style.margin = "5em auto 0", t[e] ? i = i.replace("$0", "graphics card") : i = i.replace("$0", "browser"), i = i.replace("$1", a[e]), s.innerHTML = i, s;
|
|
34
|
+
}
|
|
35
|
+
// @deprecated, r168
|
|
36
|
+
static isWebGLAvailable() {
|
|
37
|
+
console.warn("isWebGLAvailable() has been deprecated and will be removed in r178. Use isWebGL2Available() instead.");
|
|
38
|
+
try {
|
|
39
|
+
const e = document.createElement("canvas");
|
|
40
|
+
return !!(window.WebGLRenderingContext && (e.getContext("webgl") || e.getContext("experimental-webgl")));
|
|
41
|
+
} catch {
|
|
42
|
+
return !1;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
static getWebGLErrorMessage() {
|
|
46
|
+
return console.warn("getWebGLErrorMessage() has been deprecated and will be removed in r178. Use getWebGL2ErrorMessage() instead."), this.getErrorMessage(1);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
class M {
|
|
50
|
+
constructor() {
|
|
51
|
+
this.isPass = !0, this.enabled = !0, this.needsSwap = !0, this.clear = !1, this.renderToScreen = !1;
|
|
52
|
+
}
|
|
53
|
+
setSize() {
|
|
54
|
+
}
|
|
55
|
+
render() {
|
|
56
|
+
console.error("THREE.Pass: .render() must be implemented in derived pass.");
|
|
57
|
+
}
|
|
58
|
+
dispose() {
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
const P = new A(-1, 1, 1, -1, 0, 1);
|
|
62
|
+
class I extends y {
|
|
63
|
+
constructor() {
|
|
64
|
+
super(), this.setAttribute("position", new b([-1, 3, 0, -1, -1, 0, 3, -1, 0], 3)), this.setAttribute("uv", new b([0, 2, 0, 0, 2, 0], 2));
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
const U = new I();
|
|
68
|
+
class N {
|
|
69
|
+
constructor(e) {
|
|
70
|
+
this._mesh = new G(U, e);
|
|
71
|
+
}
|
|
72
|
+
dispose() {
|
|
73
|
+
this._mesh.geometry.dispose();
|
|
74
|
+
}
|
|
75
|
+
render(e) {
|
|
76
|
+
e.render(this._mesh, P);
|
|
77
|
+
}
|
|
78
|
+
get material() {
|
|
79
|
+
return this._mesh.material;
|
|
80
|
+
}
|
|
81
|
+
set material(e) {
|
|
82
|
+
this._mesh.material = e;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
const O = {
|
|
86
|
+
name: "CopyShader",
|
|
87
|
+
uniforms: {
|
|
88
|
+
tDiffuse: { value: null },
|
|
89
|
+
opacity: { value: 1 }
|
|
90
|
+
},
|
|
91
|
+
vertexShader: (
|
|
92
|
+
/* glsl */
|
|
93
|
+
`
|
|
94
|
+
|
|
95
|
+
varying vec2 vUv;
|
|
96
|
+
|
|
97
|
+
void main() {
|
|
98
|
+
|
|
99
|
+
vUv = uv;
|
|
100
|
+
gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
|
|
101
|
+
|
|
102
|
+
}`
|
|
103
|
+
),
|
|
104
|
+
fragmentShader: (
|
|
105
|
+
/* glsl */
|
|
106
|
+
`
|
|
107
|
+
|
|
108
|
+
uniform float opacity;
|
|
109
|
+
|
|
110
|
+
uniform sampler2D tDiffuse;
|
|
111
|
+
|
|
112
|
+
varying vec2 vUv;
|
|
113
|
+
|
|
114
|
+
void main() {
|
|
115
|
+
|
|
116
|
+
vec4 texel = texture2D( tDiffuse, vUv );
|
|
117
|
+
gl_FragColor = opacity * texel;
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
}`
|
|
121
|
+
)
|
|
122
|
+
};
|
|
123
|
+
class k extends M {
|
|
124
|
+
constructor(e, a) {
|
|
125
|
+
super(), this.textureID = a !== void 0 ? a : "tDiffuse", e instanceof S ? (this.uniforms = e.uniforms, this.material = e) : e && (this.uniforms = B.clone(e.uniforms), this.material = new S({
|
|
126
|
+
name: e.name !== void 0 ? e.name : "unspecified",
|
|
127
|
+
defines: Object.assign({}, e.defines),
|
|
128
|
+
uniforms: this.uniforms,
|
|
129
|
+
vertexShader: e.vertexShader,
|
|
130
|
+
fragmentShader: e.fragmentShader
|
|
131
|
+
})), this.fsQuad = new N(this.material);
|
|
132
|
+
}
|
|
133
|
+
render(e, a, t) {
|
|
134
|
+
this.uniforms[this.textureID] && (this.uniforms[this.textureID].value = t.texture), this.fsQuad.material = this.material, this.renderToScreen ? (e.setRenderTarget(null), this.fsQuad.render(e)) : (e.setRenderTarget(a), this.clear && e.clear(e.autoClearColor, e.autoClearDepth, e.autoClearStencil), this.fsQuad.render(e));
|
|
135
|
+
}
|
|
136
|
+
dispose() {
|
|
137
|
+
this.material.dispose(), this.fsQuad.dispose();
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
class _ extends M {
|
|
141
|
+
constructor(e, a) {
|
|
142
|
+
super(), this.scene = e, this.camera = a, this.clear = !0, this.needsSwap = !1, this.inverse = !1;
|
|
143
|
+
}
|
|
144
|
+
render(e, a, t) {
|
|
145
|
+
const i = e.getContext(), s = e.state;
|
|
146
|
+
s.buffers.color.setMask(!1), s.buffers.depth.setMask(!1), s.buffers.color.setLocked(!0), s.buffers.depth.setLocked(!0);
|
|
147
|
+
let c, h;
|
|
148
|
+
this.inverse ? (c = 0, h = 1) : (c = 1, h = 0), s.buffers.stencil.setTest(!0), s.buffers.stencil.setOp(i.REPLACE, i.REPLACE, i.REPLACE), s.buffers.stencil.setFunc(i.ALWAYS, c, 4294967295), s.buffers.stencil.setClear(h), s.buffers.stencil.setLocked(!0), e.setRenderTarget(t), this.clear && e.clear(), e.render(this.scene, this.camera), e.setRenderTarget(a), this.clear && e.clear(), e.render(this.scene, this.camera), s.buffers.color.setLocked(!1), s.buffers.depth.setLocked(!1), s.buffers.color.setMask(!0), s.buffers.depth.setMask(!0), s.buffers.stencil.setLocked(!1), s.buffers.stencil.setFunc(i.EQUAL, 1, 4294967295), s.buffers.stencil.setOp(i.KEEP, i.KEEP, i.KEEP), s.buffers.stencil.setLocked(!0);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
class W extends M {
|
|
152
|
+
constructor() {
|
|
153
|
+
super(), this.needsSwap = !1;
|
|
154
|
+
}
|
|
155
|
+
render(e) {
|
|
156
|
+
e.state.buffers.stencil.setLocked(!1), e.state.buffers.stencil.setTest(!1);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
class $ {
|
|
160
|
+
constructor(e, a) {
|
|
161
|
+
if (this.renderer = e, this._pixelRatio = e.getPixelRatio(), a === void 0) {
|
|
162
|
+
const t = e.getSize(new C());
|
|
163
|
+
this._width = t.width, this._height = t.height, a = new F(this._width * this._pixelRatio, this._height * this._pixelRatio, { type: D }), a.texture.name = "EffectComposer.rt1";
|
|
164
|
+
} else
|
|
165
|
+
this._width = a.width, this._height = a.height;
|
|
166
|
+
this.renderTarget1 = a, this.renderTarget2 = a.clone(), this.renderTarget2.texture.name = "EffectComposer.rt2", this.writeBuffer = this.renderTarget1, this.readBuffer = this.renderTarget2, this.renderToScreen = !0, this.passes = [], this.copyPass = new k(O), this.copyPass.material.blending = E, this.clock = new w();
|
|
167
|
+
}
|
|
168
|
+
swapBuffers() {
|
|
169
|
+
const e = this.readBuffer;
|
|
170
|
+
this.readBuffer = this.writeBuffer, this.writeBuffer = e;
|
|
171
|
+
}
|
|
172
|
+
addPass(e) {
|
|
173
|
+
this.passes.push(e), e.setSize(this._width * this._pixelRatio, this._height * this._pixelRatio);
|
|
174
|
+
}
|
|
175
|
+
insertPass(e, a) {
|
|
176
|
+
this.passes.splice(a, 0, e), e.setSize(this._width * this._pixelRatio, this._height * this._pixelRatio);
|
|
177
|
+
}
|
|
178
|
+
removePass(e) {
|
|
179
|
+
const a = this.passes.indexOf(e);
|
|
180
|
+
a !== -1 && this.passes.splice(a, 1);
|
|
181
|
+
}
|
|
182
|
+
isLastEnabledPass(e) {
|
|
183
|
+
for (let a = e + 1; a < this.passes.length; a++)
|
|
184
|
+
if (this.passes[a].enabled)
|
|
185
|
+
return !1;
|
|
186
|
+
return !0;
|
|
187
|
+
}
|
|
188
|
+
render(e) {
|
|
189
|
+
e === void 0 && (e = this.clock.getDelta());
|
|
190
|
+
const a = this.renderer.getRenderTarget();
|
|
191
|
+
let t = !1;
|
|
192
|
+
for (let i = 0, s = this.passes.length; i < s; i++) {
|
|
193
|
+
const c = this.passes[i];
|
|
194
|
+
if (c.enabled !== !1) {
|
|
195
|
+
if (c.renderToScreen = this.renderToScreen && this.isLastEnabledPass(i), c.render(this.renderer, this.writeBuffer, this.readBuffer, e, t), c.needsSwap) {
|
|
196
|
+
if (t) {
|
|
197
|
+
const h = this.renderer.getContext(), f = this.renderer.state.buffers.stencil;
|
|
198
|
+
f.setFunc(h.NOTEQUAL, 1, 4294967295), this.copyPass.render(this.renderer, this.writeBuffer, this.readBuffer, e), f.setFunc(h.EQUAL, 1, 4294967295);
|
|
199
|
+
}
|
|
200
|
+
this.swapBuffers();
|
|
201
|
+
}
|
|
202
|
+
_ !== void 0 && (c instanceof _ ? t = !0 : c instanceof W && (t = !1));
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
this.renderer.setRenderTarget(a);
|
|
206
|
+
}
|
|
207
|
+
reset(e) {
|
|
208
|
+
if (e === void 0) {
|
|
209
|
+
const a = this.renderer.getSize(new C());
|
|
210
|
+
this._pixelRatio = this.renderer.getPixelRatio(), this._width = a.width, this._height = a.height, e = this.renderTarget1.clone(), e.setSize(this._width * this._pixelRatio, this._height * this._pixelRatio);
|
|
211
|
+
}
|
|
212
|
+
this.renderTarget1.dispose(), this.renderTarget2.dispose(), this.renderTarget1 = e, this.renderTarget2 = e.clone(), this.writeBuffer = this.renderTarget1, this.readBuffer = this.renderTarget2;
|
|
213
|
+
}
|
|
214
|
+
setSize(e, a) {
|
|
215
|
+
this._width = e, this._height = a;
|
|
216
|
+
const t = this._width * this._pixelRatio, i = this._height * this._pixelRatio;
|
|
217
|
+
this.renderTarget1.setSize(t, i), this.renderTarget2.setSize(t, i);
|
|
218
|
+
for (let s = 0; s < this.passes.length; s++)
|
|
219
|
+
this.passes[s].setSize(t, i);
|
|
220
|
+
}
|
|
221
|
+
setPixelRatio(e) {
|
|
222
|
+
this._pixelRatio = e, this.setSize(this._width, this._height);
|
|
223
|
+
}
|
|
224
|
+
dispose() {
|
|
225
|
+
this.renderTarget1.dispose(), this.renderTarget2.dispose(), this.copyPass.dispose();
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
const V = (n) => {
|
|
229
|
+
const e = [], a = /* @__PURE__ */ new Set();
|
|
230
|
+
for (const t of n) {
|
|
231
|
+
let i = t, s = 0;
|
|
232
|
+
for (; a.has(i); )
|
|
233
|
+
i = t + "." + ++s;
|
|
234
|
+
a.add(i), e.push(i);
|
|
235
|
+
}
|
|
236
|
+
return e;
|
|
237
|
+
}, H = (n, e) => {
|
|
238
|
+
const a = {};
|
|
239
|
+
for (const t of n.mappings)
|
|
240
|
+
for (const i of t.variants)
|
|
241
|
+
a[e[i]] = {
|
|
242
|
+
material: null,
|
|
243
|
+
gltfMaterialIndex: t.material
|
|
244
|
+
};
|
|
245
|
+
return a;
|
|
246
|
+
}, m = (n) => n.material !== void 0 && // easier than (!object.isMesh && !object.isLine && !object.isPoints)
|
|
247
|
+
n.userData && // just in case
|
|
248
|
+
n.userData.variantMaterials, v = (n, e, a) => {
|
|
249
|
+
a(n, e);
|
|
250
|
+
for (let t = 0; t < n.children.length; t++)
|
|
251
|
+
v(n.children[t], e.children[t], a);
|
|
252
|
+
}, x = (n, e) => {
|
|
253
|
+
e.userData.variantMaterials !== void 0 && (n.userData.variantMaterials = Object.assign({}, e.userData.variantMaterials)), e.userData.originalMaterial !== void 0 && (n.userData.originalMaterial = e.userData.originalMaterial);
|
|
254
|
+
};
|
|
255
|
+
class q {
|
|
256
|
+
constructor(e) {
|
|
257
|
+
this.parser = e, this.name = "KHR_materials_variants";
|
|
258
|
+
}
|
|
259
|
+
// Note that the following properties will be overridden even if they are pre-defined
|
|
260
|
+
// - gltf.userData.variants
|
|
261
|
+
// - mesh.userData.variantMaterials
|
|
262
|
+
afterRoot(e) {
|
|
263
|
+
const a = this.parser, t = a.json;
|
|
264
|
+
if (!t.extensions || !t.extensions[this.name])
|
|
265
|
+
return null;
|
|
266
|
+
const s = t.extensions[this.name].variants || [], c = V(s.map((r) => r.name));
|
|
267
|
+
for (const r of e.scenes)
|
|
268
|
+
r.traverse((l) => {
|
|
269
|
+
const o = a.associations.get(l);
|
|
270
|
+
if (!o || o.meshes === void 0 || o.primitives === void 0)
|
|
271
|
+
return;
|
|
272
|
+
const u = t.meshes[o.meshes].primitives[o.primitives].extensions;
|
|
273
|
+
!u || !u[this.name] || (l.userData.variantMaterials = H(u[this.name], c));
|
|
274
|
+
});
|
|
275
|
+
e.userData.variants = c, e.functions = e.functions || {};
|
|
276
|
+
const h = async (r, l, o) => {
|
|
277
|
+
r.userData.originalMaterial || (r.userData.originalMaterial = r.material);
|
|
278
|
+
const p = r.material;
|
|
279
|
+
let d = null;
|
|
280
|
+
if (l === null || !r.userData.variantMaterials[l])
|
|
281
|
+
r.material = r.userData.originalMaterial, a.associations.has(r.material) && (d = a.associations.get(r.material).index);
|
|
282
|
+
else {
|
|
283
|
+
const u = r.userData.variantMaterials[l];
|
|
284
|
+
u.material ? (r.material = u.material, u.gltfMaterialIndex !== void 0 && (d = u.gltfMaterialIndex)) : (d = u.gltfMaterialIndex, r.material = await a.getDependency("material", d), a.assignFinalMaterial(r), u.material = r.material);
|
|
285
|
+
}
|
|
286
|
+
o !== null && o(r, p, d);
|
|
287
|
+
}, f = (r) => {
|
|
288
|
+
const l = r.material, o = r.userData.variantMaterials, p = [];
|
|
289
|
+
for (const d in o) {
|
|
290
|
+
const u = o[d];
|
|
291
|
+
if (u.material)
|
|
292
|
+
continue;
|
|
293
|
+
const L = u.gltfMaterialIndex;
|
|
294
|
+
p.push(a.getDependency("material", L).then((R) => {
|
|
295
|
+
r.material = R, a.assignFinalMaterial(r), o[d].material = r.material;
|
|
296
|
+
}));
|
|
297
|
+
}
|
|
298
|
+
return Promise.all(p).then(() => {
|
|
299
|
+
r.material = l;
|
|
300
|
+
});
|
|
301
|
+
};
|
|
302
|
+
e.functions.selectVariant = (r, l, o = !0, p = null) => {
|
|
303
|
+
const d = [];
|
|
304
|
+
return o ? r.traverse((u) => m(u) && d.push(h(u, l, p))) : m(r) && d.push(h(r, l, p)), Promise.all(d);
|
|
305
|
+
}, e.functions.ensureLoadVariants = (r, l = !0) => {
|
|
306
|
+
const o = [];
|
|
307
|
+
return l ? r.traverse((p) => m(p) && o.push(f(p))) : m(r) && o.push(f(r)), Promise.all(o);
|
|
308
|
+
}, e.functions.copyVariantMaterials = (r, l, o = !0) => {
|
|
309
|
+
o ? v(r, l, (p, d) => x(p, d)) : x(r, l);
|
|
310
|
+
};
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
const X = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
314
|
+
__proto__: null,
|
|
315
|
+
default: q
|
|
316
|
+
}, Symbol.toStringTag, { value: "Module" })), T = (n) => n.material !== void 0 && // easier than (!object.isMesh && !object.isLine && !object.isPoints)
|
|
317
|
+
n.userData && // just in case
|
|
318
|
+
n.userData.variantMaterials && // Is this line costly?
|
|
319
|
+
!!Object.values(n.userData.variantMaterials).filter((e) => g(e.material)), g = (n) => n && n.isMaterial && !Array.isArray(n);
|
|
320
|
+
class z {
|
|
321
|
+
constructor(e) {
|
|
322
|
+
this.writer = e, this.name = "KHR_materials_variants", this.variantNames = [];
|
|
323
|
+
}
|
|
324
|
+
beforeParse(e) {
|
|
325
|
+
const a = /* @__PURE__ */ new Set();
|
|
326
|
+
for (const t of e)
|
|
327
|
+
t.traverse((i) => {
|
|
328
|
+
if (!T(i))
|
|
329
|
+
return;
|
|
330
|
+
const s = i.userData.variantMaterials;
|
|
331
|
+
for (const c in s) {
|
|
332
|
+
const h = s[c];
|
|
333
|
+
g(h.material) && a.add(c);
|
|
334
|
+
}
|
|
335
|
+
});
|
|
336
|
+
a.forEach((t) => this.variantNames.push(t));
|
|
337
|
+
}
|
|
338
|
+
writeMesh(e, a) {
|
|
339
|
+
if (!T(e))
|
|
340
|
+
return;
|
|
341
|
+
const t = e.userData, i = t.variantMaterials, s = {};
|
|
342
|
+
for (const f in i) {
|
|
343
|
+
const r = i[f].material;
|
|
344
|
+
if (!g(r))
|
|
345
|
+
continue;
|
|
346
|
+
const l = this.variantNames.indexOf(f), o = this.writer.processMaterial(r);
|
|
347
|
+
s[o] || (s[o] = {
|
|
348
|
+
material: o,
|
|
349
|
+
variants: []
|
|
350
|
+
}), s[o].variants.push(l);
|
|
351
|
+
}
|
|
352
|
+
const c = Object.values(s).map((f) => f.variants.sort((r, l) => r - l) && f).sort((f, r) => f.material - r.material);
|
|
353
|
+
if (c.length === 0)
|
|
354
|
+
return;
|
|
355
|
+
const h = g(t.originalMaterial) ? this.writer.processMaterial(t.originalMaterial) : -1;
|
|
356
|
+
for (const f of a.primitives)
|
|
357
|
+
h >= 0 && (f.material = h), f.extensions = f.extensions || {}, f.extensions[this.name] = { mappings: c };
|
|
358
|
+
}
|
|
359
|
+
afterParse(e) {
|
|
360
|
+
if (this.variantNames.length === 0)
|
|
361
|
+
return;
|
|
362
|
+
const a = this.writer.json;
|
|
363
|
+
a.extensions = a.extensions || {};
|
|
364
|
+
const t = this.variantNames.map((i) => ({ name: i }));
|
|
365
|
+
a.extensions[this.name] = { variants: t }, this.writer.extensionsUsed[this.name] = !0;
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
const Z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
369
|
+
__proto__: null,
|
|
370
|
+
default: z
|
|
371
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
372
|
+
export {
|
|
373
|
+
j as ACESFilmicToneMapping,
|
|
374
|
+
ee as AddEquation,
|
|
375
|
+
ae as AddOperation,
|
|
376
|
+
se as AdditiveAnimationBlendMode,
|
|
377
|
+
te as AdditiveBlending,
|
|
378
|
+
re as AgXToneMapping,
|
|
379
|
+
ie as AlphaFormat,
|
|
380
|
+
ne as AlwaysCompare,
|
|
381
|
+
oe as AlwaysDepth,
|
|
382
|
+
le as AlwaysStencilFunc,
|
|
383
|
+
ce as AmbientLight,
|
|
384
|
+
fe as AnimationAction,
|
|
385
|
+
ue as AnimationClip,
|
|
386
|
+
de as AnimationLoader,
|
|
387
|
+
he as AnimationMixer,
|
|
388
|
+
pe as AnimationObjectGroup,
|
|
389
|
+
me as AnimationUtils,
|
|
390
|
+
ge as ArcCurve,
|
|
391
|
+
Me as ArrayCamera,
|
|
392
|
+
be as ArrowHelper,
|
|
393
|
+
Se as AttachedBindMode,
|
|
394
|
+
Ce as Audio,
|
|
395
|
+
_e as AudioAnalyser,
|
|
396
|
+
xe as AudioContext,
|
|
397
|
+
Te as AudioListener,
|
|
398
|
+
ve as AudioLoader,
|
|
399
|
+
Le as AxesHelper,
|
|
400
|
+
Re as BackSide,
|
|
401
|
+
Ge as BasicDepthPacking,
|
|
402
|
+
Ae as BasicShadowMap,
|
|
403
|
+
ye as BatchedMesh,
|
|
404
|
+
Be as Bone,
|
|
405
|
+
Fe as BooleanKeyframeTrack,
|
|
406
|
+
De as Box2,
|
|
407
|
+
Ee as Box3,
|
|
408
|
+
we as Box3Helper,
|
|
409
|
+
Pe as BoxGeometry,
|
|
410
|
+
Ie as BoxHelper,
|
|
411
|
+
Ue as BufferAttribute,
|
|
412
|
+
y as BufferGeometry,
|
|
413
|
+
Ne as BufferGeometryLoader,
|
|
414
|
+
Oe as ByteType,
|
|
415
|
+
ke as Cache,
|
|
416
|
+
We as Camera,
|
|
417
|
+
Ve as CameraHelper,
|
|
418
|
+
He as CanvasTexture,
|
|
419
|
+
qe as CapsuleGeometry,
|
|
420
|
+
ze as CatmullRomCurve3,
|
|
421
|
+
Ke as CineonToneMapping,
|
|
422
|
+
Qe as CircleGeometry,
|
|
423
|
+
$e as ClampToEdgeWrapping,
|
|
424
|
+
w as Clock,
|
|
425
|
+
Xe as Color,
|
|
426
|
+
Ze as ColorKeyframeTrack,
|
|
427
|
+
Ye as ColorManagement,
|
|
428
|
+
Je as CompressedArrayTexture,
|
|
429
|
+
je as CompressedCubeTexture,
|
|
430
|
+
ea as CompressedTexture,
|
|
431
|
+
aa as CompressedTextureLoader,
|
|
432
|
+
sa as ConeGeometry,
|
|
433
|
+
ta as ConstantAlphaFactor,
|
|
434
|
+
ra as ConstantColorFactor,
|
|
435
|
+
ia as Controls,
|
|
436
|
+
na as CubeCamera,
|
|
437
|
+
oa as CubeReflectionMapping,
|
|
438
|
+
la as CubeRefractionMapping,
|
|
439
|
+
ca as CubeTexture,
|
|
440
|
+
fa as CubeTextureLoader,
|
|
441
|
+
ua as CubeUVReflectionMapping,
|
|
442
|
+
da as CubicBezierCurve,
|
|
443
|
+
ha as CubicBezierCurve3,
|
|
444
|
+
pa as CubicInterpolant,
|
|
445
|
+
ma as CullFaceBack,
|
|
446
|
+
ga as CullFaceFront,
|
|
447
|
+
Ma as CullFaceFrontBack,
|
|
448
|
+
ba as CullFaceNone,
|
|
449
|
+
Sa as Curve,
|
|
450
|
+
Ca as CurvePath,
|
|
451
|
+
_a as CustomBlending,
|
|
452
|
+
xa as CustomToneMapping,
|
|
453
|
+
Ta as CylinderGeometry,
|
|
454
|
+
va as Cylindrical,
|
|
455
|
+
La as DRACOLoader,
|
|
456
|
+
Ra as Data3DTexture,
|
|
457
|
+
Ga as DataArrayTexture,
|
|
458
|
+
Aa as DataTexture,
|
|
459
|
+
ya as DataTextureLoader,
|
|
460
|
+
Ba as DataUtils,
|
|
461
|
+
Fa as DecrementStencilOp,
|
|
462
|
+
Da as DecrementWrapStencilOp,
|
|
463
|
+
Ea as DefaultLoadingManager,
|
|
464
|
+
wa as DepthFormat,
|
|
465
|
+
Pa as DepthStencilFormat,
|
|
466
|
+
Ia as DepthTexture,
|
|
467
|
+
Ua as DetachedBindMode,
|
|
468
|
+
Na as DirectionalLight,
|
|
469
|
+
Oa as DirectionalLightHelper,
|
|
470
|
+
ka as DiscreteInterpolant,
|
|
471
|
+
Wa as DodecahedronGeometry,
|
|
472
|
+
Va as DoubleSide,
|
|
473
|
+
Ha as DstAlphaFactor,
|
|
474
|
+
qa as DstColorFactor,
|
|
475
|
+
za as DynamicCopyUsage,
|
|
476
|
+
Ka as DynamicDrawUsage,
|
|
477
|
+
Qa as DynamicReadUsage,
|
|
478
|
+
$a as EdgesGeometry,
|
|
479
|
+
$ as EffectComposer,
|
|
480
|
+
Xa as EllipseCurve,
|
|
481
|
+
Za as EqualCompare,
|
|
482
|
+
Ya as EqualDepth,
|
|
483
|
+
Ja as EqualStencilFunc,
|
|
484
|
+
ja as EquirectangularReflectionMapping,
|
|
485
|
+
es as EquirectangularRefractionMapping,
|
|
486
|
+
as as Euler,
|
|
487
|
+
ss as EventDispatcher,
|
|
488
|
+
ts as ExtrudeGeometry,
|
|
489
|
+
rs as FileLoader,
|
|
490
|
+
is as Float16BufferAttribute,
|
|
491
|
+
b as Float32BufferAttribute,
|
|
492
|
+
ns as FloatType,
|
|
493
|
+
os as Fog,
|
|
494
|
+
ls as FogExp2,
|
|
495
|
+
cs as FramebufferTexture,
|
|
496
|
+
fs as FrontSide,
|
|
497
|
+
us as Frustum,
|
|
498
|
+
ds as GLBufferAttribute,
|
|
499
|
+
hs as GLSL1,
|
|
500
|
+
ps as GLSL3,
|
|
501
|
+
ms as GLTFExporter,
|
|
502
|
+
Z as GLTFExporterMaterialsVariantsExtension,
|
|
503
|
+
gs as GLTFLoader,
|
|
504
|
+
X as GLTFMaterialsVariantsExtension,
|
|
505
|
+
Ms as GreaterCompare,
|
|
506
|
+
bs as GreaterDepth,
|
|
507
|
+
Ss as GreaterEqualCompare,
|
|
508
|
+
Cs as GreaterEqualDepth,
|
|
509
|
+
_s as GreaterEqualStencilFunc,
|
|
510
|
+
xs as GreaterStencilFunc,
|
|
511
|
+
Ts as GridHelper,
|
|
512
|
+
vs as Group,
|
|
513
|
+
D as HalfFloatType,
|
|
514
|
+
Ls as HemisphereLight,
|
|
515
|
+
Rs as HemisphereLightHelper,
|
|
516
|
+
Gs as HorizontalBlurShader,
|
|
517
|
+
As as IcosahedronGeometry,
|
|
518
|
+
ys as ImageBitmapLoader,
|
|
519
|
+
Bs as ImageLoader,
|
|
520
|
+
Fs as ImageUtils,
|
|
521
|
+
Ds as IncrementStencilOp,
|
|
522
|
+
Es as IncrementWrapStencilOp,
|
|
523
|
+
ws as InstancedBufferAttribute,
|
|
524
|
+
Ps as InstancedBufferGeometry,
|
|
525
|
+
Is as InstancedInterleavedBuffer,
|
|
526
|
+
Us as InstancedMesh,
|
|
527
|
+
Ns as Int16BufferAttribute,
|
|
528
|
+
Os as Int32BufferAttribute,
|
|
529
|
+
ks as Int8BufferAttribute,
|
|
530
|
+
Ws as IntType,
|
|
531
|
+
Vs as InterleavedBuffer,
|
|
532
|
+
Hs as InterleavedBufferAttribute,
|
|
533
|
+
qs as Interpolant,
|
|
534
|
+
zs as InterpolateDiscrete,
|
|
535
|
+
Ks as InterpolateLinear,
|
|
536
|
+
Qs as InterpolateSmooth,
|
|
537
|
+
$s as InvertStencilOp,
|
|
538
|
+
Xs as KeepStencilOp,
|
|
539
|
+
Zs as KeyframeTrack,
|
|
540
|
+
Ys as LOD,
|
|
541
|
+
Js as LatheGeometry,
|
|
542
|
+
js as Layers,
|
|
543
|
+
et as LessCompare,
|
|
544
|
+
at as LessDepth,
|
|
545
|
+
st as LessEqualCompare,
|
|
546
|
+
tt as LessEqualDepth,
|
|
547
|
+
rt as LessEqualStencilFunc,
|
|
548
|
+
it as LessStencilFunc,
|
|
549
|
+
nt as Light,
|
|
550
|
+
ot as LightProbe,
|
|
551
|
+
lt as Line,
|
|
552
|
+
ct as Line3,
|
|
553
|
+
ft as LineBasicMaterial,
|
|
554
|
+
ut as LineCurve,
|
|
555
|
+
dt as LineCurve3,
|
|
556
|
+
ht as LineDashedMaterial,
|
|
557
|
+
pt as LineLoop,
|
|
558
|
+
mt as LineSegments,
|
|
559
|
+
gt as LinearFilter,
|
|
560
|
+
Mt as LinearInterpolant,
|
|
561
|
+
bt as LinearMipMapLinearFilter,
|
|
562
|
+
St as LinearMipMapNearestFilter,
|
|
563
|
+
Ct as LinearMipmapLinearFilter,
|
|
564
|
+
_t as LinearMipmapNearestFilter,
|
|
565
|
+
xt as LinearSRGBColorSpace,
|
|
566
|
+
Tt as LinearToneMapping,
|
|
567
|
+
vt as LinearTransfer,
|
|
568
|
+
Lt as Loader,
|
|
569
|
+
Rt as LoaderUtils,
|
|
570
|
+
Gt as LoadingManager,
|
|
571
|
+
At as LoopOnce,
|
|
572
|
+
yt as LoopPingPong,
|
|
573
|
+
Bt as LoopRepeat,
|
|
574
|
+
Ft as LuminanceAlphaFormat,
|
|
575
|
+
Dt as LuminanceFormat,
|
|
576
|
+
Et as MOUSE,
|
|
577
|
+
wt as Material,
|
|
578
|
+
Pt as MaterialLoader,
|
|
579
|
+
It as MathUtils,
|
|
580
|
+
Ut as Matrix2,
|
|
581
|
+
Nt as Matrix3,
|
|
582
|
+
Ot as Matrix4,
|
|
583
|
+
kt as MaxEquation,
|
|
584
|
+
G as Mesh,
|
|
585
|
+
Wt as MeshBasicMaterial,
|
|
586
|
+
Vt as MeshDepthMaterial,
|
|
587
|
+
Ht as MeshDistanceMaterial,
|
|
588
|
+
qt as MeshLambertMaterial,
|
|
589
|
+
zt as MeshMatcapMaterial,
|
|
590
|
+
Kt as MeshNormalMaterial,
|
|
591
|
+
Qt as MeshPhongMaterial,
|
|
592
|
+
$t as MeshPhysicalMaterial,
|
|
593
|
+
Xt as MeshStandardMaterial,
|
|
594
|
+
Zt as MeshToonMaterial,
|
|
595
|
+
Yt as MinEquation,
|
|
596
|
+
Jt as MirroredRepeatWrapping,
|
|
597
|
+
jt as MixOperation,
|
|
598
|
+
er as MultiplyBlending,
|
|
599
|
+
ar as MultiplyOperation,
|
|
600
|
+
sr as NearestFilter,
|
|
601
|
+
tr as NearestMipMapLinearFilter,
|
|
602
|
+
rr as NearestMipMapNearestFilter,
|
|
603
|
+
ir as NearestMipmapLinearFilter,
|
|
604
|
+
nr as NearestMipmapNearestFilter,
|
|
605
|
+
or as NeutralToneMapping,
|
|
606
|
+
lr as NeverCompare,
|
|
607
|
+
cr as NeverDepth,
|
|
608
|
+
fr as NeverStencilFunc,
|
|
609
|
+
E as NoBlending,
|
|
610
|
+
ur as NoColorSpace,
|
|
611
|
+
dr as NoToneMapping,
|
|
612
|
+
hr as NormalAnimationBlendMode,
|
|
613
|
+
pr as NormalBlending,
|
|
614
|
+
mr as NotEqualCompare,
|
|
615
|
+
gr as NotEqualDepth,
|
|
616
|
+
Mr as NotEqualStencilFunc,
|
|
617
|
+
br as NumberKeyframeTrack,
|
|
618
|
+
Sr as Object3D,
|
|
619
|
+
Cr as ObjectLoader,
|
|
620
|
+
_r as ObjectSpaceNormalMap,
|
|
621
|
+
xr as OctahedronGeometry,
|
|
622
|
+
Tr as OneFactor,
|
|
623
|
+
vr as OneMinusConstantAlphaFactor,
|
|
624
|
+
Lr as OneMinusConstantColorFactor,
|
|
625
|
+
Rr as OneMinusDstAlphaFactor,
|
|
626
|
+
Gr as OneMinusDstColorFactor,
|
|
627
|
+
Ar as OneMinusSrcAlphaFactor,
|
|
628
|
+
yr as OneMinusSrcColorFactor,
|
|
629
|
+
A as OrthographicCamera,
|
|
630
|
+
Br as PCFShadowMap,
|
|
631
|
+
Fr as PCFSoftShadowMap,
|
|
632
|
+
Dr as PMREMGenerator,
|
|
633
|
+
Er as Path,
|
|
634
|
+
wr as PerspectiveCamera,
|
|
635
|
+
Pr as Plane,
|
|
636
|
+
Ir as PlaneGeometry,
|
|
637
|
+
Ur as PlaneHelper,
|
|
638
|
+
Nr as PointLight,
|
|
639
|
+
Or as PointLightHelper,
|
|
640
|
+
kr as Points,
|
|
641
|
+
Wr as PointsMaterial,
|
|
642
|
+
Vr as PolarGridHelper,
|
|
643
|
+
Hr as PolyhedronGeometry,
|
|
644
|
+
qr as PositionalAudio,
|
|
645
|
+
zr as PropertyBinding,
|
|
646
|
+
Kr as PropertyMixer,
|
|
647
|
+
Qr as QuadraticBezierCurve,
|
|
648
|
+
$r as QuadraticBezierCurve3,
|
|
649
|
+
Xr as Quaternion,
|
|
650
|
+
Zr as QuaternionKeyframeTrack,
|
|
651
|
+
Yr as QuaternionLinearInterpolant,
|
|
652
|
+
Jr as RED_GREEN_RGTC2_Format,
|
|
653
|
+
jr as RED_RGTC1_Format,
|
|
654
|
+
ei as REVISION,
|
|
655
|
+
ai as RGBADepthPacking,
|
|
656
|
+
si as RGBAFormat,
|
|
657
|
+
ti as RGBAIntegerFormat,
|
|
658
|
+
ri as RGBA_ASTC_10x10_Format,
|
|
659
|
+
ii as RGBA_ASTC_10x5_Format,
|
|
660
|
+
ni as RGBA_ASTC_10x6_Format,
|
|
661
|
+
oi as RGBA_ASTC_10x8_Format,
|
|
662
|
+
li as RGBA_ASTC_12x10_Format,
|
|
663
|
+
ci as RGBA_ASTC_12x12_Format,
|
|
664
|
+
fi as RGBA_ASTC_4x4_Format,
|
|
665
|
+
ui as RGBA_ASTC_5x4_Format,
|
|
666
|
+
di as RGBA_ASTC_5x5_Format,
|
|
667
|
+
hi as RGBA_ASTC_6x5_Format,
|
|
668
|
+
pi as RGBA_ASTC_6x6_Format,
|
|
669
|
+
mi as RGBA_ASTC_8x5_Format,
|
|
670
|
+
gi as RGBA_ASTC_8x6_Format,
|
|
671
|
+
Mi as RGBA_ASTC_8x8_Format,
|
|
672
|
+
bi as RGBA_BPTC_Format,
|
|
673
|
+
Si as RGBA_ETC2_EAC_Format,
|
|
674
|
+
Ci as RGBA_PVRTC_2BPPV1_Format,
|
|
675
|
+
_i as RGBA_PVRTC_4BPPV1_Format,
|
|
676
|
+
xi as RGBA_S3TC_DXT1_Format,
|
|
677
|
+
Ti as RGBA_S3TC_DXT3_Format,
|
|
678
|
+
vi as RGBA_S3TC_DXT5_Format,
|
|
679
|
+
Li as RGBDepthPacking,
|
|
680
|
+
Ri as RGBELoader,
|
|
681
|
+
Gi as RGBFormat,
|
|
682
|
+
Ai as RGBIntegerFormat,
|
|
683
|
+
yi as RGB_BPTC_SIGNED_Format,
|
|
684
|
+
Bi as RGB_BPTC_UNSIGNED_Format,
|
|
685
|
+
Fi as RGB_ETC1_Format,
|
|
686
|
+
Di as RGB_ETC2_Format,
|
|
687
|
+
Ei as RGB_PVRTC_2BPPV1_Format,
|
|
688
|
+
wi as RGB_PVRTC_4BPPV1_Format,
|
|
689
|
+
Pi as RGB_S3TC_DXT1_Format,
|
|
690
|
+
Ii as RGDepthPacking,
|
|
691
|
+
Ui as RGFormat,
|
|
692
|
+
Ni as RGIntegerFormat,
|
|
693
|
+
Oi as RawShaderMaterial,
|
|
694
|
+
ki as Ray,
|
|
695
|
+
Wi as Raycaster,
|
|
696
|
+
Vi as RectAreaLight,
|
|
697
|
+
Hi as RedFormat,
|
|
698
|
+
qi as RedIntegerFormat,
|
|
699
|
+
zi as ReinhardToneMapping,
|
|
700
|
+
Ki as RenderTarget,
|
|
701
|
+
Qi as RenderTarget3D,
|
|
702
|
+
$i as RenderTargetArray,
|
|
703
|
+
Xi as RepeatWrapping,
|
|
704
|
+
Zi as ReplaceStencilOp,
|
|
705
|
+
Yi as ReverseSubtractEquation,
|
|
706
|
+
Ji as RingGeometry,
|
|
707
|
+
ji as SIGNED_RED_GREEN_RGTC2_Format,
|
|
708
|
+
en as SIGNED_RED_RGTC1_Format,
|
|
709
|
+
an as SRGBColorSpace,
|
|
710
|
+
sn as SRGBTransfer,
|
|
711
|
+
tn as Scene,
|
|
712
|
+
rn as ShaderChunk,
|
|
713
|
+
nn as ShaderLib,
|
|
714
|
+
S as ShaderMaterial,
|
|
715
|
+
on as ShadowMaterial,
|
|
716
|
+
ln as Shape,
|
|
717
|
+
cn as ShapeGeometry,
|
|
718
|
+
fn as ShapePath,
|
|
719
|
+
un as ShapeUtils,
|
|
720
|
+
dn as ShortType,
|
|
721
|
+
hn as Skeleton,
|
|
722
|
+
pn as SkeletonHelper,
|
|
723
|
+
mn as SkinnedMesh,
|
|
724
|
+
gn as Source,
|
|
725
|
+
Mn as Sphere,
|
|
726
|
+
bn as SphereGeometry,
|
|
727
|
+
Sn as Spherical,
|
|
728
|
+
Cn as SphericalHarmonics3,
|
|
729
|
+
_n as SplineCurve,
|
|
730
|
+
xn as SpotLight,
|
|
731
|
+
Tn as SpotLightHelper,
|
|
732
|
+
vn as Sprite,
|
|
733
|
+
Ln as SpriteMaterial,
|
|
734
|
+
Rn as SrcAlphaFactor,
|
|
735
|
+
Gn as SrcAlphaSaturateFactor,
|
|
736
|
+
An as SrcColorFactor,
|
|
737
|
+
yn as StaticCopyUsage,
|
|
738
|
+
Bn as StaticDrawUsage,
|
|
739
|
+
Fn as StaticReadUsage,
|
|
740
|
+
Dn as StereoCamera,
|
|
741
|
+
En as StreamCopyUsage,
|
|
742
|
+
wn as StreamDrawUsage,
|
|
743
|
+
Pn as StreamReadUsage,
|
|
744
|
+
In as StringKeyframeTrack,
|
|
745
|
+
Un as SubtractEquation,
|
|
746
|
+
Nn as SubtractiveBlending,
|
|
747
|
+
On as TOUCH,
|
|
748
|
+
kn as TangentSpaceNormalMap,
|
|
749
|
+
Wn as TetrahedronGeometry,
|
|
750
|
+
Vn as Texture,
|
|
751
|
+
Hn as TextureLoader,
|
|
752
|
+
qn as TextureUtils,
|
|
753
|
+
zn as TorusGeometry,
|
|
754
|
+
Kn as TorusKnotGeometry,
|
|
755
|
+
Qn as Triangle,
|
|
756
|
+
$n as TriangleFanDrawMode,
|
|
757
|
+
Xn as TriangleStripDrawMode,
|
|
758
|
+
Zn as TrianglesDrawMode,
|
|
759
|
+
Yn as TubeGeometry,
|
|
760
|
+
Jn as USDZExporter,
|
|
761
|
+
jn as UVMapping,
|
|
762
|
+
eo as Uint16BufferAttribute,
|
|
763
|
+
ao as Uint32BufferAttribute,
|
|
764
|
+
so as Uint8BufferAttribute,
|
|
765
|
+
to as Uint8ClampedBufferAttribute,
|
|
766
|
+
ro as Uniform,
|
|
767
|
+
io as UniformsGroup,
|
|
768
|
+
no as UniformsLib,
|
|
769
|
+
B as UniformsUtils,
|
|
770
|
+
oo as UnsignedByteType,
|
|
771
|
+
lo as UnsignedInt248Type,
|
|
772
|
+
co as UnsignedInt5999Type,
|
|
773
|
+
fo as UnsignedIntType,
|
|
774
|
+
uo as UnsignedShort4444Type,
|
|
775
|
+
ho as UnsignedShort5551Type,
|
|
776
|
+
po as UnsignedShortType,
|
|
777
|
+
mo as VSMShadowMap,
|
|
778
|
+
C as Vector2,
|
|
779
|
+
go as Vector3,
|
|
780
|
+
Mo as Vector4,
|
|
781
|
+
bo as VectorKeyframeTrack,
|
|
782
|
+
So as VerticalBlurShader,
|
|
783
|
+
Co as VideoTexture,
|
|
784
|
+
Q as WebGL,
|
|
785
|
+
_o as WebGL3DRenderTarget,
|
|
786
|
+
xo as WebGLArrayRenderTarget,
|
|
787
|
+
To as WebGLCoordinateSystem,
|
|
788
|
+
vo as WebGLCubeRenderTarget,
|
|
789
|
+
F as WebGLRenderTarget,
|
|
790
|
+
Lo as WebGLRenderer,
|
|
791
|
+
Ro as WebGLUtils,
|
|
792
|
+
Go as WebGPUCoordinateSystem,
|
|
793
|
+
Ao as WireframeGeometry,
|
|
794
|
+
yo as WrapAroundEnding,
|
|
795
|
+
Bo as ZeroCurvatureEnding,
|
|
796
|
+
Fo as ZeroFactor,
|
|
797
|
+
Do as ZeroSlopeEnding,
|
|
798
|
+
Eo as ZeroStencilOp,
|
|
799
|
+
wo as createCanvasElement
|
|
800
|
+
};
|