Beispiel #1
0
 /// <summary>
 /// Removes a <see cref="IRenderEventHandler"/> from this renderer.
 /// </summary>
 /// <param name="handler">The handler to remove.</param>
 public void RemoveRenderEventHandler(IRenderEventHandler handler) => _renderEventHandlers.Remove(handler);
Beispiel #2
0
 /// <summary>
 /// Adds a <see cref="IRenderEventHandler"/> to this renderer,
 /// which will be triggered when the renderer has finished rendering
 /// a render cycle.
 /// </summary>
 /// <param name="handler">The handler to add.</param>
 public void AddRenderEventHandler(IRenderEventHandler handler) => _renderEventHandlers.Add(handler);