#include <pointlight.h>
◆ PointLight() [1/2]
Pixel::PointLight::PointLight |
( |
float * | pLightPosition, |
|
|
const Attribute & | attribute ) |
PointLight.
- Parameters
-
mix | using linear interpolation as opposed to factoring. Note that factoring in the light will create the appearance of self-shadowing. |
◆ PointLight() [2/2]
Pixel::PointLight::PointLight |
( |
Raster::Light * | pLight, |
|
|
const Attribute & | attribute ) |
PointLight.
- Parameters
-
mix | using linear interpolation as opposed to factoring. Note that factoring in the light will create the appearance of self-shadowing. |
◆ ~PointLight()
virtual Pixel::PointLight::~PointLight |
( |
| ) |
|
|
virtual |
◆ addShaderCode()
virtual void Pixel::PointLight::addShaderCode |
( |
Material * | pMaterial | ) |
|
|
virtual |
◆ addShaderResources()
virtual void Pixel::PointLight::addShaderResources |
( |
Material * | pMaterial | ) |
|
|
virtual |
◆ create()
virtual void Pixel::PointLight::create |
( |
Material * | pMaterial | ) |
|
|
virtual |
◆ setLight()
void Pixel::PointLight::setLight |
( |
Raster::Light * | pObject | ) |
|
◆ update()
virtual void Pixel::PointLight::update |
( |
Material * | pMaterial | ) |
|
|
virtual |
◆ pNormalMatrix
Pointer to component containing the normal-matrix. Normal2D will only allocate if does not exist.
◆ pNormalVertex
Pointer to component containing the normal-attribute array. Normal2D will only allocate if does not exist.
The documentation for this class was generated from the following file: