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 πΈ
π¦ where this page comes from
- debian bookworm: s3d-doc 0.2.2.1-5 Β· GPL-2.0-or-later
- debian trixie: s3d-doc 0.2.2.1-7 Β· GPL-2.0-or-later
- ubuntu jammy: s3d-doc 0.2.2.1-3build1 Β· GPL-2.0-or-later
- ubuntu noble: s3d-doc 0.2.2.1-6build3 Β· GPL-2.0-or-later
- ubuntu questing: s3d-doc 0.2.2.1-7build1
- ubuntu resolute: s3d-doc 0.2.2.1-7build3 Β· GPL-2.0-or-later
- ubuntu stonking: s3d-doc 0.2.3-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms