DisplayPrimaryDescription クラス

定義

CreatePrimary を使用して DisplaySurface オブジェクトを割り当てる際に使用される一連のプロパティについて説明します。

public ref class DisplayPrimaryDescription sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Display.Core.IDisplayPrimaryDescriptionFactory, 458752, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class DisplayPrimaryDescription final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Display.Core.IDisplayPrimaryDescriptionFactory), 458752, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class DisplayPrimaryDescription
function DisplayPrimaryDescription(width, height, pixelFormat, colorSpace, isStereo, multisampleDescription)
Public NotInheritable Class DisplayPrimaryDescription
継承
Object Platform::Object IInspectable DisplayPrimaryDescription
属性

Windows の要件

デバイス ファミリ
Windows 10, version 1809 (10.0.17763.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v7.0 で導入)

コンストラクター

DisplayPrimaryDescription(UInt32, UInt32, DirectXPixelFormat, DirectXColorSpace, Boolean, Direct3DMultisampleDescription)

指定した標準プロパティを使用して、プライマリの説明を作成します。

プロパティ

ColorSpace

サーフェスの DXGI 互換色空間を取得します。

Format

サーフェスの DXGI 互換形式を取得します。

Height

サーフェスの高さを取得します。

IsStereo

説明が立体 3D サーフェスであるかどうかを示す値を取得します。

MultisampleDescription

サーフェスのマルチサンプリング プロパティを取得します。

Properties

将来利用するために予約されています。

Width

サーフェスの幅を取得します。

メソッド

CreateWithProperties(IIterable<KeyValuePair<Guid,Object>>, UInt32, UInt32, DirectXPixelFormat, DirectXColorSpace, Boolean, Direct3DMultisampleDescription)

指定した標準プロパティと追加のプロパティを使用して、プライマリの説明を作成します。

適用対象