Replies: 1 comment
-
Is it sufficient to have a buffer for the time of an operation (inside a single, synchronous method)? In that case, you can use If you need a persistent reference to the buffer (to be stored in other objects), then it get's harder. You need to make sure to be familiar with the .NET API-s for managing memory. Then you can use Note, that very large images are not contiguous in memory, but for images of size displayable on screen (below ~ |
Beta Was this translation helpful? Give feedback.
-
I'm converting an app that uses WPF to instead use ImageSharp. It renders the images on Cuda hardware via the ManagedCuda library. In order to pass the image data back to the host, I need to provide ManagedCuda with a place in the memory to assign to.
Does anyone know how I can achieve this?
Beta Was this translation helpful? Give feedback.
All reactions