OpenStructure
Public Member Functions
Material Class Reference

#include <material.hh>

Public Member Functions

 Material ()
 
 Material (const Color &amb, const Color &diff, const Color &spec, float shin, const Color &emm)
 
 Material (float amb, float diff, float spec, float shin, float emm)
 
void SetAmb (const Color &c)
 
void SetAmb (float c)
 
void SetDiff (const Color &c)
 
void SetDiff (float c)
 
void SetSpec (const Color &c)
 
void SetSpec (float c)
 
void SetShin (float s)
 
void SetEmm (const Color &c)
 
void SetEmm (float c)
 
void RenderGL ()
 

Detailed Description

Definition at line 26 of file material.hh.

Constructor & Destructor Documentation

◆ Material() [1/3]

Material ( )

◆ Material() [2/3]

Material ( const Color amb,
const Color diff,
const Color spec,
float  shin,
const Color emm 
)

◆ Material() [3/3]

Material ( float  amb,
float  diff,
float  spec,
float  shin,
float  emm 
)

Member Function Documentation

◆ RenderGL()

void RenderGL ( )

◆ SetAmb() [1/2]

void SetAmb ( const Color c)

◆ SetAmb() [2/2]

void SetAmb ( float  c)

◆ SetDiff() [1/2]

void SetDiff ( const Color c)

◆ SetDiff() [2/2]

void SetDiff ( float  c)

◆ SetEmm() [1/2]

void SetEmm ( const Color c)

◆ SetEmm() [2/2]

void SetEmm ( float  c)

◆ SetShin()

void SetShin ( float  s)

◆ SetSpec() [1/2]

void SetSpec ( const Color c)

◆ SetSpec() [2/2]

void SetSpec ( float  c)

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