Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SubUpdates

Dynamic, unsynchronized access to the buffer.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
SubUpdates = 4

Remarks

Same as ComputeBufferMode.Dynamic except Unity does not perform any CPU-GPU synchronization; if the user modifies an area of the buffer where the GPU is currently reading from, the results are undefined. For example, this mode together with GraphicsFence can be used to implement circular buffers.