@xviewer.js/core 1.0.4-alpha.3 → 1.0.4-alpha.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xviewer.js/core",
3
- "version": "1.0.4-alpha.3",
3
+ "version": "1.0.4-alpha.4",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -28,7 +28,6 @@ export declare class Component<T extends Object3D = Object3D> extends ObjectInst
28
28
  onEnableCalled?: boolean;
29
29
  startCalled?: boolean;
30
30
  deActivating?: boolean;
31
- isStartCalled?: boolean;
32
31
  };
33
32
  get enabled(): boolean;
34
33
  set enabled(v: boolean);
package/types/Viewer.d.ts CHANGED
@@ -143,6 +143,7 @@ export declare class Viewer extends EventEmitter {
143
143
  blit(renderTarget: WebGLRenderTarget, material: Material, lod?: number, face?: number): void;
144
144
  copy(src: WebGLRenderTarget | Texture, dest: WebGLRenderTarget): void;
145
145
  clearColor(renderTarget: WebGLRenderTarget, color: ColorRepresentation, alpha?: number): void;
146
+ stash(renderTarget: WebGLRenderTarget | null, callback: (renderer: WebGLRenderer) => void, clearColor?: ColorRepresentation, clearAlpha?: number): void;
146
147
  blur(blurLevel: number, shadingScale: number, inputBuffer: WebGLRenderTarget, tempBuffer: WebGLRenderTarget, outputBuffer?: WebGLRenderTarget, fixedOutput?: boolean): void;
147
148
  render(renderTarget: WebGLRenderTarget | null, node: Object3D, camera: Camera, clearColor?: ColorRepresentation, clearAlpha?: number): void;
148
149
  compile(target?: Object3D | Scene | Material | Texture): void;
@@ -161,7 +162,7 @@ export declare class Viewer extends EventEmitter {
161
162
  static Copy(renderer: WebGLRenderer, src: WebGLRenderTarget | Texture, dest: WebGLRenderTarget): void;
162
163
  static ClearColor(renderer: WebGLRenderer, renderTarget: WebGLRenderTarget | null, clearColor: ColorRepresentation, clearAlpha?: number): void;
163
164
  static Render(renderer: WebGLRenderer, renderTarget: WebGLRenderTarget | null, node: Object3D, camera: Camera, clearColor?: ColorRepresentation, clearAlpha?: number): void;
164
- static Stash(renderer: WebGLRenderer, renderTarget: WebGLRenderTarget | null, callback: () => void, clearColor?: ColorRepresentation, clearAlpha?: number): void;
165
+ static Stash(renderer: WebGLRenderer, renderTarget: WebGLRenderTarget | null, callback: (renderer: WebGLRenderer) => void, clearColor?: ColorRepresentation, clearAlpha?: number): void;
165
166
  static CreateFullscreenTriangle(): BufferGeometry<import("three").NormalBufferAttributes, import("three").BufferGeometryEventMap>;
166
167
  }
167
168
  export {};