@vcollab/shader-artifacts 0.0.0-stage → 2.0.0
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/CHANGELOG.md +59 -0
- package/LICENSE +8 -0
- package/README.md +96 -2
- package/dist/generated/set.d.ts +32 -0
- package/dist/index.cjs +190 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.js +146 -0
- package/dist/index.js.map +1 -0
- package/dist/version.d.ts +2 -0
- package/package.json +60 -3
- package/set/SHA256SUMS +163 -0
- package/set/pipelines/category.capped.json +495 -0
- package/set/pipelines/category.json +469 -0
- package/set/pipelines/deform3.category.capped.json +505 -0
- package/set/pipelines/deform3.category.json +479 -0
- package/set/pipelines/deform3.dof6.capped.json +595 -0
- package/set/pipelines/deform3.dof6.json +569 -0
- package/set/pipelines/deform3.pick.capped.json +260 -0
- package/set/pipelines/deform3.pick.json +254 -0
- package/set/pipelines/deform3.scalar.capped.json +601 -0
- package/set/pipelines/deform3.scalar.json +575 -0
- package/set/pipelines/deform3.surface.capped.json +457 -0
- package/set/pipelines/deform3.surface.json +431 -0
- package/set/pipelines/deform3.symtensor.capped.json +623 -0
- package/set/pipelines/deform3.symtensor.json +597 -0
- package/set/pipelines/deform3.textured-normal.capped.json +590 -0
- package/set/pipelines/deform3.textured-normal.json +564 -0
- package/set/pipelines/deform3.textured.capped.json +549 -0
- package/set/pipelines/deform3.textured.json +523 -0
- package/set/pipelines/deform3.vector.capped.json +586 -0
- package/set/pipelines/deform3.vector.json +560 -0
- package/set/pipelines/deform6.category.capped.json +514 -0
- package/set/pipelines/deform6.category.json +488 -0
- package/set/pipelines/deform6.dof6.capped.json +604 -0
- package/set/pipelines/deform6.dof6.json +578 -0
- package/set/pipelines/deform6.pick.capped.json +269 -0
- package/set/pipelines/deform6.pick.json +263 -0
- package/set/pipelines/deform6.scalar.capped.json +610 -0
- package/set/pipelines/deform6.scalar.json +584 -0
- package/set/pipelines/deform6.surface.capped.json +466 -0
- package/set/pipelines/deform6.surface.json +440 -0
- package/set/pipelines/deform6.symtensor.capped.json +632 -0
- package/set/pipelines/deform6.symtensor.json +606 -0
- package/set/pipelines/deform6.textured-normal.capped.json +599 -0
- package/set/pipelines/deform6.textured-normal.json +573 -0
- package/set/pipelines/deform6.textured.capped.json +558 -0
- package/set/pipelines/deform6.textured.json +532 -0
- package/set/pipelines/deform6.vector.capped.json +595 -0
- package/set/pipelines/deform6.vector.json +569 -0
- package/set/pipelines/dof6.capped.json +585 -0
- package/set/pipelines/dof6.json +559 -0
- package/set/pipelines/pick.capped.json +250 -0
- package/set/pipelines/pick.json +244 -0
- package/set/pipelines/scalar.capped.json +591 -0
- package/set/pipelines/scalar.json +565 -0
- package/set/pipelines/surface.capped.json +447 -0
- package/set/pipelines/surface.json +421 -0
- package/set/pipelines/symtensor.capped.json +613 -0
- package/set/pipelines/symtensor.json +587 -0
- package/set/pipelines/textured-normal.capped.json +580 -0
- package/set/pipelines/textured-normal.json +554 -0
- package/set/pipelines/textured.capped.json +539 -0
- package/set/pipelines/textured.json +513 -0
- package/set/pipelines/vector.capped.json +576 -0
- package/set/pipelines/vector.json +550 -0
- package/set/registry.json +1097 -0
- package/set/shaders/category.capped.fragment.glsl +507 -0
- package/set/shaders/category.capped.vertex.glsl +164 -0
- package/set/shaders/category.fragment.glsl +349 -0
- package/set/shaders/category.vertex.glsl +145 -0
- package/set/shaders/deform3.category.capped.fragment.glsl +507 -0
- package/set/shaders/deform3.category.capped.vertex.glsl +166 -0
- package/set/shaders/deform3.category.fragment.glsl +349 -0
- package/set/shaders/deform3.category.vertex.glsl +147 -0
- package/set/shaders/deform3.dof6.capped.fragment.glsl +694 -0
- package/set/shaders/deform3.dof6.capped.vertex.glsl +187 -0
- package/set/shaders/deform3.dof6.fragment.glsl +536 -0
- package/set/shaders/deform3.dof6.vertex.glsl +168 -0
- package/set/shaders/deform3.pick.capped.fragment.glsl +89 -0
- package/set/shaders/deform3.pick.capped.vertex.glsl +111 -0
- package/set/shaders/deform3.pick.fragment.glsl +74 -0
- package/set/shaders/deform3.pick.vertex.glsl +93 -0
- package/set/shaders/deform3.scalar.capped.fragment.glsl +682 -0
- package/set/shaders/deform3.scalar.capped.vertex.glsl +179 -0
- package/set/shaders/deform3.scalar.fragment.glsl +524 -0
- package/set/shaders/deform3.scalar.vertex.glsl +160 -0
- package/set/shaders/deform3.surface.capped.fragment.glsl +425 -0
- package/set/shaders/deform3.surface.capped.vertex.glsl +148 -0
- package/set/shaders/deform3.surface.fragment.glsl +271 -0
- package/set/shaders/deform3.surface.vertex.glsl +129 -0
- package/set/shaders/deform3.symtensor.capped.fragment.glsl +1239 -0
- package/set/shaders/deform3.symtensor.capped.vertex.glsl +188 -0
- package/set/shaders/deform3.symtensor.fragment.glsl +1081 -0
- package/set/shaders/deform3.symtensor.vertex.glsl +169 -0
- package/set/shaders/deform3.textured-normal.capped.fragment.glsl +437 -0
- package/set/shaders/deform3.textured-normal.capped.vertex.glsl +167 -0
- package/set/shaders/deform3.textured-normal.fragment.glsl +283 -0
- package/set/shaders/deform3.textured-normal.vertex.glsl +148 -0
- package/set/shaders/deform3.textured.capped.fragment.glsl +428 -0
- package/set/shaders/deform3.textured.capped.vertex.glsl +150 -0
- package/set/shaders/deform3.textured.fragment.glsl +275 -0
- package/set/shaders/deform3.textured.vertex.glsl +131 -0
- package/set/shaders/deform3.vector.capped.fragment.glsl +657 -0
- package/set/shaders/deform3.vector.capped.vertex.glsl +183 -0
- package/set/shaders/deform3.vector.fragment.glsl +499 -0
- package/set/shaders/deform3.vector.vertex.glsl +164 -0
- package/set/shaders/deform6.category.capped.fragment.glsl +507 -0
- package/set/shaders/deform6.category.capped.vertex.glsl +180 -0
- package/set/shaders/deform6.category.fragment.glsl +349 -0
- package/set/shaders/deform6.category.vertex.glsl +161 -0
- package/set/shaders/deform6.dof6.capped.fragment.glsl +694 -0
- package/set/shaders/deform6.dof6.capped.vertex.glsl +201 -0
- package/set/shaders/deform6.dof6.fragment.glsl +536 -0
- package/set/shaders/deform6.dof6.vertex.glsl +182 -0
- package/set/shaders/deform6.pick.capped.fragment.glsl +89 -0
- package/set/shaders/deform6.pick.capped.vertex.glsl +125 -0
- package/set/shaders/deform6.pick.fragment.glsl +74 -0
- package/set/shaders/deform6.pick.vertex.glsl +107 -0
- package/set/shaders/deform6.scalar.capped.fragment.glsl +682 -0
- package/set/shaders/deform6.scalar.capped.vertex.glsl +193 -0
- package/set/shaders/deform6.scalar.fragment.glsl +524 -0
- package/set/shaders/deform6.scalar.vertex.glsl +174 -0
- package/set/shaders/deform6.surface.capped.fragment.glsl +425 -0
- package/set/shaders/deform6.surface.capped.vertex.glsl +162 -0
- package/set/shaders/deform6.surface.fragment.glsl +271 -0
- package/set/shaders/deform6.surface.vertex.glsl +143 -0
- package/set/shaders/deform6.symtensor.capped.fragment.glsl +1239 -0
- package/set/shaders/deform6.symtensor.capped.vertex.glsl +202 -0
- package/set/shaders/deform6.symtensor.fragment.glsl +1081 -0
- package/set/shaders/deform6.symtensor.vertex.glsl +183 -0
- package/set/shaders/deform6.textured-normal.capped.fragment.glsl +437 -0
- package/set/shaders/deform6.textured-normal.capped.vertex.glsl +181 -0
- package/set/shaders/deform6.textured-normal.fragment.glsl +283 -0
- package/set/shaders/deform6.textured-normal.vertex.glsl +162 -0
- package/set/shaders/deform6.textured.capped.fragment.glsl +428 -0
- package/set/shaders/deform6.textured.capped.vertex.glsl +164 -0
- package/set/shaders/deform6.textured.fragment.glsl +275 -0
- package/set/shaders/deform6.textured.vertex.glsl +145 -0
- package/set/shaders/deform6.vector.capped.fragment.glsl +657 -0
- package/set/shaders/deform6.vector.capped.vertex.glsl +197 -0
- package/set/shaders/deform6.vector.fragment.glsl +499 -0
- package/set/shaders/deform6.vector.vertex.glsl +178 -0
- package/set/shaders/dof6.capped.fragment.glsl +694 -0
- package/set/shaders/dof6.capped.vertex.glsl +185 -0
- package/set/shaders/dof6.fragment.glsl +536 -0
- package/set/shaders/dof6.vertex.glsl +166 -0
- package/set/shaders/pick.capped.fragment.glsl +89 -0
- package/set/shaders/pick.capped.vertex.glsl +109 -0
- package/set/shaders/pick.fragment.glsl +74 -0
- package/set/shaders/pick.vertex.glsl +91 -0
- package/set/shaders/scalar.capped.fragment.glsl +682 -0
- package/set/shaders/scalar.capped.vertex.glsl +177 -0
- package/set/shaders/scalar.fragment.glsl +524 -0
- package/set/shaders/scalar.vertex.glsl +158 -0
- package/set/shaders/surface.capped.fragment.glsl +425 -0
- package/set/shaders/surface.capped.vertex.glsl +146 -0
- package/set/shaders/surface.fragment.glsl +271 -0
- package/set/shaders/surface.vertex.glsl +127 -0
- package/set/shaders/symtensor.capped.fragment.glsl +1239 -0
- package/set/shaders/symtensor.capped.vertex.glsl +186 -0
- package/set/shaders/symtensor.fragment.glsl +1081 -0
- package/set/shaders/symtensor.vertex.glsl +167 -0
- package/set/shaders/textured-normal.capped.fragment.glsl +437 -0
- package/set/shaders/textured-normal.capped.vertex.glsl +165 -0
- package/set/shaders/textured-normal.fragment.glsl +283 -0
- package/set/shaders/textured-normal.vertex.glsl +146 -0
- package/set/shaders/textured.capped.fragment.glsl +428 -0
- package/set/shaders/textured.capped.vertex.glsl +148 -0
- package/set/shaders/textured.fragment.glsl +275 -0
- package/set/shaders/textured.vertex.glsl +129 -0
- package/set/shaders/vector.capped.fragment.glsl +657 -0
- package/set/shaders/vector.capped.vertex.glsl +181 -0
- package/set/shaders/vector.fragment.glsl +499 -0
- package/set/shaders/vector.vertex.glsl +162 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to `@vcollab/shader-artifacts` are documented here.
|
|
4
|
+
|
|
5
|
+
The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and
|
|
6
|
+
this package adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
This package carries generated data. Its version tracks the package, not the
|
|
9
|
+
set: which set it holds is `SET_SHA256`, and every release below names it.
|
|
10
|
+
|
|
11
|
+
## [2.0.0] — 2026-12-06
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- The set built by `vcti-shader-foundry` 9.0.0, schema 3 (set hash
|
|
16
|
+
`e9bef04f…`): the same 54 pipelines and toolchain, with every contract
|
|
17
|
+
changed. Every `contractSha256` differs, and existing members move within
|
|
18
|
+
the uniform block, so a layout must be read from the envelope, never
|
|
19
|
+
remembered.
|
|
20
|
+
- **One atom id.** `a_atomId` (semantic `atom-id`) replaces `a_maskId`,
|
|
21
|
+
`a_componentId` and `a_materialId`: one id buffer where there were up to
|
|
22
|
+
three.
|
|
23
|
+
- **Per-draw bases.** Every pipeline declares `u_maskLutBase` and
|
|
24
|
+
`u_transformLutBase`, added to the id before the mask and transform
|
|
25
|
+
fetches, so one vertex buffer drawn at several places reads its own block of
|
|
26
|
+
a scene-wide table per draw. Zero is the off state, which a base never
|
|
27
|
+
written holds.
|
|
28
|
+
- **Maps.** Every pipeline binds an `r16ui` transform map (semantic
|
|
29
|
+
`transform-map`, with `u_transformMapWidth` and `u_transformMapBase`)
|
|
30
|
+
that gives each atom its component, and the table-material shapes an
|
|
31
|
+
`r16ui` material map (`material-map`, with `u_materialMapWidth` and
|
|
32
|
+
`u_materialMapBase`) that gives each atom its row of the material table.
|
|
33
|
+
The material table itself has no base.
|
|
34
|
+
- Pick pipelines write the scene atom, `a_atomId + u_maskLutBase`, into the
|
|
35
|
+
texel's third channel, which was reserved.
|
|
36
|
+
|
|
37
|
+
## [1.0.0] — 2026-12-03
|
|
38
|
+
|
|
39
|
+
First release.
|
|
40
|
+
|
|
41
|
+
### Added
|
|
42
|
+
|
|
43
|
+
- The artifact set built by `vcti-shader-foundry` 7.0.0, schema 3: 54
|
|
44
|
+
pipelines — nine fragment shapes through three vertex variants, each capped
|
|
45
|
+
and uncapped — 108 GLSL ES 3.00 stage files, and the foundry's `SHA256SUMS`.
|
|
46
|
+
Set hash `70829b81…`. Toolchain: slangc 2026.12.0.1, spirv-cross
|
|
47
|
+
vulkan-sdk-1.4.357.0, glslang 11:16.5.0, all pinned.
|
|
48
|
+
- The set as plain files under the `./set/*` export, and `REGISTRY`,
|
|
49
|
+
`PROVENANCE`, `PIPELINE_IDS`, `ENVELOPE_LOADERS`, `SET_VERSION`, `SET_SHA256`
|
|
50
|
+
and `SCHEMA_VERSION` from the root entry. The built package loads under plain
|
|
51
|
+
Node as ESM and CommonJS: the JSON imports keep their
|
|
52
|
+
`with { type: "json" }` attribute, and a test loads `dist/` to prove it.
|
|
53
|
+
- `scripts/import-set.mjs` (`pnpm import-set <zip>`), which checks every path in
|
|
54
|
+
a foundry archive, re-hashes every file against its `SHA256SUMS`, re-derives
|
|
55
|
+
every stage hash and cross-reference, and only then replaces `set/` and
|
|
56
|
+
regenerates `src/generated/set.ts`.
|
|
57
|
+
- `scripts/verify-set.mjs` (`pnpm verify`, `pnpm gen:check`), which re-runs those
|
|
58
|
+
checks against the committed files and confirms the generated module is what
|
|
59
|
+
`set/` produces. The tests run the same checks; it also runs before publish.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Copyright (c) 2018-2026 Visual Collaboration Technologies Inc.
|
|
2
|
+
All Rights Reserved.
|
|
3
|
+
|
|
4
|
+
This software is proprietary and confidential. Unauthorized copying,
|
|
5
|
+
distribution, or use of this software, via any medium, is strictly
|
|
6
|
+
prohibited. Access is granted only to authorized VCollab developers
|
|
7
|
+
and individuals explicitly authorized by Visual Collaboration
|
|
8
|
+
Technologies Inc.
|
package/README.md
CHANGED
|
@@ -1,3 +1,97 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @vcollab/shader-artifacts
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The compiled VCollab shader artifact set: the registry, one envelope per
|
|
4
|
+
pipeline, and the emitted GLSL ES 3.00.
|
|
5
|
+
|
|
6
|
+
## Overview
|
|
7
|
+
|
|
8
|
+
This package is **data**. The shaders are built offline by
|
|
9
|
+
`vcti-shader-foundry` — which composes nine shader features into a matrix of
|
|
10
|
+
54 pipelines, compiles them through a pinned toolchain, validates each against
|
|
11
|
+
its contract and draws every one of them headlessly — and packs the result into
|
|
12
|
+
one reproducible archive. This package carries that archive, unpacked, because
|
|
13
|
+
npm does not unpack one at install time.
|
|
14
|
+
|
|
15
|
+
It exists as a package of its own so the set can be versioned independently of
|
|
16
|
+
the code that reads it: rebuilding the shaders does not force a release of
|
|
17
|
+
`@vcollab/shader-library`, and a consumer can pin the two separately.
|
|
18
|
+
|
|
19
|
+
Nothing here composes, templates or compiles a shader. There is no toolchain
|
|
20
|
+
and no build step for the set — importing one is a deliberate act, run by hand
|
|
21
|
+
from a foundry archive.
|
|
22
|
+
|
|
23
|
+
## Installation
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
pnpm add @vcollab/shader-artifacts
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Most consumers should not read this package directly. Use
|
|
30
|
+
`@vcollab/shader-library/bundled`, which opens this set as an artifact set with
|
|
31
|
+
its cross-document checks in place.
|
|
32
|
+
|
|
33
|
+
## Quick Start
|
|
34
|
+
|
|
35
|
+
```ts
|
|
36
|
+
import { openBundledSet } from "@vcollab/shader-library/bundled";
|
|
37
|
+
const set = await openBundledSet();
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
The documents are also plain files, for serving them rather than bundling:
|
|
41
|
+
|
|
42
|
+
```
|
|
43
|
+
@vcollab/shader-artifacts/set/registry.json
|
|
44
|
+
@vcollab/shader-artifacts/set/pipelines/<id>.json
|
|
45
|
+
@vcollab/shader-artifacts/set/shaders/<id>.<stage>.glsl
|
|
46
|
+
@vcollab/shader-artifacts/set/SHA256SUMS
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Copy `node_modules/@vcollab/shader-artifacts/set/` to your server and point
|
|
50
|
+
`fetchSource` at it.
|
|
51
|
+
|
|
52
|
+
## What is in the set
|
|
53
|
+
|
|
54
|
+
| | |
|
|
55
|
+
|---|---|
|
|
56
|
+
| Pipelines | 54 — nine fragment shapes through three vertex variants, capped and uncapped |
|
|
57
|
+
| Stage files | 108 GLSL ES 3.00 |
|
|
58
|
+
| Schema | 3 |
|
|
59
|
+
| Builder | `vcti-shader-foundry` 9.0.0 |
|
|
60
|
+
| Set hash | `e9bef04f…` (`SET_SHA256`; the sha256 of `set/SHA256SUMS`) |
|
|
61
|
+
|
|
62
|
+
`PROVENANCE` records all of it, including the three toolchain versions the set
|
|
63
|
+
was compiled with.
|
|
64
|
+
|
|
65
|
+
## Importing a new set
|
|
66
|
+
|
|
67
|
+
Rebuilding is the foundry's job, in its own repository, with the pinned
|
|
68
|
+
toolchain. Once it has produced an archive:
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
pnpm import-set ../path/to/shaders-<version>-<sha8>.zip
|
|
72
|
+
pnpm verify
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
`import-set` checks every path, hash and cross-reference in the archive before
|
|
76
|
+
it writes a byte: each file against the foundry's `SHA256SUMS`, each stage
|
|
77
|
+
hash against the source beside it, each envelope against the index entry that
|
|
78
|
+
points at it, and refuses any file the index does not account for. It then
|
|
79
|
+
replaces `set/` with exactly the archive's files and regenerates
|
|
80
|
+
`src/generated/set.ts` from them. Archives from `vcti-shader-foundry` 7.0.0 on
|
|
81
|
+
carry `SHA256SUMS`; older ones are refused.
|
|
82
|
+
|
|
83
|
+
`verify` (also `gen:check`) runs the same checks against the files on disk and
|
|
84
|
+
confirms the generated module is still what `set/` produces. The tests run it
|
|
85
|
+
in CI, and it runs before publish, because between import and release the set
|
|
86
|
+
is a directory in a git repository where a well-meaning edit would otherwise
|
|
87
|
+
ship silently. `sha256sum -c SHA256SUMS` inside `set/` checks the bytes with no
|
|
88
|
+
Node at all.
|
|
89
|
+
|
|
90
|
+
The set's bytes are the contract. It is excluded from formatting and marked
|
|
91
|
+
`-text` for git for that reason: reformatting a document or converting its line
|
|
92
|
+
endings would change its hash and fail verification. See
|
|
93
|
+
[docs/design.md](docs/design.md).
|
|
94
|
+
|
|
95
|
+
## Dependencies
|
|
96
|
+
|
|
97
|
+
None.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/** The set's `registry.json`. */
|
|
2
|
+
export declare const REGISTRY: unknown;
|
|
3
|
+
/** Where this set came from: its hash, its schema, and what built it. */
|
|
4
|
+
export declare const PROVENANCE: {
|
|
5
|
+
readonly setSha256: "e9bef04f7bbbbea26d58211f674aa672861f6be753ba9ddfb3378df4f1d781ad";
|
|
6
|
+
readonly schemaVersion: 3;
|
|
7
|
+
readonly generator: {
|
|
8
|
+
readonly name: "vcti-shader-foundry";
|
|
9
|
+
readonly version: "9.0.0";
|
|
10
|
+
readonly toolchain: {
|
|
11
|
+
readonly slangc: "2026.12.0.1";
|
|
12
|
+
readonly spirvCross: "vulkan-sdk-1.4.357.0";
|
|
13
|
+
readonly glslang: "11:16.5.0";
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
readonly pipelineCount: 54;
|
|
17
|
+
};
|
|
18
|
+
/** The version of the builder that emitted this set. */
|
|
19
|
+
export declare const SET_VERSION = "9.0.0";
|
|
20
|
+
/**
|
|
21
|
+
* The set's hash: the sha256 of its `SHA256SUMS`, which lists every other
|
|
22
|
+
* file by the sha256 of its bytes. The same for the archive the set came in
|
|
23
|
+
* and for set/ here — `sha256sum SHA256SUMS` there gives it — and what the
|
|
24
|
+
* archive's name carries the first eight digits of.
|
|
25
|
+
*/
|
|
26
|
+
export declare const SET_SHA256 = "e9bef04f7bbbbea26d58211f674aa672861f6be753ba9ddfb3378df4f1d781ad";
|
|
27
|
+
/** The emitted document shape this set carries. */
|
|
28
|
+
export declare const SCHEMA_VERSION = 3;
|
|
29
|
+
/** Every pipeline id in the set, in index order. */
|
|
30
|
+
export declare const PIPELINE_IDS: readonly string[];
|
|
31
|
+
/** One loader per pipeline id, each resolving to that pipeline's envelope. */
|
|
32
|
+
export declare const ENVELOPE_LOADERS: Readonly<Record<string, () => Promise<unknown>>>;
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
|
|
30
|
+
// src/index.ts
|
|
31
|
+
var index_exports = {};
|
|
32
|
+
__export(index_exports, {
|
|
33
|
+
ENVELOPE_LOADERS: () => ENVELOPE_LOADERS,
|
|
34
|
+
PIPELINE_IDS: () => PIPELINE_IDS,
|
|
35
|
+
PROVENANCE: () => PROVENANCE,
|
|
36
|
+
REGISTRY: () => REGISTRY,
|
|
37
|
+
SCHEMA_VERSION: () => SCHEMA_VERSION,
|
|
38
|
+
SET_SHA256: () => SET_SHA256,
|
|
39
|
+
SET_VERSION: () => SET_VERSION,
|
|
40
|
+
VERSION: () => VERSION
|
|
41
|
+
});
|
|
42
|
+
module.exports = __toCommonJS(index_exports);
|
|
43
|
+
|
|
44
|
+
// src/generated/set.ts
|
|
45
|
+
var import_registry = __toESM(require("@vcollab/shader-artifacts/set/registry.json"), 1);
|
|
46
|
+
var REGISTRY = import_registry.default;
|
|
47
|
+
var PROVENANCE = {
|
|
48
|
+
"setSha256": "e9bef04f7bbbbea26d58211f674aa672861f6be753ba9ddfb3378df4f1d781ad",
|
|
49
|
+
"schemaVersion": 3,
|
|
50
|
+
"generator": {
|
|
51
|
+
"name": "vcti-shader-foundry",
|
|
52
|
+
"version": "9.0.0",
|
|
53
|
+
"toolchain": {
|
|
54
|
+
"slangc": "2026.12.0.1",
|
|
55
|
+
"spirvCross": "vulkan-sdk-1.4.357.0",
|
|
56
|
+
"glslang": "11:16.5.0"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"pipelineCount": 54
|
|
60
|
+
};
|
|
61
|
+
var SET_VERSION = "9.0.0";
|
|
62
|
+
var SET_SHA256 = "e9bef04f7bbbbea26d58211f674aa672861f6be753ba9ddfb3378df4f1d781ad";
|
|
63
|
+
var SCHEMA_VERSION = 3;
|
|
64
|
+
var PIPELINE_IDS = [
|
|
65
|
+
"scalar",
|
|
66
|
+
"scalar.capped",
|
|
67
|
+
"deform3.scalar",
|
|
68
|
+
"deform3.scalar.capped",
|
|
69
|
+
"deform6.scalar",
|
|
70
|
+
"deform6.scalar.capped",
|
|
71
|
+
"vector",
|
|
72
|
+
"vector.capped",
|
|
73
|
+
"deform3.vector",
|
|
74
|
+
"deform3.vector.capped",
|
|
75
|
+
"deform6.vector",
|
|
76
|
+
"deform6.vector.capped",
|
|
77
|
+
"dof6",
|
|
78
|
+
"dof6.capped",
|
|
79
|
+
"deform3.dof6",
|
|
80
|
+
"deform3.dof6.capped",
|
|
81
|
+
"deform6.dof6",
|
|
82
|
+
"deform6.dof6.capped",
|
|
83
|
+
"symtensor",
|
|
84
|
+
"symtensor.capped",
|
|
85
|
+
"deform3.symtensor",
|
|
86
|
+
"deform3.symtensor.capped",
|
|
87
|
+
"deform6.symtensor",
|
|
88
|
+
"deform6.symtensor.capped",
|
|
89
|
+
"category",
|
|
90
|
+
"category.capped",
|
|
91
|
+
"deform3.category",
|
|
92
|
+
"deform3.category.capped",
|
|
93
|
+
"deform6.category",
|
|
94
|
+
"deform6.category.capped",
|
|
95
|
+
"surface",
|
|
96
|
+
"surface.capped",
|
|
97
|
+
"deform3.surface",
|
|
98
|
+
"deform3.surface.capped",
|
|
99
|
+
"deform6.surface",
|
|
100
|
+
"deform6.surface.capped",
|
|
101
|
+
"pick",
|
|
102
|
+
"pick.capped",
|
|
103
|
+
"deform3.pick",
|
|
104
|
+
"deform3.pick.capped",
|
|
105
|
+
"deform6.pick",
|
|
106
|
+
"deform6.pick.capped",
|
|
107
|
+
"textured",
|
|
108
|
+
"textured.capped",
|
|
109
|
+
"deform3.textured",
|
|
110
|
+
"deform3.textured.capped",
|
|
111
|
+
"deform6.textured",
|
|
112
|
+
"deform6.textured.capped",
|
|
113
|
+
"textured-normal",
|
|
114
|
+
"textured-normal.capped",
|
|
115
|
+
"deform3.textured-normal",
|
|
116
|
+
"deform3.textured-normal.capped",
|
|
117
|
+
"deform6.textured-normal",
|
|
118
|
+
"deform6.textured-normal.capped"
|
|
119
|
+
];
|
|
120
|
+
var ENVELOPE_LOADERS = {
|
|
121
|
+
"scalar": () => import("@vcollab/shader-artifacts/set/pipelines/scalar.json", { with: { type: "json" } }).then((m) => m.default),
|
|
122
|
+
"scalar.capped": () => import("@vcollab/shader-artifacts/set/pipelines/scalar.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
123
|
+
"deform3.scalar": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.scalar.json", { with: { type: "json" } }).then((m) => m.default),
|
|
124
|
+
"deform3.scalar.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.scalar.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
125
|
+
"deform6.scalar": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.scalar.json", { with: { type: "json" } }).then((m) => m.default),
|
|
126
|
+
"deform6.scalar.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.scalar.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
127
|
+
"vector": () => import("@vcollab/shader-artifacts/set/pipelines/vector.json", { with: { type: "json" } }).then((m) => m.default),
|
|
128
|
+
"vector.capped": () => import("@vcollab/shader-artifacts/set/pipelines/vector.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
129
|
+
"deform3.vector": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.vector.json", { with: { type: "json" } }).then((m) => m.default),
|
|
130
|
+
"deform3.vector.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.vector.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
131
|
+
"deform6.vector": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.vector.json", { with: { type: "json" } }).then((m) => m.default),
|
|
132
|
+
"deform6.vector.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.vector.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
133
|
+
"dof6": () => import("@vcollab/shader-artifacts/set/pipelines/dof6.json", { with: { type: "json" } }).then((m) => m.default),
|
|
134
|
+
"dof6.capped": () => import("@vcollab/shader-artifacts/set/pipelines/dof6.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
135
|
+
"deform3.dof6": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.dof6.json", { with: { type: "json" } }).then((m) => m.default),
|
|
136
|
+
"deform3.dof6.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.dof6.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
137
|
+
"deform6.dof6": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.dof6.json", { with: { type: "json" } }).then((m) => m.default),
|
|
138
|
+
"deform6.dof6.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.dof6.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
139
|
+
"symtensor": () => import("@vcollab/shader-artifacts/set/pipelines/symtensor.json", { with: { type: "json" } }).then((m) => m.default),
|
|
140
|
+
"symtensor.capped": () => import("@vcollab/shader-artifacts/set/pipelines/symtensor.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
141
|
+
"deform3.symtensor": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.symtensor.json", { with: { type: "json" } }).then((m) => m.default),
|
|
142
|
+
"deform3.symtensor.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.symtensor.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
143
|
+
"deform6.symtensor": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.symtensor.json", { with: { type: "json" } }).then((m) => m.default),
|
|
144
|
+
"deform6.symtensor.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.symtensor.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
145
|
+
"category": () => import("@vcollab/shader-artifacts/set/pipelines/category.json", { with: { type: "json" } }).then((m) => m.default),
|
|
146
|
+
"category.capped": () => import("@vcollab/shader-artifacts/set/pipelines/category.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
147
|
+
"deform3.category": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.category.json", { with: { type: "json" } }).then((m) => m.default),
|
|
148
|
+
"deform3.category.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.category.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
149
|
+
"deform6.category": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.category.json", { with: { type: "json" } }).then((m) => m.default),
|
|
150
|
+
"deform6.category.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.category.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
151
|
+
"surface": () => import("@vcollab/shader-artifacts/set/pipelines/surface.json", { with: { type: "json" } }).then((m) => m.default),
|
|
152
|
+
"surface.capped": () => import("@vcollab/shader-artifacts/set/pipelines/surface.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
153
|
+
"deform3.surface": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.surface.json", { with: { type: "json" } }).then((m) => m.default),
|
|
154
|
+
"deform3.surface.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.surface.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
155
|
+
"deform6.surface": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.surface.json", { with: { type: "json" } }).then((m) => m.default),
|
|
156
|
+
"deform6.surface.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.surface.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
157
|
+
"pick": () => import("@vcollab/shader-artifacts/set/pipelines/pick.json", { with: { type: "json" } }).then((m) => m.default),
|
|
158
|
+
"pick.capped": () => import("@vcollab/shader-artifacts/set/pipelines/pick.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
159
|
+
"deform3.pick": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.pick.json", { with: { type: "json" } }).then((m) => m.default),
|
|
160
|
+
"deform3.pick.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.pick.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
161
|
+
"deform6.pick": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.pick.json", { with: { type: "json" } }).then((m) => m.default),
|
|
162
|
+
"deform6.pick.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.pick.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
163
|
+
"textured": () => import("@vcollab/shader-artifacts/set/pipelines/textured.json", { with: { type: "json" } }).then((m) => m.default),
|
|
164
|
+
"textured.capped": () => import("@vcollab/shader-artifacts/set/pipelines/textured.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
165
|
+
"deform3.textured": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.textured.json", { with: { type: "json" } }).then((m) => m.default),
|
|
166
|
+
"deform3.textured.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.textured.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
167
|
+
"deform6.textured": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.textured.json", { with: { type: "json" } }).then((m) => m.default),
|
|
168
|
+
"deform6.textured.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.textured.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
169
|
+
"textured-normal": () => import("@vcollab/shader-artifacts/set/pipelines/textured-normal.json", { with: { type: "json" } }).then((m) => m.default),
|
|
170
|
+
"textured-normal.capped": () => import("@vcollab/shader-artifacts/set/pipelines/textured-normal.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
171
|
+
"deform3.textured-normal": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.textured-normal.json", { with: { type: "json" } }).then((m) => m.default),
|
|
172
|
+
"deform3.textured-normal.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.textured-normal.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
173
|
+
"deform6.textured-normal": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.textured-normal.json", { with: { type: "json" } }).then((m) => m.default),
|
|
174
|
+
"deform6.textured-normal.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.textured-normal.capped.json", { with: { type: "json" } }).then((m) => m.default)
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
// src/version.ts
|
|
178
|
+
var VERSION = "2.0.0";
|
|
179
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
180
|
+
0 && (module.exports = {
|
|
181
|
+
ENVELOPE_LOADERS,
|
|
182
|
+
PIPELINE_IDS,
|
|
183
|
+
PROVENANCE,
|
|
184
|
+
REGISTRY,
|
|
185
|
+
SCHEMA_VERSION,
|
|
186
|
+
SET_SHA256,
|
|
187
|
+
SET_VERSION,
|
|
188
|
+
VERSION
|
|
189
|
+
});
|
|
190
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.ts","../src/generated/set.ts","../src/version.ts"],"sourcesContent":["// Copyright Visual Collaboration Technologies Inc. All Rights Reserved.\n// See LICENSE for details.\n\n/**\n * @vcollab/shader-artifacts — the compiled VCollab shader artifact set.\n *\n * Data, not code. The set is built offline by `vcti-shader-foundry` with a\n * pinned toolchain, checked whole, and imported here by `scripts/import-set.mjs`;\n * this package carries the files and the few constants that describe them.\n * Nothing here composes, templates or compiles a shader.\n *\n * The documents are also reachable as plain files, for a consumer that would\n * rather serve them than bundle them:\n *\n * @vcollab/shader-artifacts/set/registry.json\n * @vcollab/shader-artifacts/set/pipelines/<id>.json\n * @vcollab/shader-artifacts/set/shaders/<id>.<stage>.glsl\n * @vcollab/shader-artifacts/set/SHA256SUMS\n *\n * To read the set as an artifact set rather than as files, use\n * `openBundledSet()` from `@vcollab/shader-library/bundled`.\n */\n\nexport {\n ENVELOPE_LOADERS,\n PIPELINE_IDS,\n PROVENANCE,\n REGISTRY,\n SCHEMA_VERSION,\n SET_SHA256,\n SET_VERSION,\n} from \"./generated/set.js\";\nexport { VERSION } from \"./version.js\";\n","// Copyright Visual Collaboration Technologies Inc. All Rights Reserved.\n// See LICENSE for details.\n\n// GENERATED by scripts/import-set.mjs from the set e9bef04f… Do not edit.\n//\n// The index is imported statically: it is small, and every consumer reads it.\n// Each envelope is a separate dynamic import with a literal specifier, so a\n// bundler can split them and a consumer drawing one pipeline does not carry\n// the others.\n//\n// The specifiers are self-references through this package's own \"exports\"\n// rather than relative paths. A relative path would resolve differently from\n// src/ than from dist/, and a bundler would answer that by inlining the whole\n// set into the build output — where it would ship a second time beside set/.\n\nimport registry from \"@vcollab/shader-artifacts/set/registry.json\" with { type: \"json\" };\n\n/** The set's `registry.json`. */\nexport const REGISTRY: unknown = registry;\n\n/** Where this set came from: its hash, its schema, and what built it. */\nexport const PROVENANCE = {\n \"setSha256\": \"e9bef04f7bbbbea26d58211f674aa672861f6be753ba9ddfb3378df4f1d781ad\",\n \"schemaVersion\": 3,\n \"generator\": {\n \"name\": \"vcti-shader-foundry\",\n \"version\": \"9.0.0\",\n \"toolchain\": {\n \"slangc\": \"2026.12.0.1\",\n \"spirvCross\": \"vulkan-sdk-1.4.357.0\",\n \"glslang\": \"11:16.5.0\"\n }\n },\n \"pipelineCount\": 54\n} as const;\n\n/** The version of the builder that emitted this set. */\nexport const SET_VERSION = \"9.0.0\";\n\n/**\n * The set's hash: the sha256 of its `SHA256SUMS`, which lists every other\n * file by the sha256 of its bytes. The same for the archive the set came in\n * and for set/ here — `sha256sum SHA256SUMS` there gives it — and what the\n * archive's name carries the first eight digits of.\n */\nexport const SET_SHA256 = \"e9bef04f7bbbbea26d58211f674aa672861f6be753ba9ddfb3378df4f1d781ad\";\n\n/** The emitted document shape this set carries. */\nexport const SCHEMA_VERSION = 3;\n\n/** Every pipeline id in the set, in index order. */\nexport const PIPELINE_IDS: readonly string[] = [\n \"scalar\",\n \"scalar.capped\",\n \"deform3.scalar\",\n \"deform3.scalar.capped\",\n \"deform6.scalar\",\n \"deform6.scalar.capped\",\n \"vector\",\n \"vector.capped\",\n \"deform3.vector\",\n \"deform3.vector.capped\",\n \"deform6.vector\",\n \"deform6.vector.capped\",\n \"dof6\",\n \"dof6.capped\",\n \"deform3.dof6\",\n \"deform3.dof6.capped\",\n \"deform6.dof6\",\n \"deform6.dof6.capped\",\n \"symtensor\",\n \"symtensor.capped\",\n \"deform3.symtensor\",\n \"deform3.symtensor.capped\",\n \"deform6.symtensor\",\n \"deform6.symtensor.capped\",\n \"category\",\n \"category.capped\",\n \"deform3.category\",\n \"deform3.category.capped\",\n \"deform6.category\",\n \"deform6.category.capped\",\n \"surface\",\n \"surface.capped\",\n \"deform3.surface\",\n \"deform3.surface.capped\",\n \"deform6.surface\",\n \"deform6.surface.capped\",\n \"pick\",\n \"pick.capped\",\n \"deform3.pick\",\n \"deform3.pick.capped\",\n \"deform6.pick\",\n \"deform6.pick.capped\",\n \"textured\",\n \"textured.capped\",\n \"deform3.textured\",\n \"deform3.textured.capped\",\n \"deform6.textured\",\n \"deform6.textured.capped\",\n \"textured-normal\",\n \"textured-normal.capped\",\n \"deform3.textured-normal\",\n \"deform3.textured-normal.capped\",\n \"deform6.textured-normal\",\n \"deform6.textured-normal.capped\"\n];\n\n/** One loader per pipeline id, each resolving to that pipeline's envelope. */\nexport const ENVELOPE_LOADERS: Readonly<Record<string, () => Promise<unknown>>> = {\n \"scalar\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/scalar.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"scalar.capped\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/scalar.capped.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform3.scalar\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform3.scalar.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform3.scalar.capped\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform3.scalar.capped.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform6.scalar\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform6.scalar.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform6.scalar.capped\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform6.scalar.capped.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"vector\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/vector.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"vector.capped\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/vector.capped.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform3.vector\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform3.vector.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform3.vector.capped\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform3.vector.capped.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform6.vector\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform6.vector.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform6.vector.capped\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform6.vector.capped.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"dof6\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/dof6.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"dof6.capped\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/dof6.capped.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform3.dof6\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform3.dof6.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform3.dof6.capped\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform3.dof6.capped.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform6.dof6\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform6.dof6.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform6.dof6.capped\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform6.dof6.capped.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"symtensor\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/symtensor.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"symtensor.capped\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/symtensor.capped.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform3.symtensor\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform3.symtensor.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform3.symtensor.capped\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform3.symtensor.capped.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform6.symtensor\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform6.symtensor.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform6.symtensor.capped\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform6.symtensor.capped.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"category\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/category.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"category.capped\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/category.capped.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform3.category\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform3.category.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform3.category.capped\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform3.category.capped.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform6.category\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform6.category.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform6.category.capped\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform6.category.capped.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"surface\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/surface.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"surface.capped\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/surface.capped.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform3.surface\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform3.surface.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform3.surface.capped\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform3.surface.capped.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform6.surface\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform6.surface.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform6.surface.capped\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform6.surface.capped.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"pick\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/pick.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"pick.capped\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/pick.capped.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform3.pick\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform3.pick.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform3.pick.capped\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform3.pick.capped.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform6.pick\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform6.pick.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform6.pick.capped\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform6.pick.capped.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"textured\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/textured.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"textured.capped\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/textured.capped.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform3.textured\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform3.textured.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform3.textured.capped\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform3.textured.capped.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform6.textured\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform6.textured.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform6.textured.capped\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform6.textured.capped.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"textured-normal\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/textured-normal.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"textured-normal.capped\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/textured-normal.capped.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform3.textured-normal\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform3.textured-normal.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform3.textured-normal.capped\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform3.textured-normal.capped.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform6.textured-normal\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform6.textured-normal.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n \"deform6.textured-normal.capped\": () =>\n import(\"@vcollab/shader-artifacts/set/pipelines/deform6.textured-normal.capped.json\", { with: { type: \"json\" } }).then((m) => m.default as unknown),\n};\n","// Copyright Visual Collaboration Technologies Inc. All Rights Reserved.\n// See LICENSE for details.\n\n// __PKG_VERSION__ is replaced with the package.json version at build time by\n// tsup (see tsup.config.ts) and by vitest during tests (see vitest.config.ts).\n// package.json remains the single source of truth; it stays out of the TS\n// program so tsc can emit declarations cleanly (see tsconfig.build.json).\ndeclare const __PKG_VERSION__: string;\n\n/** The package version, injected from package.json at build time. */\nexport const VERSION: string = __PKG_VERSION__;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AA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CAAkC,MAChC,OAAO,+EAA+E,EAAE,MAAM,EAAE,MAAM,OAAO,EAAE,CAAC,EAAE,KAAK,CAAC,MAAM,EAAE,OAAkB;AACtJ;;;AChNO,IAAM,UAAkB;","names":["registry"]}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @vcollab/shader-artifacts — the compiled VCollab shader artifact set.
|
|
3
|
+
*
|
|
4
|
+
* Data, not code. The set is built offline by `vcti-shader-foundry` with a
|
|
5
|
+
* pinned toolchain, checked whole, and imported here by `scripts/import-set.mjs`;
|
|
6
|
+
* this package carries the files and the few constants that describe them.
|
|
7
|
+
* Nothing here composes, templates or compiles a shader.
|
|
8
|
+
*
|
|
9
|
+
* The documents are also reachable as plain files, for a consumer that would
|
|
10
|
+
* rather serve them than bundle them:
|
|
11
|
+
*
|
|
12
|
+
* @vcollab/shader-artifacts/set/registry.json
|
|
13
|
+
* @vcollab/shader-artifacts/set/pipelines/<id>.json
|
|
14
|
+
* @vcollab/shader-artifacts/set/shaders/<id>.<stage>.glsl
|
|
15
|
+
* @vcollab/shader-artifacts/set/SHA256SUMS
|
|
16
|
+
*
|
|
17
|
+
* To read the set as an artifact set rather than as files, use
|
|
18
|
+
* `openBundledSet()` from `@vcollab/shader-library/bundled`.
|
|
19
|
+
*/
|
|
20
|
+
export { ENVELOPE_LOADERS, PIPELINE_IDS, PROVENANCE, REGISTRY, SCHEMA_VERSION, SET_SHA256, SET_VERSION, } from "./generated/set.js";
|
|
21
|
+
export { VERSION } from "./version.js";
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
// src/generated/set.ts
|
|
2
|
+
import registry from "@vcollab/shader-artifacts/set/registry.json" with { type: "json" };
|
|
3
|
+
var REGISTRY = registry;
|
|
4
|
+
var PROVENANCE = {
|
|
5
|
+
"setSha256": "e9bef04f7bbbbea26d58211f674aa672861f6be753ba9ddfb3378df4f1d781ad",
|
|
6
|
+
"schemaVersion": 3,
|
|
7
|
+
"generator": {
|
|
8
|
+
"name": "vcti-shader-foundry",
|
|
9
|
+
"version": "9.0.0",
|
|
10
|
+
"toolchain": {
|
|
11
|
+
"slangc": "2026.12.0.1",
|
|
12
|
+
"spirvCross": "vulkan-sdk-1.4.357.0",
|
|
13
|
+
"glslang": "11:16.5.0"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"pipelineCount": 54
|
|
17
|
+
};
|
|
18
|
+
var SET_VERSION = "9.0.0";
|
|
19
|
+
var SET_SHA256 = "e9bef04f7bbbbea26d58211f674aa672861f6be753ba9ddfb3378df4f1d781ad";
|
|
20
|
+
var SCHEMA_VERSION = 3;
|
|
21
|
+
var PIPELINE_IDS = [
|
|
22
|
+
"scalar",
|
|
23
|
+
"scalar.capped",
|
|
24
|
+
"deform3.scalar",
|
|
25
|
+
"deform3.scalar.capped",
|
|
26
|
+
"deform6.scalar",
|
|
27
|
+
"deform6.scalar.capped",
|
|
28
|
+
"vector",
|
|
29
|
+
"vector.capped",
|
|
30
|
+
"deform3.vector",
|
|
31
|
+
"deform3.vector.capped",
|
|
32
|
+
"deform6.vector",
|
|
33
|
+
"deform6.vector.capped",
|
|
34
|
+
"dof6",
|
|
35
|
+
"dof6.capped",
|
|
36
|
+
"deform3.dof6",
|
|
37
|
+
"deform3.dof6.capped",
|
|
38
|
+
"deform6.dof6",
|
|
39
|
+
"deform6.dof6.capped",
|
|
40
|
+
"symtensor",
|
|
41
|
+
"symtensor.capped",
|
|
42
|
+
"deform3.symtensor",
|
|
43
|
+
"deform3.symtensor.capped",
|
|
44
|
+
"deform6.symtensor",
|
|
45
|
+
"deform6.symtensor.capped",
|
|
46
|
+
"category",
|
|
47
|
+
"category.capped",
|
|
48
|
+
"deform3.category",
|
|
49
|
+
"deform3.category.capped",
|
|
50
|
+
"deform6.category",
|
|
51
|
+
"deform6.category.capped",
|
|
52
|
+
"surface",
|
|
53
|
+
"surface.capped",
|
|
54
|
+
"deform3.surface",
|
|
55
|
+
"deform3.surface.capped",
|
|
56
|
+
"deform6.surface",
|
|
57
|
+
"deform6.surface.capped",
|
|
58
|
+
"pick",
|
|
59
|
+
"pick.capped",
|
|
60
|
+
"deform3.pick",
|
|
61
|
+
"deform3.pick.capped",
|
|
62
|
+
"deform6.pick",
|
|
63
|
+
"deform6.pick.capped",
|
|
64
|
+
"textured",
|
|
65
|
+
"textured.capped",
|
|
66
|
+
"deform3.textured",
|
|
67
|
+
"deform3.textured.capped",
|
|
68
|
+
"deform6.textured",
|
|
69
|
+
"deform6.textured.capped",
|
|
70
|
+
"textured-normal",
|
|
71
|
+
"textured-normal.capped",
|
|
72
|
+
"deform3.textured-normal",
|
|
73
|
+
"deform3.textured-normal.capped",
|
|
74
|
+
"deform6.textured-normal",
|
|
75
|
+
"deform6.textured-normal.capped"
|
|
76
|
+
];
|
|
77
|
+
var ENVELOPE_LOADERS = {
|
|
78
|
+
"scalar": () => import("@vcollab/shader-artifacts/set/pipelines/scalar.json", { with: { type: "json" } }).then((m) => m.default),
|
|
79
|
+
"scalar.capped": () => import("@vcollab/shader-artifacts/set/pipelines/scalar.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
80
|
+
"deform3.scalar": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.scalar.json", { with: { type: "json" } }).then((m) => m.default),
|
|
81
|
+
"deform3.scalar.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.scalar.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
82
|
+
"deform6.scalar": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.scalar.json", { with: { type: "json" } }).then((m) => m.default),
|
|
83
|
+
"deform6.scalar.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.scalar.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
84
|
+
"vector": () => import("@vcollab/shader-artifacts/set/pipelines/vector.json", { with: { type: "json" } }).then((m) => m.default),
|
|
85
|
+
"vector.capped": () => import("@vcollab/shader-artifacts/set/pipelines/vector.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
86
|
+
"deform3.vector": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.vector.json", { with: { type: "json" } }).then((m) => m.default),
|
|
87
|
+
"deform3.vector.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.vector.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
88
|
+
"deform6.vector": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.vector.json", { with: { type: "json" } }).then((m) => m.default),
|
|
89
|
+
"deform6.vector.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.vector.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
90
|
+
"dof6": () => import("@vcollab/shader-artifacts/set/pipelines/dof6.json", { with: { type: "json" } }).then((m) => m.default),
|
|
91
|
+
"dof6.capped": () => import("@vcollab/shader-artifacts/set/pipelines/dof6.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
92
|
+
"deform3.dof6": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.dof6.json", { with: { type: "json" } }).then((m) => m.default),
|
|
93
|
+
"deform3.dof6.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.dof6.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
94
|
+
"deform6.dof6": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.dof6.json", { with: { type: "json" } }).then((m) => m.default),
|
|
95
|
+
"deform6.dof6.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.dof6.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
96
|
+
"symtensor": () => import("@vcollab/shader-artifacts/set/pipelines/symtensor.json", { with: { type: "json" } }).then((m) => m.default),
|
|
97
|
+
"symtensor.capped": () => import("@vcollab/shader-artifacts/set/pipelines/symtensor.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
98
|
+
"deform3.symtensor": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.symtensor.json", { with: { type: "json" } }).then((m) => m.default),
|
|
99
|
+
"deform3.symtensor.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.symtensor.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
100
|
+
"deform6.symtensor": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.symtensor.json", { with: { type: "json" } }).then((m) => m.default),
|
|
101
|
+
"deform6.symtensor.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.symtensor.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
102
|
+
"category": () => import("@vcollab/shader-artifacts/set/pipelines/category.json", { with: { type: "json" } }).then((m) => m.default),
|
|
103
|
+
"category.capped": () => import("@vcollab/shader-artifacts/set/pipelines/category.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
104
|
+
"deform3.category": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.category.json", { with: { type: "json" } }).then((m) => m.default),
|
|
105
|
+
"deform3.category.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.category.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
106
|
+
"deform6.category": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.category.json", { with: { type: "json" } }).then((m) => m.default),
|
|
107
|
+
"deform6.category.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.category.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
108
|
+
"surface": () => import("@vcollab/shader-artifacts/set/pipelines/surface.json", { with: { type: "json" } }).then((m) => m.default),
|
|
109
|
+
"surface.capped": () => import("@vcollab/shader-artifacts/set/pipelines/surface.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
110
|
+
"deform3.surface": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.surface.json", { with: { type: "json" } }).then((m) => m.default),
|
|
111
|
+
"deform3.surface.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.surface.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
112
|
+
"deform6.surface": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.surface.json", { with: { type: "json" } }).then((m) => m.default),
|
|
113
|
+
"deform6.surface.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.surface.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
114
|
+
"pick": () => import("@vcollab/shader-artifacts/set/pipelines/pick.json", { with: { type: "json" } }).then((m) => m.default),
|
|
115
|
+
"pick.capped": () => import("@vcollab/shader-artifacts/set/pipelines/pick.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
116
|
+
"deform3.pick": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.pick.json", { with: { type: "json" } }).then((m) => m.default),
|
|
117
|
+
"deform3.pick.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.pick.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
118
|
+
"deform6.pick": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.pick.json", { with: { type: "json" } }).then((m) => m.default),
|
|
119
|
+
"deform6.pick.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.pick.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
120
|
+
"textured": () => import("@vcollab/shader-artifacts/set/pipelines/textured.json", { with: { type: "json" } }).then((m) => m.default),
|
|
121
|
+
"textured.capped": () => import("@vcollab/shader-artifacts/set/pipelines/textured.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
122
|
+
"deform3.textured": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.textured.json", { with: { type: "json" } }).then((m) => m.default),
|
|
123
|
+
"deform3.textured.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.textured.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
124
|
+
"deform6.textured": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.textured.json", { with: { type: "json" } }).then((m) => m.default),
|
|
125
|
+
"deform6.textured.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.textured.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
126
|
+
"textured-normal": () => import("@vcollab/shader-artifacts/set/pipelines/textured-normal.json", { with: { type: "json" } }).then((m) => m.default),
|
|
127
|
+
"textured-normal.capped": () => import("@vcollab/shader-artifacts/set/pipelines/textured-normal.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
128
|
+
"deform3.textured-normal": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.textured-normal.json", { with: { type: "json" } }).then((m) => m.default),
|
|
129
|
+
"deform3.textured-normal.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform3.textured-normal.capped.json", { with: { type: "json" } }).then((m) => m.default),
|
|
130
|
+
"deform6.textured-normal": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.textured-normal.json", { with: { type: "json" } }).then((m) => m.default),
|
|
131
|
+
"deform6.textured-normal.capped": () => import("@vcollab/shader-artifacts/set/pipelines/deform6.textured-normal.capped.json", { with: { type: "json" } }).then((m) => m.default)
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
// src/version.ts
|
|
135
|
+
var VERSION = "2.0.0";
|
|
136
|
+
export {
|
|
137
|
+
ENVELOPE_LOADERS,
|
|
138
|
+
PIPELINE_IDS,
|
|
139
|
+
PROVENANCE,
|
|
140
|
+
REGISTRY,
|
|
141
|
+
SCHEMA_VERSION,
|
|
142
|
+
SET_SHA256,
|
|
143
|
+
SET_VERSION,
|
|
144
|
+
VERSION
|
|
145
|
+
};
|
|
146
|
+
//# sourceMappingURL=index.js.map
|