Scroll to navigation

S3D_PUSH_TEXTURES(3) s3d Manual S3D_PUSH_TEXTURES(3)

NAME

s3d_push_textures - push many textures

SYNOPSIS

#include <s3d.h>

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

DESCRIPTION

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.

AUTHOR

Simon Wunderlich

Author of s3d
s3d