Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ UpdateVisibility()

void ReLogic.Peripherals.RGB.ShaderSelector.ShaderGroup.UpdateVisibility ( float timeElapsed)
inline

Definition at line 64 of file ShaderSelector.cs.

65 {
67 while (linkedListNode != null)
68 {
70 ConditionalShader value = linkedListNode.Value;
71 bool isVisible = value.IsVisible;
72 value.UpdateVisibility(timeElapsed);
73 if (!isVisible && value.IsVisible)
74 {
75 Shaders.Remove(linkedListNode);
76 Shaders.AddFirst(value);
77 }
78 linkedListNode = next;
79 }
80 }
bool ICollection< KeyValuePair< TKey, TValue > >. Remove(KeyValuePair< TKey, TValue > keyValuePair)

References System.Collections.Generic.Dictionary< TKey, TValue >.Remove(), and System.value.