BitmapSourceExtensions Class

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

Inheritance Hierarchy

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

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

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class BitmapSourceExtensions
public static class BitmapSourceExtensions

Methods

  Name Description
Public methodStatic member CopyTo(BitmapSource, Texture2D) Copies a bitmap image to a texture.
Public methodStatic member CopyTo(BitmapSource, TextureCube, CubeMapFace) Copies a bitmap image to a cube map face.
Public methodStatic member CopyTo(BitmapSource, Texture2D, Int32, Nullable<Rectangle>, Int32, Int32) Copies a sub-region of bitmap to a sub-region of the texture.
Public methodStatic 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

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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.