PS2GL
OpenGL*-like API for the PS2
Loading...
Searching...
No Matches
CDListMaterial Class Reference
+ Inheritance diagram for CDListMaterial:
+ Collaboration diagram for CDListMaterial:

Public Member Functions

 CDListMaterial (CGLContext &context)
 
void SetAmbient (cpu_vec_xyzw ambient)
 
void SetDiffuse (cpu_vec_xyzw diffuse)
 
void SetSpecular (cpu_vec_xyzw specular)
 
void SetEmission (cpu_vec_xyzw emission)
 
void SetShininess (float shine)
 
- Public Member Functions inherited from CMaterial
 CMaterial (CGLContext &context)
 

Private Member Functions

void TellRendererMaterialChanged ()
 

Additional Inherited Members

- Protected Attributes inherited from CMaterial
CGLContextGLContext
 

Detailed Description

Definition at line 81 of file material.h.

Constructor & Destructor Documentation

◆ CDListMaterial()

CDListMaterial::CDListMaterial ( CGLContext context)
inline

Definition at line 88 of file material.h.

Member Function Documentation

◆ TellRendererMaterialChanged()

void CDListMaterial::TellRendererMaterialChanged ( )
inlineprivate

Definition at line 82 of file material.h.

◆ SetAmbient()

void CDListMaterial::SetAmbient ( cpu_vec_xyzw  ambient)
virtual

Implements CMaterial.

Definition at line 68 of file material.cpp.

◆ SetDiffuse()

void CDListMaterial::SetDiffuse ( cpu_vec_xyzw  diffuse)
virtual

Implements CMaterial.

Definition at line 75 of file material.cpp.

◆ SetSpecular()

void CDListMaterial::SetSpecular ( cpu_vec_xyzw  specular)
virtual

Implements CMaterial.

Definition at line 82 of file material.cpp.

◆ SetEmission()

void CDListMaterial::SetEmission ( cpu_vec_xyzw  emission)
virtual

Implements CMaterial.

Definition at line 90 of file material.cpp.

◆ SetShininess()

void CDListMaterial::SetShininess ( float  shine)
virtual

Implements CMaterial.

Definition at line 97 of file material.cpp.


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