# ComputeBufferMode

> Intended usage of the buffer.

## Definition

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

```csharp
public enum ComputeBufferMode
```

## Remarks

Use this enum to convey the intended usage of the buffer to the engine, so that Unity can decide where and how to store the buffer contents.

## Fields

| Value                                                                                     | Description                                           |
| ----------------------------------------------------------------------------------------- | ----------------------------------------------------- |
| [Dynamic](/engine/6000.7/script-reference/unityengine/computebuffermode/dynamic.md)       | Dynamic buffer.                                       |
| [Immutable](/engine/6000.7/script-reference/unityengine/computebuffermode/immutable.md)   | Static buffer, only initial upload allowed by the CPU |
| [SubUpdates](/engine/6000.7/script-reference/unityengine/computebuffermode/subupdates.md) | Dynamic, unsynchronized access to the buffer.         |
