extraVertexChannels
Optional per-vertex channels that custom ShaderGraph shaders attached to this panel can read.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public ExtraVertexChannels extraVertexChannels { get; set; }
Remarks
Adds GPU memory per vertex for the enabled channels. Leave at ExtraVertexChannels.None unless a shader requires the extra data. Changing this setting after initialization rebuilds the panel's render chain.
Additional Resources: UIMesh