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