natiny_material_unbind

C
void natiny_material_unbind(void);

Removes the bound material override. The current batch is flushed first, so queued draws keep the material they were submitted with.

Example

C
natiny_material_unbind();