@predy-js/render-interface 0.1.56 → 0.1.58
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/dist/index.js
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
* Name: @predy-js/render-interface
|
3
3
|
* Description: undefined
|
4
4
|
* Author: undefined
|
5
|
-
* Version: v0.1.
|
5
|
+
* Version: v0.1.58
|
6
6
|
*/
|
7
7
|
|
8
8
|
'use strict';
|
@@ -5730,7 +5730,7 @@ var MarsSharedGeometry = /** @class */ (function (_super) {
|
|
5730
5730
|
return MarsSharedGeometry;
|
5731
5731
|
}(MarsGeometry));
|
5732
5732
|
|
5733
|
-
consoleLog('version: ' + "0.1.
|
5733
|
+
consoleLog('version: ' + "0.1.58");
|
5734
5734
|
consoleLog('Update : xxx');
|
5735
5735
|
|
5736
5736
|
exports.Geometry = MarsGeometry;
|
package/dist/index.mjs
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
* Name: @predy-js/render-interface
|
3
3
|
* Description: undefined
|
4
4
|
* Author: undefined
|
5
|
-
* Version: v0.1.
|
5
|
+
* Version: v0.1.58
|
6
6
|
*/
|
7
7
|
|
8
8
|
/******************************************************************************
|
@@ -5726,7 +5726,7 @@ var MarsSharedGeometry = /** @class */ (function (_super) {
|
|
5726
5726
|
return MarsSharedGeometry;
|
5727
5727
|
}(MarsGeometry));
|
5728
5728
|
|
5729
|
-
consoleLog('version: ' + "0.1.
|
5729
|
+
consoleLog('version: ' + "0.1.58");
|
5730
5730
|
consoleLog('Update : xxx');
|
5731
5731
|
|
5732
5732
|
export { DestroyOptions, MarsGeometry as Geometry, MarsInstancedMesh as InstancedMesh, MarsTextureFactory, MarsMaterial as Material, MarsMaterialDataBlock as MaterialDataBlock, MarsMesh as Mesh, MarsRenderFrame as RenderFrame, MarsRenderPass as RenderPass, RenderPassAttachmentStorageType, RenderPassDestroyAttachmentType, RenderPassMeshOrder, RenderPassPriorityNormal, RenderPassPriorityPostprocess, RenderPassPriorityPrepare, MarsRenderer as Renderer, ShaderCompileResultStatus, ShaderLibraryEmpty, MarsSharedGeometry as SharedGeometry, MarsTexture as Texture, TextureLoadAction, TextureSourceType, TextureStoreAction, constants, getDefaultGPUCapability, getDefaultTextureFactory, setDefaultTextureFactory };
|
package/dist/statistic.js
CHANGED
@@ -18,7 +18,7 @@ export type IndexBufferType = WebGLRenderingContext['UNSIGNED_SHORT'] | WebGLRen
|
|
18
18
|
*/
|
19
19
|
export declare abstract class GeometryInternal implements ResourceInternal {
|
20
20
|
readonly isDestroyed: boolean;
|
21
|
-
name: string;
|
21
|
+
readonly name: string;
|
22
22
|
drawStart: number;
|
23
23
|
drawCount: number;
|
24
24
|
mode: GLenum;
|
@@ -8,7 +8,7 @@ import type { MeshInternal, MeshInternalOptions } from './MeshInternal';
|
|
8
8
|
import type { RenderPassInternal, RenderPassOptionsInternal } from './RenderPassInternal';
|
9
9
|
import type { RenderFrameInternal, RenderFrameInternalOptions } from './RenderFrameInternal';
|
10
10
|
import type { GPUCapability } from '../GPUCapability';
|
11
|
-
import type { TextureInternal,
|
11
|
+
import type { TextureInternal, TextureInternalConstructOptions } from './TextureInternal';
|
12
12
|
import type { ImageBitmapCallback, ImageBitmapConstructor } from './ImageBitmapInternal';
|
13
13
|
/**
|
14
14
|
* renderer 内部创建的对象,用来统计信息,排查资源泄漏的问题
|
@@ -36,7 +36,7 @@ export declare abstract class RendererInternal implements ResourceInternal {
|
|
36
36
|
abstract createMesh(options: MeshInternalOptions): MeshInternal;
|
37
37
|
abstract createRenderPass(options: RenderPassOptionsInternal): RenderPassInternal;
|
38
38
|
abstract createRenderFrame(options: RenderFrameInternalOptions): RenderFrameInternal;
|
39
|
-
abstract createTexture(options:
|
39
|
+
abstract createTexture(options: TextureInternalConstructOptions): TextureInternal;
|
40
40
|
abstract getResourceInfo(): InternalResInfo;
|
41
41
|
abstract createImageBitmap(data: ArrayBuffer | string, //图片文件的数据
|
42
42
|
options: ImageBitmapConstructor, callback: ImageBitmapCallback): void;
|