MSDN Library

BitmapSourceExtensions.CopyTo Method (BitmapSource, TextureCube, CubeMapFace)

Copies a bitmap image to a cube map face.

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

public static void CopyTo(
	this BitmapSource bitmap,
	TextureCube dest,
	CubeMapFace cubeMapFace
)

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.

Silverlight

Supported in: 5

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

Community Additions

Show:
© 2016 Microsoft