IEngineWindow インターフェイス
レイヤーツリーの描画先と、その描画先に関連付けられたポインター入力を表します。
名前空間: FloatSoda.Abstractions.Engine
アセンブリ: FloatSoda.Abstractions.dll
public interface IEngineWindow : IDisposable実装するインターフェイス
Section titled “実装するインターフェイス”PointerSource
Section titled “PointerSource”このウィンドウの生ポインタ入力源。入力を提供しないウィンドウでは null。
IRawPointerSource? PointerSource { get; }プロパティの値
Section titled “プロパティの値”Present(ILayer)
Section titled “Present(ILayer)”指定されたレイヤーツリーをウィンドウの描画先へ反映します。
void Present(ILayer layer)パラメーター
Section titled “パラメーター”layer ILayer
反映するレイヤーツリー。nullは指定できません。
描画先を所有するレンダースレッド上で呼び出します。
Resize(SKSizeI)
Section titled “Resize(SKSizeI)”描画先テクスチャ/サーフェスのサイズを変更します。レンダースレッド上で呼ぶ必要があります。
void Resize(SKSizeI size)パラメーター
Section titled “パラメーター”size SKSizeI
変更後のピクセルサイズ。幅と高さには0より大きい値を指定します。