DOKK / manpages / debian 11 / s3d-doc / s3d_pep_material_texture.3.en
S3D_PEP_MATERIAL_TEX(3) s3d Manual S3D_PEP_MATERIAL_TEX(3)

s3d_pep_material_texture - 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

Author of s3d
s3d