Skip to content

Format

typescript
Graphics.FlipAndBlit(source, dest, fliped)

class: Graphics

Description

Copy the content of a RenderTexture to another RenderTexture, with the option to flip it.

This method is commonly used for implementing post-processing effects, image filters, and other operations.

Parameters

param_nametypedescription
sourceTextureThe source texture.
destRenderTextureThe destination texture.
flipedbooleanWhether to flip the texture or not.

Return

typedescription
void

Code Example