Format
typescript
Graphics.Blit(source, dest)class: Graphics
Description
Copies the content of a render texture from one render texture to another.
This method is commonly used to implement post-processing effects, image filters, and other operations.
Parameters
| param_name | type | description |
|---|---|---|
| source | Texture | The source render texture. |
| dest | RenderTexture | The destination render texture. |
Return
| type | description |
|---|---|
void |
Code Example
typescript
// Call this method after the camera has finished rendering.
OnRenderImage(source, dest): void {
Graphics.Blit(source, dest);
}