DynamicColor
Optimizes rendering of a VisualElement for frequent color changes, such as a built-in style color being animated.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Field
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
DynamicColor = 8
Remarks
This option fetches color from a GPU buffer to prevent re-tessellating geometry or CPU updates when colors change.
Apply this option on a VisualElement that changes any of the following style properties:
-
background-color -
border-color -
color -
border-bottom-color -
border-left-color -
border-right-color -
border-top-color -
text-color -
unity-background-image-tint-color