Syncaidius / MoltenEngine

A spare-time C# .NET 8 game engine project. Cross-platform, multi-threaded.
MIT License
301 stars 20 forks source link

Multi-GPU Resource Transfer #212

Open Syncaidius opened 1 year ago

Syncaidius commented 1 year ago

Implement support for transferring resources between GraphicsDevice instances:

GraphicsResource.TransferTo(params GraphicsDevice[] device)

Scenarios where this may be needed:

Also consider if resource sharing can be implemented. ReBAR may also improve performance of sharing/transfering, by allowing the CPU to copy directly from one GPU's VRAM to another.