Browse Source
Laying the foundations for getting `VisualBrush` working with `DeferredRenderer`.scenegraph-after-breakage
6 changed files with 93 additions and 20 deletions
@ -0,0 +1,20 @@ |
|||||
|
// Copyright (c) The Avalonia Project. All rights reserved.
|
||||
|
// Licensed under the MIT license. See licence.md file in the project root for full license information.
|
||||
|
|
||||
|
using System; |
||||
|
using Avalonia.Media; |
||||
|
|
||||
|
namespace Avalonia.Rendering |
||||
|
{ |
||||
|
/// <summary>
|
||||
|
/// Internal interface for initializing controls that are to be used as the viusal in a
|
||||
|
/// <see cref="VisualBrush"/>.
|
||||
|
/// </summary>
|
||||
|
public interface IVisualBrushInitialize |
||||
|
{ |
||||
|
/// <summary>
|
||||
|
/// Ensures that the control is ready to use as the visual in a visual brush.
|
||||
|
/// </summary>
|
||||
|
void EnsureInitialized(); |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue