s3d_pep_material_texture
add texture to material
- Provided by: s3d-doc (Version: 0.2.2.1-6build3)
- Source: s3d
- Report a bug
add texture to material
#include <s3d.h>
int s3d_pep_material_texture(int object, uint32_t tex);
Assign the latest material a texture referenced by the index tex. Of course, you will have pushed this texture with s3d_push_texture()
Simon Wunderlich