DOKK / manpages / debian 12 / s3d-doc / s3d_pep_materials_a.3.en
S3D_PEP_MATERIALS_A(3) s3d Manual S3D_PEP_MATERIALS_A(3)

s3d_pep_materials_a - rewrite materials with alpha

#include <s3d.h>

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

Alters the last n pushed materials. See s3d_push_materials_a() for more information how mbuf should look like. Use s3d_pep_material_a() if you only want to alter the latest material.

Simon Wunderlich

Author of s3d
s3d