> For the complete documentation index, see [llms.txt](https://nswamy14.gitbook.io/i2djs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nswamy14.gitbook.io/i2djs/api-reference/webgl-api/render-target.md).

# Render Target

A buffer to save the intermediate computations. A buffer when RenderTarget is set, it captures the output of a fragment shader. This feature is useful in creating an effect that involves one or more shaders processing. For example, applying postprocessing to a rendered image before displaying it on the screen.

**Syntax**:&#x20;

```
webglRenderer.RenderTarget({
    texture: Texture
});
```

**Example:**

```
var Texture = webglRenderer.TextureObject({
    width: webglRenderer.width * webglRenderer.pixelRatio,
    height: webglRenderer.height * webglRenderer.pixelRatio,
    border: 0,
    format: 'RGBA',
    type: 'UNSIGNED_BYTE',
    warpS: 'CLAMP_TO_EDGE',
    warpT: 'CLAMP_TO_EDGE',
    magFilter: 'LINEAR',
    minFilter: 'LINEAR',
    mipMap: false
});

var renderTarget = webglRenderer.RenderTarget({
    texture: Texture
})
```
