# CustomRenderTextureUpdateMode

> Frequency of update or initialization of a Custom Render Texture.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public enum CustomRenderTextureUpdateMode
```

## Remarks

Additional Resources: [CustomRenderTexture](/engine/6000.7/script-reference/unityengine/customrendertexture.md).

## Fields

| Value                                                                                             | Description                                                                                   |
| ------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
| [OnDemand](/engine/6000.7/script-reference/unityengine/customrendertextureupdatemode/ondemand.md) | Initialization/Update will only occur when triggered by the script.                           |
| [OnLoad](/engine/6000.7/script-reference/unityengine/customrendertextureupdatemode/onload.md)     | Initialization/Update will occur once at load time and then can be triggered again by script. |
| [Realtime](/engine/6000.7/script-reference/unityengine/customrendertextureupdatemode/realtime.md) | Initialization/Update will occur at every frame.                                              |
