extraVertexChannels
Optional per-vertex channels that custom ShaderGraph shaders can read from this panel.
Read time 1 minuteLast updated 12 days ago
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.