Version: 2020.2
언어: 한국어
public static void PrepareCamera (Camera cam);

파라미터

cam The Camera to prepare for processing VFX commands.

설명

Use this method to prepare per-Camera VFX commands for this frame.

This function updates Materials that the VisualEffect uses internally, but does not execute any rendering commands. To execute rendering commands, call VFXManager.ProcessCamera.

Scriptable Render Pipelines (SRP) are responsible for calling this function. The High Definition and Universal Render Pipelines implement this call.

If you create your own SRP, you should typically call this function before culling.