Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GFXMaterial Struct Reference

#include <gfxlib_struct.h>

Public Attributes

float ar
 ambient rgba, if you don't like these things, ask me to rename them More...
 
float ag
 
float ab
 
float aa
 
float dr
 diffuse rgba More...
 
float dg
 
float db
 
float da
 
float sr
 specular rgba More...
 
float sg
 
float sb
 
float sa
 
float er
 emissive rgba More...
 
float eg
 
float eb
 
float ea
 
float power
 specular power More...
 

Detailed Description

Stores the Draw Context that a vertex list might be drawn with. Especially useful for mass queued drawing (load matrix, draw... ) holds all parameters for materials

Definition at line 674 of file gfxlib_struct.h.

Member Data Documentation

float GFXMaterial::ar

ambient rgba, if you don't like these things, ask me to rename them

Definition at line 677 of file gfxlib_struct.h.

Referenced by GamePlanet::AddCity(), NetBuffer::addGFXMaterial(), NetBuffer::getGFXMaterial(), Mesh::LoadMeshes(), SetFogMaterialColor(), and GameUniverse::StartGFX().


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