table of contents
S3D_PUSH_MATERIAL_A(3) | s3d Manual | S3D_PUSH_MATERIAL_A(3) |
NAME¶
s3d_push_material_a - push material with alpha
SYNOPSIS¶
#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);
DESCRIPTION¶
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.
AUTHOR¶
Simon Wunderlich
Author of s3d
s3d |