Ich möchte also gern den Inhalt der Render Targets speichern und nach einem Lost Device wiederherstellen. Quasi schnell vom VRAM in den RAM retten sobald das Device verschwindet. Nur weiß ich ja leider nicht, wann das passiert, bis es zu spät ist. Oder?https://msdn.microsoft.com/en-us/library/windows/desktop/bb174714.aspx hat geschrieben:Internally, Direct3D does enough work to ensure that a lock operation will succeed after a device is lost. However, it is not guaranteed that the video-memory resource's data will be accurate during the lock operation. It is guaranteed that no error code will be returned. This allows applications to be written without concern for device loss during a lock operation.
[…]
Direct3D also allows applications to copy generated or previously written images from video-memory resources to nonvolatile system-memory resources. Because the source images of such transfers might be lost at any time, Direct3D allows such copy operations to fail when the device is lost.
Irgendwelche Ideen? Wo kriege ich im Fall eines Lost Device noch schnell eine Hundertstelsekunde her um meine Render Targets zu retten?