Click or drag to resize
AB4D logo

DXSceneCreateAndUseStagingBuffer Method

CreateAndUseStagingBuffer creates a Staging buffer (used to copy the rendered back buffer to main memory) and set it to RenderingContext.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public void CreateAndUseStagingBuffer()
Remarks

CreateAndUseStagingBuffer creates a Staging buffer (used to copy the rendered back buffer to main memory) and set it to RenderingContext.

This method can be called when we initially wanted to use Shared texture, but D3DImage initialization failed. In this case we need to switch to staging buffer where the back buffer is copied to main memory and used in WPF from there.

See Also