CompositionGraphicsDevice.CreateDrawingSurface2 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 ^ CreateDrawingSurface2(SizeInt32 sizePixels, DirectXPixelFormat pixelFormat, DirectXAlphaMode alphaMode) = CreateDrawingSurface2;
CompositionDrawingSurface CreateDrawingSurface2(SizeInt32 const& sizePixels, DirectXPixelFormat const& pixelFormat, DirectXAlphaMode const& alphaMode);
public CompositionDrawingSurface CreateDrawingSurface2(SizeInt32 sizePixels, DirectXPixelFormat pixelFormat, DirectXAlphaMode alphaMode);
function createDrawingSurface2(sizePixels, pixelFormat, alphaMode)
Public Function CreateDrawingSurface2 (sizePixels As SizeInt32, pixelFormat As DirectXPixelFormat, alphaMode As DirectXAlphaMode) As CompositionDrawingSurface
Parameter
- sizePixels
- SizeInt32
Die Größe der Zeichnungsoberfläche in Pixel.
- pixelFormat
- DirectXPixelFormat
Das Pixelformat der Zeichnungsoberfläche.
- alphaMode
- DirectXAlphaMode
Der Alphamodus der Zeichnungsoberfläche.
Gibt zurück
Gibt das erstellte CompositionDrawingSurface zurück.
Windows-Anforderungen
Gerätefamilie |
Windows 10 Creators Update (eingeführt in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (eingeführt in v4.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