UNPKG

519 BTypeScriptView Raw
1import { UniformsGroup } from "../../core/UniformsGroup.js";
2import { IUniform } from "./UniformsLib.js";
3
4export function cloneUniforms<T extends { [uniform: string]: IUniform }>(uniformsSrc: T): T;
5export function mergeUniforms(uniforms: Array<{ [uniform: string]: IUniform }>): { [uniform: string]: IUniform };
6
7export function cloneUniformsGroups(src: UniformsGroup[]): UniformsGroup[];
8
9declare const UniformsUtils: {
10 clone: typeof cloneUniforms;
11 merge: typeof mergeUniforms;
12};
13
14export { UniformsUtils };