Wpf |
Name | Description | |
---|---|---|
CreateTexture2D(DXDevice, BitmapSource) | CreateTexture2D creates a 2D Texture from the specified WPF BitmapSource and returns a ShaderResourceView for the texture. User must dispose the returned ShaderResourceView when it is not used any more to prevent memory leak. | |
CreateTexture2D(DXDevice, BitmapSource, TextureInfo) | CreateTexture2D creates a 2D Texture from the specified WPF BitmapSource and returns a ShaderResourceView for the texture. User must dispose the returned ShaderResourceView when it is not used any more to prevent memory leak. |