You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, I shall thank you for sharing this.
This library claims to support WARP. However, I failed to find a sample that shows how to generate an image without actually using a device.
Can one actually generate an image from a console application?
All the samples I found seem to rely on render loops and screenshots.
The text was updated successfully, but these errors were encountered:
You can take a look into automated tests in SeeingSharp.Tests.
There a MemoryRenderTarget is used to generate an image.
In the TestUtilitites class you see how to force SeeingSharp to use a software rendering device (=WARP). You can do this by calling GraphicsCore.Current.SetDefaultDeviceToSoftware(); after load.
And yes, this all should work from within a console application. I don't testet it myself, but it should behave the same way like in unittest enviornment.
First, I shall thank you for sharing this.
This library claims to support WARP. However, I failed to find a sample that shows how to generate an image without actually using a device.
Can one actually generate an image from a console application?
All the samples I found seem to rely on render loops and screenshots.
The text was updated successfully, but these errors were encountered: