Skip to content

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_nametypedescription
sourceTextureThe source render texture.
destRenderTextureThe destination render texture.

Return

typedescription
void

Code Example

typescript
// Call this method after the camera has finished rendering.
OnRenderImage(source, dest): void {

    Graphics.Blit(source, dest);

}