---
name: "s3d_push_textures"
section: "3"
platform: "linux"
package: "s3d-doc"
version: "0.2.2.1-7"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/s3d_push_textures"
---

# s3d\_push\_textures(3)

push many 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
