LanguageEnglish
  • C#

UsageHints.DynamicColor

Description

Optimizes rendering of a VisualElement for frequent color changes, such as a built-in style color being animated.

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


Did you find this page useful? Please give it a rating: