Export (0) Print
Expand All

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)

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class BitmapSourceExtensions

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

Community Additions

ADD
Show:
© 2014 Microsoft