Query: s3d_push_materials_a
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
S3D_PUSH_MATERIALS_A(3) s3d Manual S3D_PUSH_MATERIALS_A(3)NAMEs3d_push_materials_a - push many materialsSYNOPSIS#include <s3d.h> int s3d_push_materials_a(int object, const float *mbuf, uint16_t n);DESCRIPTIONPushes a buffer of materials. Those materials are in the format float[n*12], with mbuf[n*12 + 0-3] - ambience mbuf[n*12 + 4-7] - specular mbuf[n *12 + 8-11] - diffusion values of each entry. n is the number of materials pushed. The values are in the order r,g,b,a. If you only want to push one material, use the more easy s3d_push_material_a() function. // each line has r,g,b,a value float bla[24]= {1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1}; s3d_push_materials_a(object, bla, 2); // push a red and a cyan materialAUTHORSimon Wunderlich Author of s3d s3d S3D_PUSH_MATERIALS_A(3)
Related Man Pages |
---|
m_tag_copy_chain(9) - netbsd |
m_tag_copy(9) - netbsd |
m_tag_find(9) - netbsd |
m_tag_free(9) - netbsd |
m_tag_init(9) - netbsd |
Similar Topics in the Unix Linux Community |
---|
awk or sed - Convert 2 lines to 1 line |
How can I do this in VI editor? |
Introduction |
One instance of comparing grep and awk |