Comparing version 1.1.0 to 1.1.1
@@ -7,2 +7,6 @@ # Changelog | ||
## [1.1.1] - 2021-11-30 | ||
### Fixed | ||
- Fixed an issue which caused `PostProcessingSprite` to crash if application/renderer was destroyed. | ||
## [1.1.0] - 2021-11-20 | ||
@@ -9,0 +13,0 @@ ### Added |
{ | ||
"name": "pixi3d", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "The 3D renderer for PixiJS. Seamless integration with 2D applications.", | ||
@@ -5,0 +5,0 @@ "main": "dist/pixi3d.js", |
@@ -1,2 +0,2 @@ | ||
import { DisplayObject, Sprite, RenderTexture, Renderer } from "pixi.js"; | ||
import { DisplayObject, Sprite, RenderTexture, Renderer, IDestroyOptions } from "pixi.js"; | ||
export interface PostProcessingSpriteOptions { | ||
@@ -23,2 +23,3 @@ /** | ||
renderer: Renderer; | ||
private _tickerRender; | ||
private _renderTexture; | ||
@@ -36,2 +37,3 @@ /** The render texture. */ | ||
constructor(renderer: Renderer, options?: PostProcessingSpriteOptions); | ||
destroy(options?: boolean | IDestroyOptions): void; | ||
/** | ||
@@ -38,0 +40,0 @@ * Updates the sprite's texture by rendering the specified object to it. |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1938106
17728