Share via


SoftwareBitmap.CreateCopyFromSurfaceAsync Méthode

Définition

Surcharges

CreateCopyFromSurfaceAsync(IDirect3DSurface)

Crée de manière asynchrone un nouveau SoftwareBitmap en effectuant une copie approfondie du IDirect3DSurface fourni. Les modifications apportées aux données dans le nouveau SoftwareBitmap n’ont pas d’effet sur la surface à partir de laquelle elles ont été créées.

CreateCopyFromSurfaceAsync(IDirect3DSurface, BitmapAlphaMode)

Crée de manière asynchrone un nouveau SoftwareBitmap en effectuant une copie approfondie du IDirect3DSurface fourni. Les modifications apportées aux données dans le nouveau SoftwareBitmap n’ont pas d’effet sur la surface à partir de laquelle elles ont été créées.

CreateCopyFromSurfaceAsync(IDirect3DSurface)

Crée de manière asynchrone un nouveau SoftwareBitmap en effectuant une copie approfondie du IDirect3DSurface fourni. Les modifications apportées aux données dans le nouveau SoftwareBitmap n’ont pas d’effet sur la surface à partir de laquelle elles ont été créées.

public:
 static IAsyncOperation<SoftwareBitmap ^> ^ CreateCopyFromSurfaceAsync(IDirect3DSurface ^ surface);
/// [Windows.Foundation.Metadata.Overload("CreateCopyFromSurfaceAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<SoftwareBitmap> CreateCopyFromSurfaceAsync(IDirect3DSurface const& surface);
[Windows.Foundation.Metadata.Overload("CreateCopyFromSurfaceAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<SoftwareBitmap> CreateCopyFromSurfaceAsync(IDirect3DSurface surface);
function createCopyFromSurfaceAsync(surface)
Public Shared Function CreateCopyFromSurfaceAsync (surface As IDirect3DSurface) As IAsyncOperation(Of SoftwareBitmap)

Paramètres

surface
IDirect3DSurface

Surface source à partir de laquelle la copie sera créée.

Retours

Opération asynchrone qui retourne un SoftwareBitmap en cas d’achèvement réussi.

Attributs

Voir aussi

S’applique à

CreateCopyFromSurfaceAsync(IDirect3DSurface, BitmapAlphaMode)

Crée de manière asynchrone un nouveau SoftwareBitmap en effectuant une copie approfondie du IDirect3DSurface fourni. Les modifications apportées aux données dans le nouveau SoftwareBitmap n’ont pas d’effet sur la surface à partir de laquelle elles ont été créées.

public:
 static IAsyncOperation<SoftwareBitmap ^> ^ CreateCopyFromSurfaceAsync(IDirect3DSurface ^ surface, BitmapAlphaMode alpha);
/// [Windows.Foundation.Metadata.Overload("CreateCopyWithAlphaFromSurfaceAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<SoftwareBitmap> CreateCopyFromSurfaceAsync(IDirect3DSurface const& surface, BitmapAlphaMode const& alpha);
[Windows.Foundation.Metadata.Overload("CreateCopyWithAlphaFromSurfaceAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<SoftwareBitmap> CreateCopyFromSurfaceAsync(IDirect3DSurface surface, BitmapAlphaMode alpha);
function createCopyFromSurfaceAsync(surface, alpha)
Public Shared Function CreateCopyFromSurfaceAsync (surface As IDirect3DSurface, alpha As BitmapAlphaMode) As IAsyncOperation(Of SoftwareBitmap)

Paramètres

surface
IDirect3DSurface

Surface source à partir de laquelle la copie sera créée.

alpha
BitmapAlphaMode

Mode alpha de l’image bitmap logicielle.

Retours

Opération asynchrone qui retourne un SoftwareBitmap en cas d’achèvement réussi.

Attributs

Voir aussi

S’applique à