DOKK / manpages / debian 12 / s3d-doc / s3d_push_material_a.3.en
S3D_PUSH_MATERIAL_A(3) s3d Manual S3D_PUSH_MATERIAL_A(3)

s3d_push_material_a - push material with alpha

#include <s3d.h>

int s3d_push_material_a(int object, float amb_r, float amb_g, float amb_b, float amb_a, float spec_r, float spec_g, float spec_b, float spec_a, float diff_r, float diff_g, float diff_b, float diff_a);

Same as s3d_push_material, but color has alpha value added. Use s3d_push_materials_a() if you have a lot of materials to push.

Simon Wunderlich

Author of s3d
s3d