S3D_POP_MATERIAL(3)

✨ S3D_POP_MATERIAL ✨

okay bestie, welcome to the s3d Manual πŸ’– you're in section 3, which means we're talking library functions, and this one is literally the undo button for materials. no cap.


🌸 NAME 🌸

s3d_pop_material β€” remove materials πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <s3d.h>

int s3d_pop_material(int object, uint32_t n);

like yes, that's the whole vibe. one include, one function, two args, go off πŸ’…


πŸ’œ DESCRIPTION πŸ’œ

so here's the tea: this function deletes the latest n material from the material stack of the object. 🫢

that's it. that's the function. it pops, it deletes, it's giving "ctrl+z but make it materials". the latest ones go first β€” it's a stack, bestie, so it's last-in-first-out and it's not sorry about it. 🧚✨

ngl the whole description is one sentence and I respect the minimalism, but just know: object is the object whose stack you're messing with, and n is how many materials you're yeeting off the top. πŸ”₯

πŸ‘‘ AUTHOR πŸ‘‘

Simon Wunderlich

Author of s3d 🌈

like, the actual legend. the main character who wrote s3d. we stan. ⭐


and that's a wrap on S3D_POP_MATERIAL(3) from the s3d manual, section 3 β€” mwah, go pop some materials responsibly, ily πŸ©·πŸ’€βœ¨