@flighthq/effects 0.2.1-next.652.c550eaa → 0.2.1-next.701.409c279
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blendEffect.d.ts","sourceRoot":"","sources":["../src/blendEffect.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"blendEffect.d.ts","sourceRoot":"","sources":["../src/blendEffect.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAStE,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,iBAAiB,EACvB,OAAO,GAAE,QAAQ,CAAC,IAAI,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAAC,CAAM,GACzD,WAAW,CAEb"}
|
package/dist/blendEffect.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
// Advanced-blend composite effect: blends the incoming pipeline layer over a registered backdrop using
|
|
2
2
|
// a destination-reading / non-separable mode (the AdvancedBlendMode vocabulary the fixed-function
|
|
3
3
|
// BlendMode enum deliberately excludes). `mode` is required; `backdropKey` names the per-state backdrop
|
|
4
|
-
//
|
|
5
|
-
// contribution 0..1 (default 1). The backend bounces this through an
|
|
6
|
-
// backdrop — it is an effect you apply explicitly, not a cheap node
|
|
4
|
+
// resource the backend samples (`registerGlBlendEffectBackdrop` / `registerWgpuBlendEffectBackdrop`), and
|
|
5
|
+
// `opacity` scales the layer's contribution 0..1 (default 1). The backend bounces this through an
|
|
6
|
+
// offscreen and samples layer + backdrop — it is an effect you apply explicitly, not a cheap node
|
|
7
|
+
// property.
|
|
7
8
|
export function createBlendEffect(mode, options = {}) {
|
|
8
9
|
return { kind: 'BlendEffect', mode, ...options };
|
|
9
10
|
}
|
package/dist/blendEffect.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blendEffect.js","sourceRoot":"","sources":["../src/blendEffect.ts"],"names":[],"mappings":"AAEA,uGAAuG;AACvG,kGAAkG;AAClG,wGAAwG;AACxG,
|
|
1
|
+
{"version":3,"file":"blendEffect.js","sourceRoot":"","sources":["../src/blendEffect.ts"],"names":[],"mappings":"AAEA,uGAAuG;AACvG,kGAAkG;AAClG,wGAAwG;AACxG,0GAA0G;AAC1G,kGAAkG;AAClG,kGAAkG;AAClG,YAAY;AACZ,MAAM,UAAU,iBAAiB,CAC/B,IAAuB,EACvB,UAAwD,EAAE;IAE1D,OAAO,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC;AACnD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flighthq/effects",
|
|
3
|
-
"version": "0.2.1-next.
|
|
3
|
+
"version": "0.2.1-next.701.409c279",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/flighthq/flight.git",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"clean:dist": "tsx ../../scripts/clean-package-dist.ts"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@flighthq/types": "0.2.1-next.
|
|
35
|
+
"@flighthq/types": "0.2.1-next.701.409c279"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"typescript": "^5.3.0"
|