ohzi-core 9.3.0 → 9.4.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.
- package/build/index.module.js +1 -1
- package/build/index.module.js.map +1 -1
- package/package.json +1 -1
- package/src/Browser.js +26 -0
- package/src/resource_loader/AsyncTextureLoader.js +50 -0
- package/types/BaseApplication.d.ts +1 -0
- package/types/Browser.d.ts +14 -11
- package/types/CameraManager.d.ts +10 -5
- package/types/Capabilities.d.ts +7 -5
- package/types/Configuration.d.ts +7 -5
- package/types/CustomBezierCurve.d.ts +7 -0
- package/types/Debug.d.ts +36 -37
- package/types/EventManager.d.ts +43 -41
- package/types/Graphics.d.ts +48 -34
- package/types/Initializer.d.ts +5 -3
- package/types/Input.d.ts +43 -30
- package/types/KeyboardInput.d.ts +20 -0
- package/types/OS.d.ts +13 -11
- package/types/OScreen.d.ts +21 -17
- package/types/OrthographicCamera.d.ts +1 -0
- package/types/PerspectiveCamera.d.ts +1 -0
- package/types/ReflectionPlaneContext.d.ts +7 -5
- package/types/RenderOrder.d.ts +8 -0
- package/types/ResourceContainer.d.ts +9 -7
- package/types/SceneManager.d.ts +11 -9
- package/types/Screen.d.ts +11 -16
- package/types/Time.d.ts +14 -10
- package/types/UI.d.ts +16 -14
- package/types/action_sequencer/ActionSequencer.d.ts +8 -5
- package/types/action_sequencer/NumberInterpolator.d.ts +3 -2
- package/types/canvas_drawer/SimpleTextDrawer.d.ts +1 -0
- package/types/components/AudioClip.d.ts +2 -1
- package/types/data_textures/CustomDataTexture.d.ts +11 -0
- package/types/data_textures/RGBADataTexture.d.ts +4 -0
- package/types/data_textures/RGBAFloatDataTexture.d.ts +4 -0
- package/types/data_textures/RGBDataTexture.d.ts +4 -0
- package/types/data_textures/RGBFloatDataTexture.d.ts +4 -0
- package/types/gpu_particles/GPUParticleSystem.d.ts +9 -6
- package/types/gpu_particles/ParticleAttribute.d.ts +8 -5
- package/types/gpu_particles/ParticlePositionAttribute.d.ts +3 -1
- package/types/html_utilities/CSSAnimator.d.ts +3 -2
- package/types/index.d.ts +103 -90
- package/types/materials/UnrealBloomComposeMaterial.d.ts +0 -1
- package/types/materials/gpu_particles/ParticleStorageMaterial.d.ts +0 -1
- package/types/render_mode/DebugNormalsRender.d.ts +2 -4
- package/types/render_mode/NormalRender.d.ts +2 -3
- package/types/render_mode/UnrealBloomRender.d.ts +1 -0
- package/types/render_mode/VRRender.d.ts +4 -0
- package/types/render_utilities/Blitter.d.ts +1 -2
- package/types/render_utilities/Blurrer.d.ts +1 -2
- package/types/render_utilities/DepthAndNormalsRenderer.d.ts +2 -4
- package/types/render_utilities/DualFilteringBlurrer.d.ts +2 -4
- package/types/render_utilities/GaussianBlurrer.d.ts +1 -2
- package/types/render_utilities/MedianFilter.d.ts +1 -2
- package/types/resource_loader/AbstractLoader.d.ts +1 -1
- package/types/resource_loader/AsyncTextureLoader.d.ts +5 -0
- package/types/resource_loader/AudioLoader.d.ts +5 -4
- package/types/resource_loader/BasisLoader.d.ts +2 -2
- package/types/resource_loader/CubemapLoader.d.ts +2 -2
- package/types/resource_loader/DAELoader.d.ts +2 -2
- package/types/resource_loader/FileLoader.d.ts +2 -2
- package/types/resource_loader/FontLoader.d.ts +2 -2
- package/types/resource_loader/GLTFDRACOLoader.d.ts +2 -2
- package/types/resource_loader/GLTFLoader.d.ts +2 -3
- package/types/resource_loader/HDRCubeTextureLoader.d.ts +2 -2
- package/types/resource_loader/JSONLoader.d.ts +1 -3
- package/types/resource_loader/OBJLoader.d.ts +2 -2
- package/types/resource_loader/PointArrayLoader.d.ts +2 -2
- package/types/resource_loader/RGBETextureLoader.d.ts +2 -2
- package/types/resource_loader/TextLoader.d.ts +2 -2
- package/types/resource_loader/TextureLoader.d.ts +1 -3
- package/types/resource_loader/VideoLoader.d.ts +1 -3
- package/types/static_batcher/BatchedMesh.d.ts +15 -0
- package/types/static_batcher/GeometryBatcher.d.ts +8 -6
- package/types/static_batcher/MeshBatcher.d.ts +5 -0
- package/types/ui/ui_element_state/OnIdle.d.ts +2 -4
- package/types/ui/ui_element_state/OnMouseEnter.d.ts +2 -4
- package/types/ui/ui_element_state/OnMouseExit.d.ts +2 -4
- package/types/ui/ui_element_state/OnMouseHover.d.ts +1 -2
- package/types/utilities/CameraUtilities.d.ts +20 -20
- package/types/utilities/EasingFunctions.d.ts +1 -1
- package/types/utilities/FrustumPointFitter.d.ts +2 -2
- package/types/utilities/MeshSampler.d.ts +13 -7
- package/types/utilities/ModelUtilities.d.ts +11 -9
- package/types/view_components/ApplicationView.d.ts +1 -1
- package/types/view_components/ViewComponent.d.ts +3 -1
- package/types/view_components/ViewComponentManager.d.ts +12 -9
- package/types/view_components/ViewContext.d.ts +5 -5
- package/types/view_components/ViewManager.d.ts +33 -22
- package/types/view_components/transition/ActionSequencerBuilder.d.ts +5 -4
- package/types/view_components/transition/TransitionTable.d.ts +1 -1
- package/types/view_components/transition/ViewStateTransitionHandler.d.ts +3 -2
package/types/index.d.ts
CHANGED
|
@@ -1,90 +1,103 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
1
|
+
import { AbstractLoader } from "./resource_loader/AbstractLoader";
|
|
2
|
+
import { ActionSequencerBuilder } from "./view_components/transition/ActionSequencerBuilder";
|
|
3
|
+
import { ApplicationView } from "./view_components/ApplicationView";
|
|
4
|
+
import { BaseApplication } from "./BaseApplication";
|
|
5
|
+
import { BaseShaderMaterial } from "./materials/BaseShaderMaterial";
|
|
6
|
+
import { Browser } from "./Browser";
|
|
7
|
+
import { CameraManager } from "./CameraManager";
|
|
8
|
+
import { Capabilities } from "./Capabilities";
|
|
9
|
+
import { CanvasDrawer } from "./canvas_drawer/CanvasDrawer";
|
|
10
|
+
import { Configuration } from "./Configuration";
|
|
11
|
+
import { CSSAnimator } from "./html_utilities/CSSAnimator";
|
|
12
|
+
import { DrawIOAnimationSheet } from "./view_components/transition/DrawIOAnimationSheet";
|
|
13
|
+
import { Debug } from "./Debug";
|
|
14
|
+
import { DebugNormalsRender } from "./render_mode/DebugNormalsRender";
|
|
15
|
+
import { EventManager } from "./EventManager";
|
|
16
|
+
import { Graphics } from "./Graphics";
|
|
17
|
+
import { Input } from "./Input";
|
|
18
|
+
import { Initializer } from "./Initializer";
|
|
19
|
+
import { NormalAORender } from "./render_mode/NormalAORender";
|
|
20
|
+
import { NormalRender } from "./render_mode/NormalRender";
|
|
21
|
+
import { VRRender } from "./render_mode/VRRender";
|
|
22
|
+
import { UnrealBloomRender } from "./render_mode/UnrealBloomRender";
|
|
23
|
+
import { OrthographicCamera } from "./OrthographicCamera";
|
|
24
|
+
import { OS } from "./OS";
|
|
25
|
+
import { PerspectiveCamera } from "./PerspectiveCamera";
|
|
26
|
+
import { RenderLoop } from "./RenderLoop";
|
|
27
|
+
import { SceneManager } from "./SceneManager";
|
|
28
|
+
import { OScreen } from "./OScreen";
|
|
29
|
+
import { Screen } from "./Screen";
|
|
30
|
+
import { SimpleTextDrawer } from "./canvas_drawer/SimpleTextDrawer";
|
|
31
|
+
import { Time } from "./Time";
|
|
32
|
+
import { UI } from "./UI";
|
|
33
|
+
import { BlitMaterial } from "./materials/BlitMaterial";
|
|
34
|
+
import { AddMaterial } from "./materials/AddMaterial";
|
|
35
|
+
import { UnrealBloomComposeMaterial } from "./materials/UnrealBloomComposeMaterial";
|
|
36
|
+
import { BaseRender } from "./render_mode/BaseRender";
|
|
37
|
+
import { ArrayUtilities } from "./utilities/ArrayUtilities";
|
|
38
|
+
import { CameraUtilities } from "./utilities/CameraUtilities";
|
|
39
|
+
import { EasingFunctions } from "./utilities/EasingFunctions";
|
|
40
|
+
import { FrustumPointFitter } from "./utilities/FrustumPointFitter";
|
|
41
|
+
import { GeometryUtilities } from "./utilities/GeometryUtilities";
|
|
42
|
+
import { HTMLUtilities } from "./utilities/HTMLUtilities";
|
|
43
|
+
import { ImageUtilities } from "./utilities/ImageUtilities";
|
|
44
|
+
import { OMath } from "./utilities/OMath";
|
|
45
|
+
import { MeshSampler } from "./utilities/MeshSampler";
|
|
46
|
+
import { ModelUtilities } from "./utilities/ModelUtilities";
|
|
47
|
+
import { ObjectUtilities } from "./utilities/ObjectUtilities";
|
|
48
|
+
import { StringUtilities } from "./utilities/StringUtilities";
|
|
49
|
+
import { TimeUtilities } from "./utilities/TimeUtilities";
|
|
50
|
+
import { Validation } from "./utilities/Validation";
|
|
51
|
+
import { ViewComponent } from "./view_components/ViewComponent";
|
|
52
|
+
import { ViewComponentManager } from "./view_components/ViewComponentManager";
|
|
53
|
+
import { ViewManager } from "./view_components/ViewManager";
|
|
54
|
+
import { Grid } from "./components/Grid";
|
|
55
|
+
import { Line } from "./components/Line";
|
|
56
|
+
import { Text2D } from "./components/Text2D";
|
|
57
|
+
import { TransitionTable } from "./view_components/transition/TransitionTable";
|
|
58
|
+
import { UIElement } from "./components/UIElement";
|
|
59
|
+
import { SDFTextBatch } from "./components/sdf_text/SDFTextBatch";
|
|
60
|
+
import { UpdatableMaterialMesh } from "./components/UpdatableMaterialMesh";
|
|
61
|
+
import { WorldImage } from "./components/WorldImage";
|
|
62
|
+
import { Arrow } from "./primitives/Arrow";
|
|
63
|
+
import { Cube } from "./primitives/Cube";
|
|
64
|
+
import { HorizontalPlane } from "./primitives/HorizontalPlane";
|
|
65
|
+
import { Sphere } from "./primitives/Sphere";
|
|
66
|
+
import { VerticalPlane } from "./primitives/VerticalPlane";
|
|
67
|
+
import { ActionSequencer } from "./action_sequencer/ActionSequencer";
|
|
68
|
+
import { ActionEvent } from "./action_sequencer/ActionEvent";
|
|
69
|
+
import { ActionInterpolator } from "./action_sequencer/ActionInterpolator";
|
|
70
|
+
import { NumberInterpolator } from "./action_sequencer/NumberInterpolator";
|
|
71
|
+
import { VectorInterpolator } from "./action_sequencer/VectorInterpolator";
|
|
72
|
+
import { ViewContext } from "./view_components/ViewContext";
|
|
73
|
+
import { MedianFilter } from "./render_utilities/MedianFilter";
|
|
74
|
+
import { GaussianBlurrer } from "./render_utilities/GaussianBlurrer";
|
|
75
|
+
import { Blurrer } from "./render_utilities/Blurrer";
|
|
76
|
+
import { DualFilteringBlurrer } from "./render_utilities/DualFilteringBlurrer";
|
|
77
|
+
import { GPUParticleSystem } from "./gpu_particles/GPUParticleSystem";
|
|
78
|
+
import { ParticleAttribute } from "./gpu_particles/ParticleAttribute";
|
|
79
|
+
import { ParticlePositionAttribute } from "./gpu_particles/ParticlePositionAttribute";
|
|
80
|
+
import { PerspectiveFrustumPointFitter } from "./utilities/PerspectiveFrustumPointFitter";
|
|
81
|
+
import { OrthographicFrustumPointFitter } from "./utilities/OrthographicFrustumPointFitter";
|
|
82
|
+
import { DualFilteringBlurMaterial } from "./materials/DualFilteringBlurMaterial";
|
|
83
|
+
import { MeshBatcher } from "./static_batcher/MeshBatcher";
|
|
84
|
+
import { AudioLoader } from "./resource_loader/AudioLoader";
|
|
85
|
+
import { BasisLoader } from "./resource_loader/BasisLoader";
|
|
86
|
+
import { CubemapLoader } from "./resource_loader/CubemapLoader";
|
|
87
|
+
import { DAELoader } from "./resource_loader/DAELoader";
|
|
88
|
+
import { FileLoader } from "./resource_loader/FileLoader";
|
|
89
|
+
import { FontLoader } from "./resource_loader/FontLoader";
|
|
90
|
+
import { GLTFLoader } from "./resource_loader/GLTFLoader";
|
|
91
|
+
import { GLTFDRACOLoader } from "./resource_loader/GLTFDRACOLoader";
|
|
92
|
+
import { HDRCubeTextureLoader } from "./resource_loader/HDRCubeTextureLoader";
|
|
93
|
+
import { JSONLoader } from "./resource_loader/JSONLoader";
|
|
94
|
+
import { OBJLoader } from "./resource_loader/OBJLoader";
|
|
95
|
+
import { PointArrayLoader } from "./resource_loader/PointArrayLoader";
|
|
96
|
+
import { RGBETextureLoader } from "./resource_loader/RGBETextureLoader";
|
|
97
|
+
import { TextLoader } from "./resource_loader/TextLoader";
|
|
98
|
+
import { AsyncTextureLoader } from "./resource_loader/AsyncTextureLoader";
|
|
99
|
+
import { TextureLoader } from "./resource_loader/TextureLoader";
|
|
100
|
+
import { VideoLoader } from "./resource_loader/VideoLoader";
|
|
101
|
+
import { ResourceBatch } from "./resource_loader/ResourceBatch";
|
|
102
|
+
import { ResourceContainer } from "./ResourceContainer";
|
|
103
|
+
export { AbstractLoader, ActionSequencerBuilder, ApplicationView, BaseApplication, BaseShaderMaterial, Browser, CameraManager, Capabilities, CanvasDrawer, Configuration, CSSAnimator, DrawIOAnimationSheet, Debug, DebugNormalsRender, EventManager, Graphics, Input, Initializer, NormalAORender, NormalRender, VRRender, UnrealBloomRender, OrthographicCamera, OS, PerspectiveCamera, RenderLoop, SceneManager, OScreen, Screen, SimpleTextDrawer, Time, UI, BlitMaterial, AddMaterial, UnrealBloomComposeMaterial, BaseRender, ArrayUtilities, CameraUtilities, EasingFunctions, FrustumPointFitter, GeometryUtilities, HTMLUtilities, ImageUtilities, OMath, MeshSampler, ModelUtilities, ObjectUtilities, StringUtilities, TimeUtilities, Validation, ViewComponent, ViewComponentManager, ViewManager, Grid, Line, Text2D, TransitionTable, UIElement, SDFTextBatch, UpdatableMaterialMesh, WorldImage, Arrow, Cube, HorizontalPlane, Sphere, VerticalPlane, ActionSequencer, ActionEvent, ActionInterpolator, NumberInterpolator, VectorInterpolator, ViewContext, MedianFilter, GaussianBlurrer, Blurrer, DualFilteringBlurrer, GPUParticleSystem, ParticleAttribute, ParticlePositionAttribute, PerspectiveFrustumPointFitter, OrthographicFrustumPointFitter, DualFilteringBlurMaterial, BufferGeometryUtils, MeshBatcher, AudioLoader, BasisLoader, CubemapLoader, DAELoader, FileLoader, FontLoader, GLTFLoader, GLTFDRACOLoader, HDRCubeTextureLoader, JSONLoader, OBJLoader, PointArrayLoader, RGBETextureLoader, TextLoader, AsyncTextureLoader, TextureLoader, VideoLoader, ResourceBatch, ResourceContainer };
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { BlitMaterial } from "../materials/BlitMaterial";
|
|
2
|
-
|
|
3
1
|
export class Blitter {
|
|
4
2
|
constructor(renderer: any);
|
|
5
3
|
renderer: any;
|
|
@@ -14,3 +12,4 @@ export class Blitter {
|
|
|
14
12
|
dispose(): void;
|
|
15
13
|
__render(RT: any): void;
|
|
16
14
|
}
|
|
15
|
+
import { BlitMaterial } from "../materials/BlitMaterial";
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { BoxBlurMaterial } from "../materials/BoxBlurMaterial";
|
|
2
|
-
|
|
3
1
|
export class Blurrer {
|
|
4
2
|
constructor(renderer: any);
|
|
5
3
|
RT1: any;
|
|
@@ -7,3 +5,4 @@ export class Blurrer {
|
|
|
7
5
|
box_blur_mat: BoxBlurMaterial;
|
|
8
6
|
blur(RT: any): void;
|
|
9
7
|
}
|
|
8
|
+
import { BoxBlurMaterial } from "../materials/BoxBlurMaterial";
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { ClearDepthNormalMaterial } from "../materials/ClearDepthNormalMaterial";
|
|
2
|
-
import { DepthNormalMaterial } from "../materials/DepthNormalMaterial";
|
|
3
|
-
|
|
4
1
|
export class DepthAndNormalsRenderer {
|
|
5
2
|
RT: any;
|
|
6
3
|
clear_depth_normal_mat: ClearDepthNormalMaterial;
|
|
@@ -9,4 +6,5 @@ export class DepthAndNormalsRenderer {
|
|
|
9
6
|
__resize_RT_if_necessary(): void;
|
|
10
7
|
get render_target(): any;
|
|
11
8
|
}
|
|
12
|
-
|
|
9
|
+
import { ClearDepthNormalMaterial } from "../materials/ClearDepthNormalMaterial";
|
|
10
|
+
import { DepthNormalMaterial } from "../materials/DepthNormalMaterial";
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { DualFilteringBlurMaterial } from "../materials/DualFilteringBlurMaterial";
|
|
2
|
-
import { AlphaFilterMaterial } from "../materials/AlphaFilterMaterial";
|
|
3
|
-
|
|
4
1
|
export class DualFilteringBlurrer {
|
|
5
2
|
constructor(use_alpha_mask: any);
|
|
6
3
|
current_width: number;
|
|
@@ -16,4 +13,5 @@ export class DualFilteringBlurrer {
|
|
|
16
13
|
blur(RT: any): void;
|
|
17
14
|
check_RT_resize(width: any, height: any): void;
|
|
18
15
|
}
|
|
19
|
-
|
|
16
|
+
import { DualFilteringBlurMaterial } from "../materials/DualFilteringBlurMaterial";
|
|
17
|
+
import { AlphaFilterMaterial } from "../materials/AlphaFilterMaterial";
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { LuminosityHighPassMaterial } from "../materials/LuminosityHighPassMaterial";
|
|
2
|
-
|
|
3
1
|
export class GaussianBlurrer {
|
|
4
2
|
constructor(nMips?: number);
|
|
5
3
|
current_width: number;
|
|
@@ -25,3 +23,4 @@ export class GaussianBlurrer {
|
|
|
25
23
|
dispose_materials(): void;
|
|
26
24
|
dispose_RT(): void;
|
|
27
25
|
}
|
|
26
|
+
import { LuminosityHighPassMaterial } from "../materials/LuminosityHighPassMaterial";
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { MedianFilterMaterial } from "../materials/MedianFilterMaterial";
|
|
2
|
-
|
|
3
1
|
export class MedianFilter {
|
|
4
2
|
constructor(renderer: any);
|
|
5
3
|
RT: any;
|
|
@@ -8,3 +6,4 @@ export class MedianFilter {
|
|
|
8
6
|
filter(texture: any): any;
|
|
9
7
|
get_size(tex: any): any;
|
|
10
8
|
}
|
|
9
|
+
import { MedianFilterMaterial } from "../materials/MedianFilterMaterial";
|
|
@@ -13,6 +13,6 @@ export class AbstractLoader {
|
|
|
13
13
|
print_error(): void;
|
|
14
14
|
load(resource_container: any): void;
|
|
15
15
|
on_progress(resource_container: any, response: any): Promise<void>;
|
|
16
|
-
on_preloaded_finished(resource_container: any): void;
|
|
16
|
+
on_preloaded_finished(resource_container: any, response: any): void;
|
|
17
17
|
__on_error(data: any): void;
|
|
18
18
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { AbstractLoader } from "./AbstractLoader";
|
|
2
|
-
|
|
3
1
|
export class AudioLoader extends AbstractLoader {
|
|
4
|
-
constructor(resource_id:
|
|
5
|
-
loader: any;
|
|
2
|
+
constructor(resource_id: any, url: any, loop: boolean, volume: number, size: any, positional?: boolean);
|
|
6
3
|
loop: boolean;
|
|
7
4
|
volume: number;
|
|
5
|
+
positional: boolean;
|
|
6
|
+
on_preloaded_finished(resource_container: any): void;
|
|
7
|
+
instantiate_audio(resource_container: any): void;
|
|
8
8
|
}
|
|
9
|
+
import { AbstractLoader } from "./AbstractLoader";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AbstractLoader } from "./AbstractLoader";
|
|
2
|
-
|
|
3
1
|
export class BasisLoader extends AbstractLoader {
|
|
4
2
|
constructor(resource_id: any, url: any, loader: any, size: any);
|
|
5
3
|
loader: any;
|
|
4
|
+
on_preloaded_finished(resource_container: any): void;
|
|
6
5
|
}
|
|
6
|
+
import { AbstractLoader } from "./AbstractLoader";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AbstractLoader } from "./AbstractLoader";
|
|
2
|
-
|
|
3
1
|
export class CubemapLoader extends AbstractLoader {
|
|
4
2
|
constructor(resource_id: any, url: any, size: any);
|
|
5
3
|
loader: any;
|
|
6
4
|
urls: string[];
|
|
5
|
+
on_preloaded_finished(resource_container: any): void;
|
|
7
6
|
}
|
|
7
|
+
import { AbstractLoader } from "./AbstractLoader";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AbstractLoader } from "./AbstractLoader";
|
|
2
|
-
|
|
3
1
|
export class DAELoader extends AbstractLoader {
|
|
4
2
|
constructor(resource_id: any, url: any, size: any);
|
|
5
3
|
loader: any;
|
|
4
|
+
on_preloaded_finished(resource_container: any): void;
|
|
6
5
|
}
|
|
6
|
+
import { AbstractLoader } from "./AbstractLoader";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AbstractLoader } from "./AbstractLoader";
|
|
2
|
-
|
|
3
1
|
export class FileLoader extends AbstractLoader {
|
|
4
2
|
constructor(resource_id: any, url: any, size: any);
|
|
5
3
|
loader: any;
|
|
4
|
+
on_preloaded_finished(resource_container: any): void;
|
|
6
5
|
}
|
|
6
|
+
import { AbstractLoader } from "./AbstractLoader";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AbstractLoader } from "./AbstractLoader";
|
|
2
|
-
|
|
3
1
|
export class FontLoader extends AbstractLoader {
|
|
4
2
|
constructor(resource_id: any, url: any, size: any);
|
|
5
3
|
loader: any;
|
|
4
|
+
on_preloaded_finished(resource_container: any): void;
|
|
6
5
|
}
|
|
6
|
+
import { AbstractLoader } from "./AbstractLoader";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AbstractLoader } from "./AbstractLoader";
|
|
2
|
-
|
|
3
1
|
export class GLTFDRACOLoader extends AbstractLoader {
|
|
4
2
|
constructor(resource_id: any, url: any, loader: any, size: any);
|
|
5
3
|
loader: any;
|
|
4
|
+
on_preloaded_finished(resource_container: any): void;
|
|
6
5
|
}
|
|
6
|
+
import { AbstractLoader } from "./AbstractLoader";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { AbstractLoader } from "./AbstractLoader";
|
|
2
|
-
|
|
3
1
|
export class GLTFLoader extends AbstractLoader {
|
|
4
2
|
constructor(resource_id: any, url: any, size: any);
|
|
5
3
|
loader: any;
|
|
4
|
+
on_preloaded_finished(resource_container: any): void;
|
|
6
5
|
}
|
|
7
|
-
|
|
6
|
+
import { AbstractLoader } from "./AbstractLoader";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AbstractLoader } from "./AbstractLoader";
|
|
2
|
-
|
|
3
1
|
export class HDRCubeTextureLoader extends AbstractLoader {
|
|
4
2
|
constructor(resource_id: any, url: any, size: any);
|
|
5
3
|
loader: any;
|
|
6
4
|
url_suffix: string[];
|
|
5
|
+
on_preloaded_finished(resource_container: any): void;
|
|
7
6
|
}
|
|
7
|
+
import { AbstractLoader } from "./AbstractLoader";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AbstractLoader } from "./AbstractLoader";
|
|
2
|
-
|
|
3
1
|
export class OBJLoader extends AbstractLoader {
|
|
4
2
|
constructor(resource_id: any, url: any, size: any);
|
|
5
3
|
loader: any;
|
|
4
|
+
on_preloaded_finished(resource_container: any): void;
|
|
6
5
|
}
|
|
6
|
+
import { AbstractLoader } from "./AbstractLoader";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AbstractLoader } from "./AbstractLoader";
|
|
2
|
-
|
|
3
1
|
export class PointArrayLoader extends AbstractLoader {
|
|
4
2
|
constructor(resource_id: any, url: any, size: any);
|
|
5
3
|
loader: any;
|
|
4
|
+
on_preloaded_finished(resource_container: any): void;
|
|
6
5
|
parse_path(raw_data: any): any[];
|
|
7
6
|
}
|
|
7
|
+
import { AbstractLoader } from "./AbstractLoader";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AbstractLoader } from "./AbstractLoader";
|
|
2
|
-
|
|
3
1
|
export class RGBETextureLoader extends AbstractLoader {
|
|
4
2
|
constructor(resource_id: any, url: any, size: any);
|
|
5
3
|
loader: any;
|
|
4
|
+
on_preloaded_finished(resource_container: any): void;
|
|
6
5
|
}
|
|
6
|
+
import { AbstractLoader } from "./AbstractLoader";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AbstractLoader } from "./AbstractLoader";
|
|
2
|
-
|
|
3
1
|
export class TextLoader extends AbstractLoader {
|
|
4
2
|
constructor(resource_id: any, url: any, size: any);
|
|
5
3
|
loader: any;
|
|
4
|
+
on_preloaded_finished(resource_container: any): void;
|
|
6
5
|
}
|
|
6
|
+
import { AbstractLoader } from "./AbstractLoader";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export class BatchedMesh {
|
|
2
|
+
constructor(id_table: any, geometry: any, material: any, max_texture_width: any);
|
|
3
|
+
id_table: any;
|
|
4
|
+
batched_count: number;
|
|
5
|
+
max_texture_width: any;
|
|
6
|
+
batch_width: number;
|
|
7
|
+
batch_height: number;
|
|
8
|
+
attach_rgb_texture(uniform_name: any): void;
|
|
9
|
+
attach_rgba_texture(uniform_name: any): void;
|
|
10
|
+
attach_rgb_float_texture(uniform_name: any): void;
|
|
11
|
+
attach_rgba_float_texture(uniform_name: any): void;
|
|
12
|
+
get_mesh_index(name: any): any;
|
|
13
|
+
set_rgb_value(uniform_name: any, mesh_name: any, r: any, g: any, b: any): void;
|
|
14
|
+
set_rgba_value(uniform_name: any, mesh_name: any, r: any, g: any, b: any, a: any): void;
|
|
15
|
+
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
export { geometry_batcher as GeometryBatcher };
|
|
2
|
+
declare const geometry_batcher: GeometryBatcher;
|
|
3
|
+
declare class GeometryBatcher {
|
|
4
|
+
init(): void;
|
|
5
|
+
batches: any[];
|
|
6
|
+
batch(buffer_geometries: any): any;
|
|
7
|
+
upload_texture_data(renderer: any): void;
|
|
8
|
+
__init_uv_array(uvs: any, texture_width: any): void;
|
|
7
9
|
}
|