BitmapSourceExtensions Class
Microsoft Silverlight will reach end of support after October 2021. Learn more.
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 | |
---|---|---|
CopyTo(BitmapSource, Texture2D) | Copies a bitmap image to a texture. | |
CopyTo(BitmapSource, TextureCube, CubeMapFace) | Copies a bitmap image to a cube map face. | |
CopyTo(BitmapSource, Texture2D, Int32, Nullable<Rectangle>, Int32, Int32) | Copies a sub-region of bitmap to a sub-region of the texture. | |
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.