---
name: "V3D"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/V3D"
---

# V3D(3alleg)

Fixed point vertex structure used by 3d functions. Allegro game programming library.

## NAME

V3D - Fixed point vertex structure used by 3d functions. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**typedef struct V3D**

## DESCRIPTION

```
   fixed x, y, z;       - position
   fixed u, v;          - texture map coordinates
   int c;               - color
```

A vertex structure used by polygon3d and other polygon rendering functions. Read the description of polygon3d() for a description on how to obtain/use this structure.

## SEE ALSO

[**V3D\_f**(3alleg)](/V3D_f/3alleg.md), [**polygon3d**(3alleg)](/polygon3d/3alleg.md), [**ex3d**(3alleg)](/ex3d/3alleg.md)
