FabianKowatsch / Fusee

Fusee aims at becoming a multiplatform 3D realtime engine with a strong emphasis on content transformation and manipulation. Fusee is written mainly in C# and can be programmed in C#. Fusee builds bridges to make your code run in environments that don't support C#, like Content-Creation-Software, C++, Plug-In-APIs and native HTML5/WebGL Javascript code.
https://www.fusee3d.org
MIT License
0 stars 0 forks source link

Find out how to use pixel data as a texture #19

Open FabianKowatsch opened 3 years ago

FabianKowatsch commented 3 years ago
LksWllmnn commented 3 years ago

https://www.ais.uni-bonn.de/theses/Bastian_Oehler_Diplomarbeit_08_2011.pdf https://stackoverflow.com/questions/8946846/converting-a-byte-array-to-png-jpg https://docs.microsoft.com/en-us/dotnet/api/system.drawing.image.save?redirectedfrom=MSDN&view=net-5.0#System_Drawing_Image_Save_System_String_System_Drawing_Imaging_ImageFormat_ https://docs.microsoft.com/de-de/dotnet/api/system.drawing.image?view=net-5.0

LksWllmnn commented 3 years ago

Copy texture from main memory and import into existing texture with function Blt (of texture class)

Create Writable Texture and set as RenderTarget with RenderContext