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

A triangle drawn by the graphics engine. More...

#include <engine.h>

Public Attributes

VertexTex2 triangle [3]
 Triangle vertices. More...
 
Material material
 Material. More...
 
int state = ENG_RSTATE_NORMAL
 Render state. More...
 
std::string tex1Name
 1st texture More...
 
std::string tex2Name
 2nd texture More...
 

Detailed Description

A triangle drawn by the graphics engine.

Member Data Documentation

VertexTex2 Gfx::EngineTriangle::triangle[3]

Triangle vertices.

Material Gfx::EngineTriangle::material
int Gfx::EngineTriangle::state = ENG_RSTATE_NORMAL

Render state.

std::string Gfx::EngineTriangle::tex1Name

1st texture

std::string Gfx::EngineTriangle::tex2Name

2nd texture


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