---
url: /api/passes/effectPass/type-aliases/EffectUniformContext.md
---
# EffectUniformContext

```ts
type EffectUniformContext = UniformContext & {
  inputPass: RenderPass;
  previousPass: RenderPass;
};
```

Context supplied to effect uniform functions.

## Type Declaration

| Name           | Type                                                        | Description                                                                                                                                                                                            |
| -------------- | ----------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `inputPass`    | [`RenderPass`](../../renderPass/type-aliases/RenderPass.md) | - in an effect with only one pass, the inputPass is the pass rendered before this effect. - in an effect with multiple passes, the inputPass is the pass rendered before the first pass of the effect. |
| `previousPass` | [`RenderPass`](../../renderPass/type-aliases/RenderPass.md) | The pass rendered immediately before this specific effect pass.                                                                                                                                        |
