# VIDEO_VIEW_SETUP_MODE (/zh-CN/api-reference/rtc/unity/enum-videoviewsetupmode)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
## 枚举值 [#枚举值]
0:(默认) 清除已添加的所有视图、替换为新的视图。
1:增加一个视图。
2:删除一个视图。
:::note
注: 当你不再需要使用某个视图时,建议及时设置 `setupMode` 为 VIDEO_VIEW_SETUP_REMOVE 删除视图,否则可能会导致渲染资源泄漏。
:::