Kind of a speculative question but could there conceivably be some sort of unmanaged equivalent for render textures in the future? Or unmanaged textures/meshes etc? I’m considering render texture adjacent work for my ecs project in particular for real time painting effects on some entities, but they kind of require extra considerations due to being managed which is a bit of a pain, would love a more unmanaged future for these things.
#Render textures and DOTS
1 messages · Page 1 of 1 (latest)
Hey! Any chance you can provide more info on what you are trying to achieve?
Are you trying to write image data to a RenderTexture in a Burst Job? A way to achieve this is writing the data a native array. And set the render texture data using this native array. Using functions such as https://docs.unity3d.com/ScriptReference/Texture2D.GetRawTextureData.html and https://docs.unity3d.com/ScriptReference/Texture2D.LoadRawTextureData.html