Remove materials
#include <s3d.h>
int s3d_pop_material(int object, uint32_t n);
Deletes the latest n material from the material stack of the object.
Simon Wunderlich
Author of s3d