Search Unity

How To Keep Only One Texture Memory After Write By Scripts

Discussion in 'General Graphics' started by 370482307, Aug 28, 2019.

  1. 370482307

    370482307

    Joined:
    Aug 8, 2018
    Posts:
    1
    I wanna pack some textures into one texture at runtime , after that , i can unload the origin textures to save memory...but the new texture is double because it's created by script , just like texture import by setting Read/Write Enabled true. so, there is on in RAM , and one in Video Memory .
    Obviousness, i dont need write the new texture after packing, so , i dont need the data in RAM.
    In a word.I want to the new texture is same with a texture import by setting Read/Write Enabled false if pack finished.

    how to do?