vis-core 0.23.4 → 0.24.0

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.
@@ -0,0 +1,17 @@
1
+ export default class Benchmarks {
2
+ renderer: string;
3
+ constructor(renderer: string);
4
+ query(): {
5
+ tier: number;
6
+ gpu: string;
7
+ } | {
8
+ tier: number;
9
+ renderer: string;
10
+ };
11
+ getGpuType(): "intel" | "apple" | "amd" | "radeon" | "nvidia" | "geforce" | "adreno" | undefined;
12
+ getGPUVersion(): string;
13
+ queryFallback(): {
14
+ tier: number;
15
+ gpu: string;
16
+ };
17
+ }
@@ -0,0 +1,21 @@
1
+ declare class WebGL {
2
+ rawRenderer: string;
3
+ renderer: string;
4
+ constructor();
5
+ getRawRenderer(): any;
6
+ getRenderer(): string;
7
+ query(): {
8
+ WebP: boolean;
9
+ WebGL: boolean;
10
+ WebGL2: boolean;
11
+ WebGL2RC: boolean;
12
+ isGPUAcceleratorEnabled: boolean;
13
+ };
14
+ isWebGLAvailable(): boolean;
15
+ isWebGL2Available(): boolean;
16
+ isWebGL2RenderingContextAvailable(): boolean;
17
+ isGPUAcceleratorAvailable(): boolean;
18
+ isColorSpaceAvailable(colorSpace: PredefinedColorSpace): boolean;
19
+ isWebPAvailable(): boolean;
20
+ }
21
+ export default WebGL;
@@ -1,2 +1,20 @@
1
- declare const _default: () => any;
1
+ declare const _default: () => {
2
+ tier: number;
3
+ gpu: string;
4
+ WebP: boolean;
5
+ WebGL: boolean;
6
+ WebGL2: boolean;
7
+ WebGL2RC: boolean;
8
+ isGPUAcceleratorEnabled: boolean;
9
+ } | {
10
+ tier: number;
11
+ renderer: string;
12
+ WebP: boolean;
13
+ WebGL: boolean;
14
+ WebGL2: boolean;
15
+ WebGL2RC: boolean;
16
+ isGPUAcceleratorEnabled: boolean;
17
+ } | {
18
+ tier: number;
19
+ };
2
20
  export default _default;
@@ -8,4 +8,5 @@ export class SetMaterial extends Command {
8
8
  undo(): void;
9
9
  fromJSON(json: any): void;
10
10
  }
11
+ export function parseMaterial(json: any): import("three").Material | null;
11
12
  import { Command } from './Command';
package/dist/index.d.ts CHANGED
@@ -8,4 +8,4 @@ export * from './getVisConfig';
8
8
  export declare const access: {
9
9
  token: string;
10
10
  };
11
- export declare const VERSION = "0.23.4";
11
+ export declare const VERSION = "0.24.0";