Freigeben über


BitmapSourceExtensions.CopyTo Method (BitmapSource, TextureCube, CubeMapFace)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Copies a bitmap image to a cube map face.

Namespace:  System.Windows.Media.Imaging
Assembly:  System.Windows.Xna (in System.Windows.Xna.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Sub CopyTo ( _
    bitmap As BitmapSource, _
    dest As TextureCube, _
    cubeMapFace As CubeMapFace _
)
public static void CopyTo(
    this BitmapSource bitmap,
    TextureCube dest,
    CubeMapFace cubeMapFace
)

Parameters

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type BitmapSource. When you use instance method syntax to call this method, omit the first parameter.

Version Information

Silverlight

Supported in: 5

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.