Quantcast
Channel: Questions in topic: "readable"
Viewing all articles
Browse latest Browse all 62

Create / Modify Texture2D to Read/Write Enabled at Runtime

$
0
0
How can I create or edit a texture, at runtime, with its read/write property enabled? The TextureFormat doesn't seem to help, and I can't find out how to make it work. Note: TextureImporter and AssetDatabase **don't work**. They require the UnityEditor namespace, and that doesn't work in an exported build (I'm making this for iOS). In the editor, you can just set a texture's type to Advanced and set its Read/Write Enabled property to true, but of course I don't have access to the editor at runtime. Thanks!

Viewing all articles
Browse latest Browse all 62

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>