---
name: "s3d_push_material_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_push_material_a"
---

# s3d\_push\_material\_a(3)

push material with alpha

## NAME

s3d\_push\_material\_a - push material with alpha

## SYNOPSIS

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

**int s3d\_push\_material\_a(int** *object***, float** *amb\_r***, float** *amb\_g***, float** *amb\_b***, float** *amb\_a***, float** *spec\_r***, float** *spec\_g***, float** *spec\_b***, float** *spec\_a***, float** *diff\_r***, float** *diff\_g***, float** *diff\_b***, float** *diff\_a***);**

## DESCRIPTION

Same as s3d\_push\_material, but color has alpha value added. Use s3d\_push\_materials\_a() if you have a lot of materials to push.

## AUTHOR

**Simon Wunderlich**

Author of s3d
