---
name: "s3d_pep_materials_a"
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_pep_materials_a"
---

# s3d\_pep\_materials\_a(3)

rewrite materials with alpha

## NAME

s3d\_pep\_materials\_a - rewrite materials with alpha

## SYNOPSIS

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

**int s3d\_pep\_materials\_a(int** *object***, const float \****mbuf***, uint16\_t** *n***);**

## DESCRIPTION

Alters the last n pushed materials. See s3d\_push\_materials\_a() for more information how mbuf should look like. Use s3d\_pep\_material\_a() if you only want to alter the latest material.

## AUTHOR

**Simon Wunderlich**

Author of s3d
