Skip to content

jintiao/RuntimeTextureAtlas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

runtime texture atlas

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published