# CameraFrameEffectDepth

Interface · category: Other

Source: https://github.com/playcanvas/engine/blob/64089771243fe28a9b9d2b4de538b99b07c75097/src/extras/render-passes/camera-frame-effect.js#L62

## Properties

### defines

```ts
defines: Map<string, string>
```

The defines a shader reading the depth with
`getLinearScreenDepth` needs. Shared by the effects, so copy them rather than change them.

### key

```ts
key: string
```

A key identifying those defines, to add to the unique name of such a
shader, so that differently stored depths do not share a compiled shader.

### texture

```ts
texture: Texture
```

The texture the depth is rendered to, the size of the scene - for
sizing render targets.
