extraVertexChannels
Optional per-vertex channels that custom ShaderGraph shaders can read from this panel.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
ExtraVertexChannels extraVertexChannels { get; set; }
Remarks
Modifying this property rebuilds the rendering commands and meshes so that the new GPU vertex layout takes effect. Defaults to ExtraVertexChannels.None; leave it at the default unless a custom shader requires the additional channels.