@predy-js/render-interface 0.1.61-beta.4 → 0.1.61-beta.6
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 +5 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/dist/src/render/MarsMaterialDataBlock.d.ts +4 -1
- package/dist/statistic.js +1 -1
- package/dist/types/Material.d.ts +6 -0
- package/dist/types/native/TextureInternal.d.ts +1 -0
- package/package.json +3 -2
- package/types/Canvas.ts +20 -0
- package/types/GPUBuffer.ts +85 -0
- package/types/GPUCapability.ts +67 -0
- package/types/Geometry.ts +186 -0
- package/types/IGPURenderer.ts +18 -0
- package/types/Material.ts +193 -0
- package/types/Mesh.ts +82 -0
- package/types/RenderFrame.ts +70 -0
- package/types/RenderPass.ts +222 -0
- package/types/Renderer.ts +62 -0
- package/types/ShaderLibrary.ts +128 -0
- package/types/Texture.ts +236 -0
- package/types/constants.ts +7 -0
- package/types/index.ts +37 -0
- package/types/native/DataBlockInternal.ts +35 -0
- package/types/native/GPUBufferInternal.ts +46 -0
- package/types/native/GeometryInternal.ts +55 -0
- package/types/native/ImageBitmapInternal.ts +28 -0
- package/types/native/MaterialInternal.ts +31 -0
- package/types/native/MeshInternal.ts +25 -0
- package/types/native/RenderFrameInternal.ts +34 -0
- package/types/native/RenderPassInternal.ts +69 -0
- package/types/native/RendererInternal.ts +66 -0
- package/types/native/ResourceInternal.ts +12 -0
- package/types/native/ShaderLibraryInternal.ts +19 -0
- package/types/native/TextureInternal.ts +54 -0
- package/types/native/index.ts +12 -0
- package/types/type.ts +30 -0
package/dist/index.js
CHANGED
@@ -2,11 +2,13 @@
|
|
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.6
|
6
6
|
*/
|
7
7
|
|
8
8
|
'use strict';
|
9
9
|
|
10
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
11
|
+
|
10
12
|
/******************************************************************************
|
11
13
|
Copyright (c) Microsoft Corporation.
|
12
14
|
|
@@ -4469,6 +4471,7 @@ var MarsMaterialDataBlock = /** @class */ (function () {
|
|
4469
4471
|
this.uboBufferMap = {};
|
4470
4472
|
this._uniformValueRanges = {};
|
4471
4473
|
this._keepUboData = !!props.keepUboData;
|
4474
|
+
this.uniformSemantics = props.uniformSemantics;
|
4472
4475
|
if (props.uniformValues) {
|
4473
4476
|
this.setUniformValues(props.uniformValues);
|
4474
4477
|
}
|
@@ -5728,7 +5731,7 @@ var MarsSharedGeometry = /** @class */ (function (_super) {
|
|
5728
5731
|
return MarsSharedGeometry;
|
5729
5732
|
}(MarsGeometry));
|
5730
5733
|
|
5731
|
-
consoleLog('version: ' + "0.1.61-beta.
|
5734
|
+
consoleLog('version: ' + "0.1.61-beta.6");
|
5732
5735
|
|
5733
5736
|
exports.Geometry = MarsGeometry;
|
5734
5737
|
exports.InstancedMesh = MarsInstancedMesh;
|