Dreambox C/C++ SDK v1.0.0
C/C++ SDK for creating Dreambox games
Loading...
Searching...
No Matches
vdp_Vertex Struct Reference

A vertex which can be passed to vdp_drawGeometry. More...

#include <db_vdp.h>

Data Fields

Vec4 position
 The position of the vertex. More...
 
Vec4 color
 The vertex color (multiplied with currently bound texture) More...
 
Vec4 ocolor
 The vertex offset color (added to color * texture) More...
 
Vec4 texcoord
 The texture coordinate used to sample the currently bound texture. More...
 

Detailed Description

A vertex which can be passed to vdp_drawGeometry.

Definition at line 75 of file db_vdp.h.

Field Documentation

◆ color

Vec4 color

The vertex color (multiplied with currently bound texture)

Definition at line 81 of file db_vdp.h.

◆ ocolor

Vec4 ocolor

The vertex offset color (added to color * texture)

Definition at line 84 of file db_vdp.h.

◆ position

Vec4 position

The position of the vertex.

Definition at line 78 of file db_vdp.h.

◆ texcoord

Vec4 texcoord

The texture coordinate used to sample the currently bound texture.

Definition at line 87 of file db_vdp.h.


The documentation for this struct was generated from the following file: