0 out of 1 rated this helpful - Rate this topic

BitmapSourceExtensions Class

Silverlight

Provides extension methods for the BitmapSource class to support 3D graphic texture creation.

System.Object
  System.Windows.Media.Imaging.BitmapSourceExtensions

Namespace:  System.Windows.Media.Imaging
Assembly:  System.Windows.Xna (in System.Windows.Xna.dll)
public static class BitmapSourceExtensions
  Name Description
Public method Static member CopyTo(BitmapSource, Texture2D) Copies a bitmap image to a texture.
Public method Static member CopyTo(BitmapSource, TextureCube, CubeMapFace) Copies a bitmap image to a cube map face.
Public method Static member CopyTo(BitmapSource, Texture2D, Int32, Nullable<Rectangle>, Int32, Int32) Copies a sub-region of bitmap to a sub-region of the texture.
Public method Static member CopyTo(BitmapSource, TextureCube, CubeMapFace, Int32, Nullable<Rectangle>, Int32, Int32) Copies a sub-region of bitmap to a sub-region of the cube map face.
Top

Silverlight

Supported in: 5

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ