文档

Unity Engine

Unity Engine

GPU

Enables Unity using compute shaders to process mesh deformations on the GPU.
阅读时间1 分钟最后更新于 1 个月前

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.