@taole/giftstage 0.1.29 → 0.1.30

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,14 +1,12 @@
1
1
  import type { GPUBackend, GiftSlot } from '../types';
2
2
  export declare class ImageRenderer {
3
- private webglQuadVB;
4
- private topLeftQuadVB;
3
+ private quadVB;
5
4
  private quadIB;
6
5
  private readonly scratchTransform;
7
6
  private projCacheW;
8
7
  private projCacheH;
9
8
  private projCache;
10
- private static readonly QUAD_VERTS_WEBGL;
11
- private static readonly QUAD_VERTS_TOP_LEFT;
9
+ private static readonly QUAD_VERTS;
12
10
  private static readonly QUAD_INDICES;
13
11
  drawSlot(backend: GPUBackend, slot: GiftSlot): void;
14
12
  destroy(backend: GPUBackend): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taole/giftstage",
3
- "version": "0.1.29",
3
+ "version": "0.1.30",
4
4
  "description": "High-performance WebGPU/WebGL gift animation player unifying SVGA, VAP, AlphaVideo, and images",
5
5
  "type": "module",
6
6
  "main": "dist/gift-stage.cjs.js",