CompositionGraphicsDevice クラス

定義

コンポジター セッションで特定の DirectX デバイスのすべてのハードウェア バインド リソースを作成するために使用されます。 CompositionGraphicsDevice には、GPU 操作の実行に使用される DirectX デバイスが含まれています。 開発者は、コンポジターの最上位オブジェクトからグラフィックス デバイスを取得できます。

public ref class CompositionGraphicsDevice sealed : CompositionObject
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.LiftedContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CompositionGraphicsDevice final : CompositionObject
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65536)]
class CompositionGraphicsDevice final : CompositionObject
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.LiftedContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CompositionGraphicsDevice : CompositionObject
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65536)]
public sealed class CompositionGraphicsDevice : CompositionObject
Public NotInheritable Class CompositionGraphicsDevice
Inherits CompositionObject
継承
Object Platform::Object IInspectable CompositionObject CompositionGraphicsDevice
属性

プロパティ

Comment

CompositionObject に関連付ける文字列。

(継承元 CompositionObject)
Compositor

この CompositionObject の作成に使用するコンポジター

(継承元 CompositionObject)
DispatcherQueue

CompositionObject の DispatcherQueue を取得します。

(継承元 CompositionObject)
ImplicitAnimations

このオブジェクトにアタッチされている暗黙的なアニメーションのコレクション。

(継承元 CompositionObject)
Properties

CompositionObject に関連付けられているプロパティのコレクション。

(継承元 CompositionObject)

メソッド

CaptureAsync(Visual, SizeInt32, DirectXPixelFormat, DirectXAlphaMode, Single)

アプリケーションが所有するビジュアル ツリーなど、さまざまなソース要素をコンポジション サーフェイスにキャプチャします。

Close()

CompositionObject を閉じ、システム リソースを解放します。

(継承元 CompositionObject)
CreateDrawingSurface(Size, DirectXPixelFormat, DirectXAlphaMode)

CompositionDrawingSurface のインスタンスを作成します。

CreateDrawingSurface2(SizeInt32, DirectXPixelFormat, DirectXAlphaMode)

CompositionDrawingSurface のインスタンスを作成します。

CreateMipmapSurface(SizeInt32, DirectXPixelFormat, DirectXAlphaMode)

CompositionMipMapSurface のインスタンスを作成します。

CreateVirtualDrawingSurface(SizeInt32, DirectXPixelFormat, DirectXAlphaMode)

CompositionVirtualDrawingSurface のインスタンスを作成します。

Dispose()

アンマネージ リソースの解放またはリセットに関連付けられているアプリケーション定義のタスクを実行します。

(継承元 CompositionObject)
PopulatePropertyInfo(String, AnimationPropertyInfo)

アニメーション化できるプロパティを定義します。

(継承元 CompositionObject)
StartAnimation(String, CompositionAnimation)

アニメーションをオブジェクトの指定したプロパティに接続し、アニメーションを開始します。

(継承元 CompositionObject)
StartAnimation(String, CompositionAnimation, AnimationController)

アニメーションをオブジェクトの指定したプロパティに接続し、アニメーションを開始します。

(継承元 CompositionObject)
StartAnimationGroup(ICompositionAnimationBase)

アニメーション グループを開始します。

CompositionObject の StartAnimationGroup メソッドを使用すると、CompositionAnimationGroup を開始できます。 グループ内のすべてのアニメーションは、オブジェクトで同時に開始されます。

(継承元 CompositionObject)
StopAnimation(String)

指定したプロパティからアニメーションを切断し、アニメーションを停止します。

(継承元 CompositionObject)
StopAnimationGroup(ICompositionAnimationBase)

アニメーション グループを停止します。

(継承元 CompositionObject)
Trim()

アプリの代わりにグラフィックス デバイスによって割り当てられたグラフィックス メモリをトリミングします。

TryGetAnimationController(String)

指定したプロパティで実行されているアニメーションの AnimationController を返します。

(継承元 CompositionObject)

イベント

RenderingDeviceReplaced

レンダリング デバイスが置き換えられたときにトリガーされるイベント。

適用対象