Public Member Functions | Public Attributes
TomGine::tgMaterial Class Reference

Class tgMaterial. More...

#include <tgMaterial.h>

List of all members.

Public Member Functions

void Apply ()
void Color (float r, float g, float b, float a=1.0f)
void Random ()
 tgMaterial ()

Public Attributes

vec4 ambient
vec4 color
vec4 diffuse
float shininess
vec4 specular

Detailed Description

Class tgMaterial.

Definition at line 19 of file tgMaterial.h.


Constructor & Destructor Documentation

Definition at line 16 of file tgMaterial.cpp.


Member Function Documentation

Definition at line 24 of file tgMaterial.cpp.

void tgMaterial::Color ( float  r,
float  g,
float  b,
float  a = 1.0f 
)

Definition at line 32 of file tgMaterial.cpp.

Definition at line 40 of file tgMaterial.cpp.


Member Data Documentation

Definition at line 22 of file tgMaterial.h.

Definition at line 25 of file tgMaterial.h.

Definition at line 23 of file tgMaterial.h.

Definition at line 26 of file tgMaterial.h.

Definition at line 24 of file tgMaterial.h.


The documentation for this class was generated from the following files:


blort
Author(s): Thomas Mörwald , Michael Zillich , Andreas Richtsfeld , Johann Prankl , Markus Vincze , Bence Magyar
autogenerated on Wed Aug 26 2015 15:24:13