Hi-Rez / Satin

A 3D Graphics Framework built on Apple's Metal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Performance improvement in changing and refreshing UI interface for dynamic addition and deletion of mesh

ccworld1000 opened this issue · comments

commented

Performance improvement in changing and refreshing UI interface for dynamic addition and deletion of mesh

Can you explain your use case and what is happening in detail?

commented

For example, real-time dynamic input text and real-time refresh

The best was to do this is to reuse the TextGeometry instead of recreating the Mesh every time there is a text update. The TextGeometry component caches characters so once a character has been rasterized, text generation is 100x faster.