vurtun / nuklear

A single-header ANSI C gui library
13.66k stars 1.11k forks source link

Get rid of scissors? #933

Open Temtaime opened 4 years ago

Temtaime commented 4 years ago

Hello. Thanks for a great project. What are the reasons behind using scissor command? For which purposes it's used? Why can't it be evaded? Scissors are stopping one from combining multiple draw calls into instanced one or force to implement them in the shader.

Just adjust UV coords for elements when it's needed. Thanks.