Will
Will
CC#
Created by Will on 9/23/2023 in #help
✅ Drawing WPF image from byte array
Is there any way in wpf to render an image directly from a byte array? eg accessing DirectX? i want something like glTexSubImage2D where an array can be provided and it will simply be copied to the gpu for rendering. i can't use a WriteableBitmap because the memory safety is too performance limiting for my use. (i'll be writing and reading large areas to it 60 times a second)
10 replies