# ProcessCamera(Camera)

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

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.VFX](/engine/6000.6/script-reference/unityengine/vfx.md)
* **Assembly:** UnityEngine.VFXModule

> **Warning:**
>
> **Deprecated.** Use explicit PrepareCamera and ProcessCameraCommand instead

```csharp
public static void ProcessCamera(Camera cam)
```

### Parameters

**** (\[Camera]\(/engine/6000.6/script-reference/unityengine/camera)): The Camera to prepare for processing VFX commands.

### Remarks

Scriptable Render Pipelines (SRP) are responsible for calling this function. The High Definition and Universal Render Pipelines implement this call but you must do it manually if you create your own SRP. This function is equivalent to PrepareCamera(cam) followed by ProcessCameraCommand(cam, null).
