© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
9 replies
Will

✅ 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)
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Read bits from a byte[] array
C#CC# / help
3y ago
Byte array to BitArray
C#CC# / help
2y ago
❔ Drawing lines in WPF
C#CC# / help
4y ago