/// <summary>
 /// Loads the resource.
 /// </summary>
 /// <param name="device">The target device.</param>
 /// <param name="resources">Parent ResourceDictionary.</param>
 protected override void LoadResourceInternal(EngineDevice device, ResourceDictionary resources)
 {
     //Get default resources
     _defaultResources = resources.GetResourceAndEnsureLoaded(
         DefaultResources.RESOURCE_KEY,
         () => new DefaultResources());
 }
 /// <summary>
 /// Loads the resource.
 /// </summary>
 /// <param name="device">The target device.</param>
 /// <param name="resources">Parent ResourceDictionary.</param>
 protected override void LoadResourceInternal(EngineDevice device, ResourceDictionary resources)
 {
     _defaultResources    = resources.GetResourceAndEnsureLoaded <DefaultResources>(DefaultResources.RESOURCE_KEY);
     _lineRenderResources = resources.GetResourceAndEnsureLoaded <LineRenderResources>(LineRenderResources.RESOURCE_KEY);
 }