CompositionGraphicsDevice.CreateDrawingSurface Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Erstellt eine instance von CompositionDrawingSurface.
public:
virtual CompositionDrawingSurface ^ CreateDrawingSurface(Size sizePixels, DirectXPixelFormat pixelFormat, DirectXAlphaMode alphaMode) = CreateDrawingSurface;
CompositionDrawingSurface CreateDrawingSurface(Size const& sizePixels, DirectXPixelFormat const& pixelFormat, DirectXAlphaMode const& alphaMode);
public CompositionDrawingSurface CreateDrawingSurface(Size sizePixels, DirectXPixelFormat pixelFormat, DirectXAlphaMode alphaMode);
function createDrawingSurface(sizePixels, pixelFormat, alphaMode)
Public Function CreateDrawingSurface (sizePixels As Size, pixelFormat As DirectXPixelFormat, alphaMode As DirectXAlphaMode) As CompositionDrawingSurface
Parameter
- sizePixels
- Size
Die Größe der Oberfläche in Pixel.
- pixelFormat
- DirectXPixelFormat
Das Pixelformat der Oberfläche.
- alphaMode
- DirectXAlphaMode
Wie der Alphakanal behandelt werden soll.
Gibt zurück
Das erstellte CompositionDrawingSurface.
Windows-Anforderungen
Gerätefamilie |
Windows 10 (eingeführt in 10.0.10586.0)
|
API contract |
Windows.Foundation.UniversalApiContract (eingeführt in v2.0)
|
Gilt für:
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für