Share via


DisplayPrimaryDescription Klasse

Definition

Beschreibt eine Reihe von Eigenschaften, die zum Zuweisen von DisplaySurface-Objekten mithilfe von CreatePrimary verwendet werden.

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
Vererbung
Object Platform::Object IInspectable DisplayPrimaryDescription
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10, version 1809 (eingeführt in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v7.0)

Konstruktoren

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

Erstellt eine primäre Beschreibung mit den angegebenen Standardeigenschaften.

Eigenschaften

ColorSpace

Ruft den DXGI-kompatiblen Farbraum einer Oberfläche ab.

Format

Ruft das DXGI-kompatible Format einer Oberfläche ab.

Height

Ruft die Höhe einer Oberfläche ab.

IsStereo

Ruft einen Wert ab, der angibt, ob es sich bei der Beschreibung um eine stereoskopische 3D-Oberfläche handelt.

MultisampleDescription

Ruft die Multisamplingeigenschaften einer Oberfläche ab.

Properties

Für die zukünftige Verwendung reserviert.

Width

Ruft die Breite einer Oberfläche ab.

Methoden

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

Erstellt eine primäre Beschreibung mit den angegebenen Standardeigenschaften sowie zusätzlichen Eigenschaften.

Gilt für: