@predy-js/render-interface 0.1.61-beta.5 → 0.1.61-beta.7
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 +2 -2
- package/dist/index.mjs +2 -2
- package/dist/statistic.js +1 -1
- package/dist/types/native/RendererInternal.d.ts +1 -0
- package/dist/types/native/TextureInternal.d.ts +1 -0
- package/package.json +1 -1
- package/types/native/RendererInternal.ts +2 -0
- package/types/native/TextureInternal.ts +1 -0
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.61-beta.
|
5
|
+
* Version: v0.1.61-beta.7
|
6
6
|
*/
|
7
7
|
|
8
8
|
'use strict';
|
@@ -5731,7 +5731,7 @@ var MarsSharedGeometry = /** @class */ (function (_super) {
|
|
5731
5731
|
return MarsSharedGeometry;
|
5732
5732
|
}(MarsGeometry));
|
5733
5733
|
|
5734
|
-
consoleLog('version: ' + "0.1.61-beta.
|
5734
|
+
consoleLog('version: ' + "0.1.61-beta.7");
|
5735
5735
|
|
5736
5736
|
exports.Geometry = MarsGeometry;
|
5737
5737
|
exports.InstancedMesh = MarsInstancedMesh;
|
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.61-beta.
|
5
|
+
* Version: v0.1.61-beta.7
|
6
6
|
*/
|
7
7
|
|
8
8
|
/******************************************************************************
|
@@ -5727,7 +5727,7 @@ var MarsSharedGeometry = /** @class */ (function (_super) {
|
|
5727
5727
|
return MarsSharedGeometry;
|
5728
5728
|
}(MarsGeometry));
|
5729
5729
|
|
5730
|
-
consoleLog('version: ' + "0.1.61-beta.
|
5730
|
+
consoleLog('version: ' + "0.1.61-beta.7");
|
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 };
|
5733
5733
|
//# sourceMappingURL=index.mjs.map
|
package/dist/statistic.js
CHANGED
@@ -31,6 +31,7 @@ export declare abstract class RendererInternal implements ResourceInternal {
|
|
31
31
|
readonly width: number;
|
32
32
|
readonly height: number;
|
33
33
|
abstract destroy(): void;
|
34
|
+
abstract resize(width: number, height: number): void;
|
34
35
|
abstract createBuffer(options: GPUBufferInternalOptions): GPUBufferInternal;
|
35
36
|
abstract createGeometry(options: GeometryInternalOptions): GeometryInternal;
|
36
37
|
abstract createDataBlock(options: DataBlockInternalOptions): DataBlockInternal;
|
@@ -4,6 +4,7 @@ import type { TypedArray } from '../type';
|
|
4
4
|
import type { ImageBitmapInternal } from './ImageBitmapInternal';
|
5
5
|
export interface TextureInternalOptions extends TextureFormatOptions, Omit<TextureConfigOptionsBase, 'keepImageSource'> {
|
6
6
|
target: WebGLRenderingContext['TEXTURE_CUBE_MAP'] | WebGLRenderingContext['TEXTURE_2D'];
|
7
|
+
generateMipmap?: boolean;
|
7
8
|
}
|
8
9
|
export interface TextureInternalConstructOptions extends TextureInternalOptions {
|
9
10
|
width: number;
|
package/package.json
CHANGED
@@ -35,6 +35,8 @@ export abstract class RendererInternal implements ResourceInternal {
|
|
35
35
|
|
36
36
|
abstract destroy (): void;
|
37
37
|
|
38
|
+
abstract resize (width: number, height: number): void;
|
39
|
+
|
38
40
|
abstract createBuffer (options: GPUBufferInternalOptions): GPUBufferInternal;
|
39
41
|
|
40
42
|
abstract createGeometry (options: GeometryInternalOptions): GeometryInternal;
|
@@ -5,6 +5,7 @@ import type { ImageBitmapInternal } from './ImageBitmapInternal';
|
|
5
5
|
|
6
6
|
export interface TextureInternalOptions extends TextureFormatOptions, Omit<TextureConfigOptionsBase, 'keepImageSource'> {
|
7
7
|
target: WebGLRenderingContext['TEXTURE_CUBE_MAP'] | WebGLRenderingContext['TEXTURE_2D'],
|
8
|
+
generateMipmap?: boolean,
|
8
9
|
}
|
9
10
|
|
10
11
|
export interface TextureInternalConstructOptions extends TextureInternalOptions {
|