/RuntimeTextureAtlas

runtime texture atlas

Primary LanguageC#Apache License 2.0Apache-2.0

RuntimeTextureAtlas

Pack multiple textures into one rendertexture at runtime.

How To Use

RawImage image;
Texture texture;
...
image.PackTexture(texture);

Usecase

for a UI Scene which have 5 RawImage controls: screenshot

RTA pack all five texture into a rendertexture: rendertexture

4 drawcall saved.

without RTA with RTA
without RTA with RTA