Definition at line 56 of file lighting.h.
◆ CImmLight()
CImmLight::CImmLight |
( |
CGLContext & |
context, |
|
|
int |
lightNum |
|
) |
| |
◆ TellRendererLightPropChanged()
void CImmLight::TellRendererLightPropChanged |
( |
| ) |
|
|
inlineprivate |
◆ CheckTypeChange()
void CImmLight::CheckTypeChange |
( |
tLightType |
oldType | ) |
|
|
private |
◆ SetAmbient()
void CImmLight::SetAmbient |
( |
cpu_vec_xyzw |
ambient | ) |
|
|
inlinevirtual |
◆ SetDiffuse()
void CImmLight::SetDiffuse |
( |
cpu_vec_xyzw |
diffuse | ) |
|
|
inlinevirtual |
◆ SetSpecular()
void CImmLight::SetSpecular |
( |
cpu_vec_xyzw |
specular | ) |
|
|
virtual |
◆ SetPosition()
void CImmLight::SetPosition |
( |
cpu_vec_xyzw |
position | ) |
|
|
virtual |
◆ SetDirection()
void CImmLight::SetDirection |
( |
cpu_vec_xyzw |
direction | ) |
|
|
virtual |
◆ SetSpotDirection()
void CImmLight::SetSpotDirection |
( |
cpu_vec_xyzw |
dir | ) |
|
|
inlinevirtual |
◆ SetSpotCutoff()
void CImmLight::SetSpotCutoff |
( |
float |
cutoff | ) |
|
|
inlinevirtual |
◆ SetSpotExponent()
void CImmLight::SetSpotExponent |
( |
float |
exp | ) |
|
|
inlinevirtual |
◆ SetConstantAtten()
void CImmLight::SetConstantAtten |
( |
float |
atten | ) |
|
|
inlinevirtual |
◆ SetLinearAtten()
void CImmLight::SetLinearAtten |
( |
float |
atten | ) |
|
|
inlinevirtual |
◆ SetQuadAtten()
void CImmLight::SetQuadAtten |
( |
float |
atten | ) |
|
|
inlinevirtual |
◆ SetEnabled()
void CImmLight::SetEnabled |
( |
bool |
enabled | ) |
|
|
virtual |
◆ GetAmbient()
cpu_vec_xyzw CImmLight::GetAmbient |
( |
| ) |
const |
|
inline |
◆ GetDiffuse()
cpu_vec_xyzw CImmLight::GetDiffuse |
( |
| ) |
const |
|
inline |
◆ GetSpecular()
cpu_vec_xyzw CImmLight::GetSpecular |
( |
| ) |
const |
|
inline |
◆ GetPosition()
cpu_vec_xyzw CImmLight::GetPosition |
( |
| ) |
const |
|
inline |
◆ GetSpotDir()
cpu_vec_xyzw CImmLight::GetSpotDir |
( |
| ) |
const |
|
inline |
◆ GetSpotCutoff()
float CImmLight::GetSpotCutoff |
( |
| ) |
const |
|
inline |
◆ GetSpotExponent()
float CImmLight::GetSpotExponent |
( |
| ) |
const |
|
inline |
◆ GetConstantAtten()
float CImmLight::GetConstantAtten |
( |
| ) |
const |
|
inline |
◆ GetLinearAtten()
float CImmLight::GetLinearAtten |
( |
| ) |
const |
|
inline |
◆ GetQuadAtten()
float CImmLight::GetQuadAtten |
( |
| ) |
const |
|
inline |
◆ IsEnabled()
bool CImmLight::IsEnabled |
( |
| ) |
const |
|
inline |
◆ IsDirectional()
bool CImmLight::IsDirectional |
( |
| ) |
const |
|
inline |
◆ IsPoint()
bool CImmLight::IsPoint |
( |
| ) |
const |
|
inline |
◆ IsSpot()
bool CImmLight::IsSpot |
( |
| ) |
const |
|
inline |
◆ Ambient
cpu_vec_xyzw CImmLight::Ambient |
|
private |
◆ Diffuse
cpu_vec_xyzw CImmLight::Diffuse |
|
private |
◆ Specular
cpu_vec_xyzw CImmLight::Specular |
|
private |
◆ Position
cpu_vec_xyzw CImmLight::Position |
|
private |
◆ SpotDirection
cpu_vec_xyzw CImmLight::SpotDirection |
|
private |
◆ SpotCutoff
float CImmLight::SpotCutoff |
|
private |
◆ SpotExponent
float CImmLight::SpotExponent |
|
private |
◆ ConstantAtten
float CImmLight::ConstantAtten |
|
private |
◆ LinearAtten
float CImmLight::LinearAtten |
|
private |
◆ QuadAtten
float CImmLight::QuadAtten |
|
private |
◆ bIsEnabled
bool CImmLight::bIsEnabled |
|
private |
◆ Type
tLightType CImmLight::Type |
|
private |
◆ NumLights
int CImmLight::NumLights = { 0, 0, 0 } |
|
staticprivate |
The documentation for this class was generated from the following files: