# BlitMultiTap

> Copies source texture into destination, for multi-tap shader.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

## BlitMultiTap(Texture, RenderTexture, Material, Vector2\[])

Copies source texture into destination, for multi-tap shader.

```csharp
public static void BlitMultiTap(Texture source, RenderTexture dest, Material mat, params Vector2[] offsets)
```

### Parameters

**** (\[Texture]\(/engine/6000.7/script-reference/unityengine/texture)): Source texture.**** (\[RenderTexture]\(/engine/6000.7/script-reference/unityengine/rendertexture)): Destination [RenderTexture](/engine/6000.7/script-reference/unityengine/rendertexture.md), [GraphicsTexture](/engine/6000.7/script-reference/unityengine/rendering/graphicstexture.md), or `null` to blit directly to screen.**** (\[Material]\(/engine/6000.7/script-reference/unityengine/material)): Material to use for copying. Material's shader should do some post-processing effect.**** (\[Vector2\[]]\(/engine/6000.7/script-reference/unityengine/vector2)): Variable number of filtering offsets. Offsets are given in pixels.

### Remarks

This is mostly used for implementing some [post-processing effects](/engine/6000.7/manual/post-processing-and-full-screen-effects/overview.md). For example, Gaussian or iterative Cone blurring samples source texture at multiple different locations.

BlitMultiTap sets `dest` to be the active render target (changing [RenderTexture.active](/engine/6000.7/script-reference/unityengine/rendertexture/active.md) and [GraphicsTexture.active](/engine/6000.7/script-reference/unityengine/rendering/graphicstexture/active.md)), sets `source` as `_MainTex` property on the material, and draws a full-screen quad. Each vertex of the quad has multiple texture coordinates set up, offset by `offsets` pixels.

BlitMultiTap has the same limitations as [Graphics.Blit](/engine/6000.7/script-reference/unityengine/graphics/blit.md).

Additional Resources: [Graphics.Blit](/engine/6000.7/script-reference/unityengine/graphics/blit.md), [post-processing effects](/engine/6000.7/manual/post-processing-and-full-screen-effects/overview.md).

## BlitMultiTap(Texture, RenderTexture, Material, int, Vector2\[])

Copies source texture into destination, for multi-tap shader.

```csharp
public static void BlitMultiTap(Texture source, RenderTexture dest, Material mat, int destDepthSlice, params Vector2[] offsets)
```

### Parameters

**** (\[Texture]\(/engine/6000.7/script-reference/unityengine/texture)): Source texture.**** (\[RenderTexture]\(/engine/6000.7/script-reference/unityengine/rendertexture)): Destination [RenderTexture](/engine/6000.7/script-reference/unityengine/rendertexture.md), [GraphicsTexture](/engine/6000.7/script-reference/unityengine/rendering/graphicstexture.md), or `null` to blit directly to screen.**** (\[Material]\(/engine/6000.7/script-reference/unityengine/material)): Material to use for copying. Material's shader should do some post-processing effect.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The texture array destination slice to blit to.**** (\[Vector2\[]]\(/engine/6000.7/script-reference/unityengine/vector2)): Variable number of filtering offsets. Offsets are given in pixels.

### Remarks

This is mostly used for implementing some [post-processing effects](/engine/6000.7/manual/post-processing-and-full-screen-effects/overview.md). For example, Gaussian or iterative Cone blurring samples source texture at multiple different locations.

BlitMultiTap sets `dest` to be the active render target (changing [RenderTexture.active](/engine/6000.7/script-reference/unityengine/rendertexture/active.md) and [GraphicsTexture.active](/engine/6000.7/script-reference/unityengine/rendering/graphicstexture/active.md)), sets `source` as `_MainTex` property on the material, and draws a full-screen quad. Each vertex of the quad has multiple texture coordinates set up, offset by `offsets` pixels.

BlitMultiTap has the same limitations as [Graphics.Blit](/engine/6000.7/script-reference/unityengine/graphics/blit.md).

Additional Resources: [Graphics.Blit](/engine/6000.7/script-reference/unityengine/graphics/blit.md), [post-processing effects](/engine/6000.7/manual/post-processing-and-full-screen-effects/overview.md).

## BlitMultiTap(Texture, GraphicsTexture, Material, Vector2\[])

Copies source texture into destination, for multi-tap shader.

```csharp
public static void BlitMultiTap(Texture source, GraphicsTexture dest, Material mat, params Vector2[] offsets)
```

### Parameters

**** (\[Texture]\(/engine/6000.7/script-reference/unityengine/texture)): Source texture.**** (\[GraphicsTexture]\(/engine/6000.7/script-reference/unityengine/rendering/graphicstexture)): Destination [RenderTexture](/engine/6000.7/script-reference/unityengine/rendertexture.md), [GraphicsTexture](/engine/6000.7/script-reference/unityengine/rendering/graphicstexture.md), or `null` to blit directly to screen.**** (\[Material]\(/engine/6000.7/script-reference/unityengine/material)): Material to use for copying. Material's shader should do some post-processing effect.**** (\[Vector2\[]]\(/engine/6000.7/script-reference/unityengine/vector2)): Variable number of filtering offsets. Offsets are given in pixels.

### Remarks

This is mostly used for implementing some [post-processing effects](/engine/6000.7/manual/post-processing-and-full-screen-effects/overview.md). For example, Gaussian or iterative Cone blurring samples source texture at multiple different locations.

BlitMultiTap sets `dest` to be the active render target (changing [RenderTexture.active](/engine/6000.7/script-reference/unityengine/rendertexture/active.md) and [GraphicsTexture.active](/engine/6000.7/script-reference/unityengine/rendering/graphicstexture/active.md)), sets `source` as `_MainTex` property on the material, and draws a full-screen quad. Each vertex of the quad has multiple texture coordinates set up, offset by `offsets` pixels.

BlitMultiTap has the same limitations as [Graphics.Blit](/engine/6000.7/script-reference/unityengine/graphics/blit.md).

Additional Resources: [Graphics.Blit](/engine/6000.7/script-reference/unityengine/graphics/blit.md), [post-processing effects](/engine/6000.7/manual/post-processing-and-full-screen-effects/overview.md).

## BlitMultiTap(Texture, GraphicsTexture, Material, int, Vector2\[])

Copies source texture into destination, for multi-tap shader.

```csharp
public static void BlitMultiTap(Texture source, GraphicsTexture dest, Material mat, int destDepthSlice, params Vector2[] offsets)
```

### Parameters

**** (\[Texture]\(/engine/6000.7/script-reference/unityengine/texture)): Source texture.**** (\[GraphicsTexture]\(/engine/6000.7/script-reference/unityengine/rendering/graphicstexture)): Destination [RenderTexture](/engine/6000.7/script-reference/unityengine/rendertexture.md), [GraphicsTexture](/engine/6000.7/script-reference/unityengine/rendering/graphicstexture.md), or `null` to blit directly to screen.**** (\[Material]\(/engine/6000.7/script-reference/unityengine/material)): Material to use for copying. Material's shader should do some post-processing effect.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The texture array destination slice to blit to.**** (\[Vector2\[]]\(/engine/6000.7/script-reference/unityengine/vector2)): Variable number of filtering offsets. Offsets are given in pixels.

### Remarks

This is mostly used for implementing some [post-processing effects](/engine/6000.7/manual/post-processing-and-full-screen-effects/overview.md). For example, Gaussian or iterative Cone blurring samples source texture at multiple different locations.

BlitMultiTap sets `dest` to be the active render target (changing [RenderTexture.active](/engine/6000.7/script-reference/unityengine/rendertexture/active.md) and [GraphicsTexture.active](/engine/6000.7/script-reference/unityengine/rendering/graphicstexture/active.md)), sets `source` as `_MainTex` property on the material, and draws a full-screen quad. Each vertex of the quad has multiple texture coordinates set up, offset by `offsets` pixels.

BlitMultiTap has the same limitations as [Graphics.Blit](/engine/6000.7/script-reference/unityengine/graphics/blit.md).

Additional Resources: [Graphics.Blit](/engine/6000.7/script-reference/unityengine/graphics/blit.md), [post-processing effects](/engine/6000.7/manual/post-processing-and-full-screen-effects/overview.md).
