Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Flush()

Sends queued-up commands in the driver's command buffer to the GPU.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static void Flush()

Remarks

When Direct3D 11 is the active graphics API, this call maps to ID3D11DeviceContext::Flush. When Direct3D 12 is the active graphics API, pending command lists are executed. When OpenGL is the active graphics API, this call maps to glFlush.