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

Public Member Functions

 CMaterial (CGLContext &context)
 
virtual void SetAmbient (cpu_vec_xyzw ambient)=0
 
virtual void SetDiffuse (cpu_vec_xyzw diffuse)=0
 
virtual void SetSpecular (cpu_vec_xyzw specular)=0
 
virtual void SetEmission (cpu_vec_xyzw emission)=0
 
virtual void SetShininess (float shine)=0
 

Protected Attributes

CGLContextGLContext
 

Detailed Description

Definition at line 21 of file material.h.

Constructor & Destructor Documentation

◆ CMaterial()

CMaterial::CMaterial ( CGLContext context)
inline

Definition at line 26 of file material.h.

Field Documentation

◆ GLContext

CGLContext& CMaterial::GLContext
protected

Definition at line 23 of file material.h.


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