기술 자료

Unity Engine

Unity Engine

ComputeBufferMode

Intended usage of the buffer.
읽는 시간 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

DynamicDynamic buffer.
ImmutableStatic buffer, only initial upload allowed by the CPU
SubUpdatesDynamic, unsynchronized access to the buffer.