<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@three3d/effect](./effect.md) &gt; [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&lt;string, IUniform&lt;any&gt;&gt; |  |
|  uniforms | U |  |

**Returns:**

Record&lt;string, IUniform&lt;any&gt;&gt;

