LambdaInnovation / LambdaLib

Common library and utils behind LambdaInnovation mods
MIT License
13 stars 3 forks source link

CGUI: Reduce draw calls #21

Open WeAthFoLD opened 8 years ago

WeAthFoLD commented 8 years ago

Now, the only way to render texture is DrawTexture component, which always renders the whole texture. This will lead to LOTS of draw calls and is very inefficient. The design shall be improved by both encouraging user to use atlas texture, and batching drawcalls as much as possible in the backend. There should possibly be some major rework in both editor and backend.