@galacean/effects-core 2.4.1-alpha.0 → 2.4.1
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 +25 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +25 -14
- package/dist/index.mjs.map +1 -1
- package/dist/material/mask-ref-manager.d.ts +1 -1
- package/dist/material/types.d.ts +0 -2
- package/dist/plugin-system.d.ts +1 -1
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ import { MaskMode } from './types';
|
|
|
4
4
|
import type { Renderer } from '../render/renderer';
|
|
5
5
|
export declare class MaskProcessor {
|
|
6
6
|
engine: Engine;
|
|
7
|
-
maskable
|
|
7
|
+
maskable: Maskable | null;
|
|
8
8
|
private stencilClearAction;
|
|
9
9
|
constructor(engine: Engine);
|
|
10
10
|
getRefValue(): number;
|
package/dist/material/types.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import type * as spec from '@galacean/effects-specification';
|
|
|
2
2
|
import type { Matrix3, Matrix4, Vector2, Vector3, Vector4 } from '@galacean/effects-math/es/core/index';
|
|
3
3
|
import type { Texture } from '../texture';
|
|
4
4
|
import type { DestroyOptions } from '../utils';
|
|
5
|
-
import type { MaskProcessor } from './mask-ref-manager';
|
|
6
5
|
import type { Renderer } from '../render';
|
|
7
6
|
export type UniformSemantic = 'VIEW' | 'MODEL' | 'MODELVIEW' | 'PROJECTION' | 'VIEWPROJECTION' | 'VIEWINVERSE' | 'EDITOR_TRANSFORM' | 'MODELVIEWPROJECTION';
|
|
8
7
|
export interface MaterialBlendingStates {
|
|
@@ -72,7 +71,6 @@ export interface MaskProps {
|
|
|
72
71
|
*
|
|
73
72
|
*/
|
|
74
73
|
export interface Maskable {
|
|
75
|
-
readonly maskManager: MaskProcessor;
|
|
76
74
|
drawStencilMask: (renderer: Renderer) => void;
|
|
77
75
|
}
|
|
78
76
|
export declare enum MaskMode {
|
package/dist/plugin-system.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export declare function registerPlugin(name: string, pluginClass: PluginConstruc
|
|
|
17
17
|
export declare function unregisterPlugin(name: string): void;
|
|
18
18
|
export declare class PluginSystem {
|
|
19
19
|
readonly plugins: Plugin[];
|
|
20
|
-
constructor();
|
|
20
|
+
constructor(pluginNames: string[]);
|
|
21
21
|
initializeComposition(composition: Composition, scene: Scene): void;
|
|
22
22
|
destroyComposition(comp: Composition): void;
|
|
23
23
|
resetComposition(comp: Composition, renderFrame: RenderFrame): void;
|