CL_Material_GL1 Class Reference
[clanGL1 Display]

Material description. More...

#include <material.h>

List of all members.

Public Member Functions

 CL_Material_GL1 ()
 Constructs a material.*/.
 ~CL_Material_GL1 ()
CL_Colorf get_ambient () const
 Returns the ambient intensity of the material.
CL_Colorf get_diffuse () const
 Returns the diffuse (spread over wide area) intensity of the material.
CL_Colorf get_specular () const
 Returns the specular (mirror reflective) intensity of the material.
CL_Colorf get_emission () const
 Returns the emission of the material.
float get_shininess () const
 Returns the shininess of the material.
void set_ambient (const CL_Colorf &color)
 Set the ambient intensity of the material.
void set_diffuse (const CL_Colorf &color)
 Set the diffuse (spread over wide area) intensity of the material.
void set_specular (const CL_Colorf &color)
 Set the specular (mirror reflective) intensity of the material.
void set_ambient_and_diffuse (const CL_Colorf &color)
 Set the combined ambient and diffuse intensity of the material.
void set_emission (const CL_Colorf &color)
 Set the emission of the material.
void set_shininess (float value)
 Set the shininess of the material.


Detailed Description

Material description.


Constructor & Destructor Documentation

CL_Material_GL1::CL_Material_GL1  ) 
 

Constructs a material.*/.

CL_Material_GL1::~CL_Material_GL1  ) 
 


Member Function Documentation

CL_Colorf CL_Material_GL1::get_ambient  )  const
 

Returns the ambient intensity of the material.

CL_Colorf CL_Material_GL1::get_diffuse  )  const
 

Returns the diffuse (spread over wide area) intensity of the material.

CL_Colorf CL_Material_GL1::get_emission  )  const
 

Returns the emission of the material.

float CL_Material_GL1::get_shininess  )  const
 

Returns the shininess of the material.

CL_Colorf CL_Material_GL1::get_specular  )  const
 

Returns the specular (mirror reflective) intensity of the material.

void CL_Material_GL1::set_ambient const CL_Colorf color  ) 
 

Set the ambient intensity of the material.

void CL_Material_GL1::set_ambient_and_diffuse const CL_Colorf color  ) 
 

Set the combined ambient and diffuse intensity of the material.

void CL_Material_GL1::set_diffuse const CL_Colorf color  ) 
 

Set the diffuse (spread over wide area) intensity of the material.

void CL_Material_GL1::set_emission const CL_Colorf color  ) 
 

Set the emission of the material.

void CL_Material_GL1::set_shininess float  value  ) 
 

Set the shininess of the material.

void CL_Material_GL1::set_specular const CL_Colorf color  ) 
 

Set the specular (mirror reflective) intensity of the material.


The documentation for this class was generated from the following file:
Generated on Thu Dec 3 02:39:39 2009 for ClanLib by  doxygen 1.4.6