@next2d/webgl 1.18.6 → 1.18.7

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,9 +1,7 @@
1
- import type { CanvasToWebGLContext } from "./CanvasToWebGLContext";
2
1
  /**
3
2
  * @class
4
3
  */
5
4
  export declare class CanvasPatternToWebGL {
6
- private readonly _$context;
7
5
  private readonly _$texture;
8
6
  private readonly _$repeat;
9
7
  private readonly _$colorTransform;
@@ -11,7 +9,7 @@ export declare class CanvasPatternToWebGL {
11
9
  * @constructor
12
10
  * @public
13
11
  */
14
- constructor(context: CanvasToWebGLContext, texture: WebGLTexture, repeat: boolean, color_transform: Float32Array);
12
+ constructor(texture: WebGLTexture, repeat: boolean, color_transform: Float32Array);
15
13
  /**
16
14
  * @member {WebGLTexture}
17
15
  * @readonly
@@ -6,12 +6,7 @@ export class CanvasPatternToWebGL {
6
6
  * @constructor
7
7
  * @public
8
8
  */
9
- constructor(context, texture, repeat, color_transform) {
10
- /**
11
- * @type {CanvasToWebGLContext}
12
- * @private
13
- */
14
- this._$context = context;
9
+ constructor(texture, repeat, color_transform) {
15
10
  /**
16
11
  * @type {WebGLTexture}
17
12
  * @private
@@ -1256,7 +1256,7 @@ export class CanvasToWebGLContext {
1256
1256
  * @public
1257
1257
  */
1258
1258
  createPattern(texture, repeat, color_transform) {
1259
- return new CanvasPatternToWebGL(this, texture, repeat, color_transform);
1259
+ return new CanvasPatternToWebGL(texture, repeat, color_transform);
1260
1260
  }
1261
1261
  /**
1262
1262
  * @param {number} x0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next2d/webgl",
3
- "version": "1.18.6",
3
+ "version": "1.18.7",
4
4
  "description": "Next2D Webgl Packages",
5
5
  "author": "Toshiyuki Ienaga<ienaga@tvon.jp> (https://github.com/ienaga/)",
6
6
  "license": "MIT",
@@ -32,6 +32,6 @@
32
32
  "url": "git+https://github.com/Next2D/Player.git"
33
33
  },
34
34
  "peerDependencies": {
35
- "@next2d/share": "1.18.6"
35
+ "@next2d/share": "1.18.7"
36
36
  }
37
37
  }