ComputeBufferMode
Intended usage of the buffer.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Enum
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
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 | Dynamic buffer. |
| Immutable | Static buffer, only initial upload allowed by the CPU |
| SubUpdates | Dynamic, unsynchronized access to the buffer. |