@galacean/effects-plugin-model 2.7.3 → 2.8.0-alpha.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/dist/alipay.js +1 -1
- package/dist/alipay.js.map +1 -1
- package/dist/alipay.mjs +1 -1
- package/dist/alipay.mjs.map +1 -1
- package/dist/douyin.js +1 -1
- package/dist/douyin.js.map +1 -1
- package/dist/douyin.mjs +1 -1
- package/dist/douyin.mjs.map +1 -1
- package/dist/index.js +2 -66
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +2 -2
- package/dist/index.min.js.map +1 -1
- package/dist/index.mjs +3 -67
- package/dist/index.mjs.map +1 -1
- package/dist/loader.mjs +3 -67
- package/dist/loader.mjs.map +1 -1
- package/dist/runtime/cache.d.ts +0 -12
- package/dist/utility/plugin-helper.d.ts +2 -13
- package/dist/weapp.js +1 -1
- package/dist/weapp.js.map +1 -1
- package/dist/weapp.mjs +1 -1
- package/dist/weapp.mjs.map +1 -1
- package/package.json +4 -4
package/dist/runtime/cache.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { Mesh, Geometry, TextureSourceOptions, RenderPass, spec, Engine } from '@galacean/effects';
|
|
2
2
|
import { Texture } from '@galacean/effects';
|
|
3
3
|
import type { ModelSkyboxOptions } from '../index';
|
|
4
|
-
import type { FBOOptions } from '../utility/ri-helper';
|
|
5
4
|
import type { PMaterialBase } from './material';
|
|
6
5
|
import type { PSkyboxParams } from './skybox';
|
|
7
6
|
/**
|
|
@@ -75,17 +74,6 @@ export declare class CompositionCache {
|
|
|
75
74
|
* @returns
|
|
76
75
|
*/
|
|
77
76
|
getFilterMesh(name: string, material: PMaterialBase): Mesh;
|
|
78
|
-
getShadowBasePass(name: string, priority: number, meshList: Mesh[], fboOptions: FBOOptions): RenderPass;
|
|
79
|
-
getShadowFilterPass(name: string, priority: number, meshList: Mesh[], fboOptions: FBOOptions): RenderPass;
|
|
80
|
-
/**
|
|
81
|
-
* 获取渲染 Pass
|
|
82
|
-
* @param name - 名称
|
|
83
|
-
* @param priority - 优先级
|
|
84
|
-
* @param meshList - Mesh 列表
|
|
85
|
-
* @param fboOptions - FBO 参数
|
|
86
|
-
* @returns
|
|
87
|
-
*/
|
|
88
|
-
getRenderPass(name: string, priority: number, meshList: Mesh[], fboOptions: FBOOptions): RenderPass;
|
|
89
77
|
/**
|
|
90
78
|
* 销毁缓存,释放所有缓存的对象
|
|
91
79
|
*/
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import type { Scene, Attribute, GeometryProps, TextureSourceOptions, TextureSourceCubeData, TextureConfigOptions, Engine, math } from '@galacean/effects';
|
|
2
|
-
import { Player, spec, Transform, Material, Mesh, Texture, Geometry
|
|
1
|
+
import type { Scene, Attribute, GeometryProps, TextureSourceOptions, TextureSourceCubeData, TextureConfigOptions, Engine, math, RenderPass } from '@galacean/effects';
|
|
2
|
+
import { Player, spec, Transform, Material, Mesh, Texture, Geometry } from '@galacean/effects';
|
|
3
3
|
import type { GLTFCamera, GLTFImage, GLTFLight, GLTFTexture } from '@vvfx/resource-detection';
|
|
4
4
|
import type { ModelAnimationOptions, ModelMeshOptions, ModelMaterialOptions, ModelLightOptions, ModelCameraOptions, ModelSkyboxOptions, ModelSkinOptions, ModelPrimitiveOptions, ModelTextureTransform, ModelTreeOptions, ModelAnimTrackOptions, ModelMeshComponent } from '../index';
|
|
5
|
-
import type { FBOOptions } from './ri-helper';
|
|
6
5
|
import type { PMaterialBase, PImageBufferData } from '../runtime';
|
|
7
6
|
import { Matrix3, Matrix4, Vector3, Vector4 } from '../runtime';
|
|
8
7
|
type Box3 = math.Box3;
|
|
@@ -92,16 +91,6 @@ export declare class WebGLHelper {
|
|
|
92
91
|
* @returns
|
|
93
92
|
*/
|
|
94
93
|
static createTextureFromImage(engine: Engine, image: HTMLImageElement | HTMLCanvasElement): Texture;
|
|
95
|
-
/**
|
|
96
|
-
* 创建渲染 Pass
|
|
97
|
-
* @param renderer - 渲染器
|
|
98
|
-
* @param name - 名称
|
|
99
|
-
* @param priority - 优先级
|
|
100
|
-
* @param meshData - Mesh 数据或数据列表
|
|
101
|
-
* @param fboOpts - FBO 参数
|
|
102
|
-
* @returns
|
|
103
|
-
*/
|
|
104
|
-
static createRenderPass(renderer: Renderer, name: string, priority: number, meshData: Mesh | Mesh[], fboOpts: FBOOptions): RenderPass;
|
|
105
94
|
/**
|
|
106
95
|
* 删除纹理
|
|
107
96
|
* @param texture - 纹理对象
|