s3d_push_textures(3)

push many textures

Section 3 s3d-doc bookworm source

Description

S3D_PUSH_TEXTURES

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