DOKK / manpages / debian 11 / s3d-doc / s3d_push_textures.3.en
S3D_PUSH_TEXTURES(3) s3d Manual S3D_PUSH_TEXTURES(3)

s3d_push_textures - push many textures

#include <s3d.h>

int s3d_push_textures(int object, const uint16_t *tbuf, uint16_t n);

As for vertices, you can push arrays of textures on the texture stack to have greater performance. The tbuf should contain n texture sizes which consist of 2 uint16_t values for width and height for each texture.

Simon Wunderlich

Author of s3d
s3d