Version: 2020.2
언어: 한국어

Terrain.freeUnusedRenderingResources

매뉴얼로 전환
public bool freeUnusedRenderingResources ;

설명

Whether some per-camera rendering resources for the terrain should be freed after not being used for some frames.

By default this property is true, meaning these rendering resources will be deleted from memory if the camera they are associated with has not rendered for 100 frames. Sometimes this behavior might not be desired, because the next time these resources are required (when the camera starts to render again), we have to reallocate them, which can cause performance hiccup. In that case set this property to false to keep those resources in memory unless the camera they are associated with is destroyed.

The value is not serialized with Terrain component.