···56namespace osu.Framework.Graphics.Performance
7{
8+ /// <summary>
9+ /// An object for a <see cref="LifetimeEntryManager"/> to consume, which provides a <see cref="LifetimeStart"/> and <see cref="LifetimeEnd"/>.
10+ /// </summary>
11+ /// <remarks>
12+ /// Management of the object which the <see cref="LifetimeEntry"/> refers to is left up to the consumer.
13+ /// </remarks>
14 public class LifetimeEntry
15 {
16 private double lifetimeStart = double.MinValue;
···53 }
54 }
5556+ /// <summary>
57+ /// Invoked when this <see cref="LifetimeEntry"/> is attached to a <see cref="LifetimeEntryManager"/> and either
58+ /// <see cref="LifetimeStart"/> or <see cref="LifetimeEnd"/> are changed.
59+ /// </summary>
60 internal event RequestLifetimeUpdateDelegate RequestLifetimeUpdate;
6162 /// <summary>
···34namespace osu.Framework.Graphics.Performance
5{
0006 public enum LifetimeEntryState
7 {
8- /// Not yet loaded.
009 New,
1011- /// Currently dead and becomes alive in the future: current time < <see cref="Drawable.LifetimeStart"/>.
0012 Future,
1314- /// Currently alive.
0015 Current,
1617- /// Currently dead and becomes alive if the clock is rewound: <see cref="Drawable.LifetimeEnd"/> <= current time.
0018 Past,
19 }
20}
···34namespace osu.Framework.Graphics.Performance
5{
6+ /// <summary>
7+ /// The state of a <see cref="LifetimeEntry"/>.
8+ /// </summary>
9 public enum LifetimeEntryState
10 {
11+ /// <summary>
12+ /// The <see cref="LifetimeEntry"/> hasn't been processed within the <see cref="LifetimeEntryManager"/> yet.
13+ /// </summary>
14 New,
1516+ /// <summary>
17+ /// The <see cref="LifetimeEntry"/> is currently dead and becomes alive when current time >= <see cref="LifetimeEntry.LifetimeStart"/>.
18+ /// </summary>
19 Future,
2021+ /// <summary>
22+ /// The <see cref="LifetimeEntry"/> is currently alive.
23+ /// </summary>
24 Current,
2526+ /// <summary>
27+ /// The <see cref="LifetimeEntry"/> is currently dead and becomes alive when current time < <see cref="LifetimeEntry.LifetimeEnd"/>.
28+ /// </summary>
29 Past,
30 }
31}