Colobot
Public Attributes | List of all members
Gfx::VertexFormat Struct Reference

Vertex format. More...

#include <src/graphics/core/vertex.h>

Public Attributes

VertexAttribute vertex {}
 Vertex coordinate. More...
 
VertexAttribute color {}
 Color. More...
 
VertexAttribute normal {}
 Normal. More...
 
VertexAttribute tex1 {}
 Texture coordinate 1. More...
 
VertexAttribute tex2 {}
 Texture coordinate 2. More...
 

Detailed Description

Vertex format.

This structure defines vertex formats for generic vertex arrays.

It contains:

Member Data Documentation

◆ vertex

VertexAttribute Gfx::VertexFormat::vertex {}

Vertex coordinate.

◆ color

VertexAttribute Gfx::VertexFormat::color {}

◆ normal

VertexAttribute Gfx::VertexFormat::normal {}

Normal.

◆ tex1

VertexAttribute Gfx::VertexFormat::tex1 {}

Texture coordinate 1.

◆ tex2

VertexAttribute Gfx::VertexFormat::tex2 {}

Texture coordinate 2.


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