@three3d/effect
Version:
@three3d/effect 提供了 ThreeJS 的特效
24 lines (14 loc) • 644 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@three3d/effect](./effect.md) > [addUniforms](./effect.adduniforms.md)
## addUniforms() function
**Signature:**
```typescript
export declare function addUniforms<U extends Record<string, any>>(shaderUniforms: Record<string, IUniform<any>>, uniforms: U): Record<string, IUniform<any>>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| shaderUniforms | Record<string, IUniform<any>> | |
| uniforms | U | |
**Returns:**
Record<string, IUniform<any>>