@predy-js/render-interface 0.1.60-beta.3 → 0.1.60-beta.5
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 +146 -38
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +146 -39
- package/dist/index.mjs.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/statistic.js +1 -1
- package/dist/types/index.d.ts +0 -1
- package/dist/types/native/MaterialInternal.d.ts +2 -8
- package/package.json +1 -1
package/dist/src/index.d.ts
CHANGED
@@ -4,6 +4,7 @@ export * from '../types/Texture';
|
|
4
4
|
export * from '../types/GPUBuffer';
|
5
5
|
export { constants } from './webgl/constants';
|
6
6
|
export * from '../types/ShaderLibrary';
|
7
|
+
export * as types from '../types';
|
7
8
|
export { MarsRenderFrame as RenderFrame } from './render/MarsRenderFrame';
|
8
9
|
export { MarsRenderer as Renderer } from './render/MarsRenderer';
|
9
10
|
export { MarsMesh as Mesh, MarsInstancedMesh as InstancedMesh } from './render/MarsMesh';
|
package/dist/statistic.js
CHANGED
package/dist/types/index.d.ts
CHANGED
@@ -13,7 +13,6 @@ export * from './RenderPass';
|
|
13
13
|
export * from './Mesh';
|
14
14
|
export * from './Geometry';
|
15
15
|
export * from './ShaderLibrary';
|
16
|
-
export { GPURenderer as Renderer } from './Renderer';
|
17
16
|
export * from './type';
|
18
17
|
export declare function getDefaultTextureFactory(): TextureFactory;
|
19
18
|
export declare function setDefaultTextureFactory(factory: TextureFactory): void;
|
@@ -15,12 +15,6 @@ export declare abstract class MaterialInternal implements ResourceInternal {
|
|
15
15
|
dataBlocks: DataBlockInternal[];
|
16
16
|
protected constructor(options: MaterialInternalOptions);
|
17
17
|
abstract destroy(): void;
|
18
|
-
|
19
|
-
|
20
|
-
* 和 uniform sampler2D uTextures[4] 都使用此函数
|
21
|
-
* @param name
|
22
|
-
* @param value
|
23
|
-
*/
|
24
|
-
abstract setUniformTextures(name: string, value: TextureInternal[]): void;
|
25
|
-
abstract getUniformTextures(name: string): TextureInternal[];
|
18
|
+
abstract setUniformTexture(name: string, value: TextureInternal): void;
|
19
|
+
abstract getUniformTexture(name: string): TextureInternal;
|
26
20
|
}
|