Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GPU

Enables Unity using compute shaders to process mesh deformations on the GPU.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
GPU = 1

Remarks

Unity creates one dispatch call for each mesh and active blendshape. If you build for a graphics API that supports compute shaders and you render many skinned meshes, use MeshDeformation.GPUBatched for better performance.
MeshDeformation.GPU
works on all graphics APIs that support compute shaders, except OpenGL.