D3DImagePresentationTargetIsFrameReady Property |
Namespace: DigitalRune.Graphics.Interop
A return value of guarantees that the current frame rendered to the back buffer is complete and ready to be copied to the front buffer in WPF.
A return value of means that the Direct3D 11 device is still busy. However, the back buffer might already be usable in WPF! (Since Direct3D 11 and Direct3D 9 run asynchronously by default, there is a chance that the result is already finished when the Direct3D 9 device tries to access the shared back buffer!)
When the application is continuously rendering new frames, for example, at 60 frames per second, it is not useful to query IsFrameReady. The flag is reset every time a new frame is started. Therefore, the value of the property will be in most cases.
When IsSynchronized is , then Direct3D 9 and Direct3D 11 run in sync and IsFrameReady will therefore always return .