---
name: "s3d_load_polygon_tex_coords"
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_load_polygon_tex_coords"
---

# s3d\_load\_polygon\_tex\_coords(3)

add texture coordinates to polygons

## NAME

s3d\_load\_polygon\_tex\_coords - add texture coordinates to polygons

## SYNOPSIS

```
#include <s3d.h>
```

**int s3d\_load\_polygon\_tex\_coords(int** *object***, const float \****tbuf***, uint32\_t** *start***, uint16\_t** *n***);**

## DESCRIPTION

Just as s3d\_pep\_polygon\_tex\_coords(), with the difference you won't alter the latest n polygons but n polygons starting with index start.

## AUTHOR

**Simon Wunderlich**

Author of s3d
