 |
D3D11ImageSourceInitializeBackBuffer Method |
InitializeBackBuffer uses the DirectX 11 back buffer and creates a DirectX 9 SharedResource from it.
The SharedResources can than be used in the InvalidateBackBuffer method to pass the DirectX 11 back buffer to WPF.
Namespace: Ab3d.DirectX.ControlsAssembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.1.9105.2048
Syntaxpublic void InitializeBackBuffer(
Texture2D dx11BackBuffer,
int width,
int height
)
Parameters
- dx11BackBuffer Texture2D
- DirectX 11 back buffer
- width Int32
- width of the back buffer
- height Int32
- height of the back buffer
See Also