Experimental: this API is experimental and might be changed or removed in the future.

RenderPipelineAsset.GetRenderingLayerMaskNames

切换到手册
public string[] GetRenderingLayerMaskNames ();

返回

string[] 32 个渲染层遮罩名称的数组。

描述

返回用于显示此管线的渲染层遮罩 UI 的名称列表。

管线可以通过多种不同方式使用渲染层遮罩。此函数允许管线自定义 UI 以反映这一点。