S3D_PEP_MATERIALS_A(3)

πŸ’– S3D_PEP_MATERIALS_A πŸ’–

okay bestie, welcome to the s3d manual, section 3 β€” this one's all about s3d_pep_materials_a, and it's lowkey iconic. pull up a chair, we're doing materials today πŸŽ€


✨ NAME ✨

s3d_pep_materials_a β€” rewrite materials with alpha


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <s3d.h>

int s3d_pep_materials_a(int object, const float *mbuf, uint16_t n);

🌸 DESCRIPTION 🌸

so here's the vibe: this function alters the last n pushed materials. that's it. that's the whole job. she's a glow-up editor for the materials you already pushed, not a fresh-start kinda girl πŸ’…

need to know what mbuf is supposed to look like? go read s3d_push_materials_a() β€” she's the one who explains the format, no cap. fr fr, check her first.

and if you're only trying to change the latest material and not a whole stack of them? then you want s3d_pep_material_a() instead (notice: singular, she's the main character of one material only πŸ‘‘). this function is for when you've got a whole little squad of materials to update.


🌈 AUTHOR 🌈

Simon Wunderlich β€” Author of s3d 🫢


and that's the whole page, bestie!! thanks for reading, mwah πŸ’–

s3d Β· S3D_PEP_MATERIALS_A(3) β€” that's the source and the section, periodt ✨ go forth and alpha-blend responsibly 🌸