Click or drag to resize
AB4D logo

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.Controls
Assembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.0.8865.1045
Syntax
C#
public 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