CompositionGraphicsDevice.CreateVirtualDrawingSurface 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 CompositionVirtualDrawingSurface.
public:
virtual CompositionVirtualDrawingSurface ^ CreateVirtualDrawingSurface(SizeInt32 sizePixels, DirectXPixelFormat pixelFormat, DirectXAlphaMode alphaMode) = CreateVirtualDrawingSurface;
CompositionVirtualDrawingSurface CreateVirtualDrawingSurface(SizeInt32 const& sizePixels, DirectXPixelFormat const& pixelFormat, DirectXAlphaMode const& alphaMode);
public CompositionVirtualDrawingSurface CreateVirtualDrawingSurface(SizeInt32 sizePixels, DirectXPixelFormat pixelFormat, DirectXAlphaMode alphaMode);
function createVirtualDrawingSurface(sizePixels, pixelFormat, alphaMode)
Public Function CreateVirtualDrawingSurface (sizePixels As SizeInt32, pixelFormat As DirectXPixelFormat, alphaMode As DirectXAlphaMode) As CompositionVirtualDrawingSurface
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 CompositionVirtualDrawingSurface 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