@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;AAQtE,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,iBAAiB,EACvB,OAAO,GAAE,QAAQ,CAAC,IAAI,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAAC,CAAM,GACzD,WAAW,CAEb"}
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"}
@@ -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
- // texture the backend samples (registerGlBlendEffectBackdrop), and `opacity` scales the layer's
5
- // contribution 0..1 (default 1). The backend bounces this through an offscreen and samples layer +
6
- // backdrop — it is an effect you apply explicitly, not a cheap node property.
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
  }
@@ -1 +1 @@
1
- {"version":3,"file":"blendEffect.js","sourceRoot":"","sources":["../src/blendEffect.ts"],"names":[],"mappings":"AAEA,uGAAuG;AACvG,kGAAkG;AAClG,wGAAwG;AACxG,gGAAgG;AAChG,mGAAmG;AACnG,8EAA8E;AAC9E,MAAM,UAAU,iBAAiB,CAC/B,IAAuB,EACvB,UAAwD,EAAE;IAE1D,OAAO,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC;AACnD,CAAC"}
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.652.c550eaa",
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.652.c550eaa"
35
+ "@flighthq/types": "0.2.1-next.701.409c279"
36
36
  },
37
37
  "devDependencies": {
38
38
  "typescript": "^5.3.0"