|
| DirectionalLight (uint32_t light_index, const XboxMath::vector_t &direction) |
|
void | Commit (TestHost &host) const override |
| This must not be called for DirectionalLight instances.
|
|
void | Commit (TestHost &host, const XboxMath::vector_t &look_dir) const override |
|
uint32_t | light_enable_mask () const |
|
void | SetAmbient (const float *ambient) |
|
void | SetAmbient (float r, float g, float b) |
|
void | SetDiffuse (const float *diffuse) |
|
void | SetDiffuse (float r, float g, float b) |
|
void | SetSpecular (const float *specular) |
|
void | SetSpecular (float r, float g, float b) |
|
void | SetBackAmbient (const float *ambient) |
|
void | SetBackAmbient (float r, float g, float b) |
|
void | SetBackDiffuse (const float *diffuse) |
|
void | SetBackDiffuse (float r, float g, float b) |
|
void | SetBackSpecular (const float *specular) |
|
void | SetBackSpecular (float r, float g, float b) |
|
|
| Light (uint32_t light_index, uint32_t enable_mask) |
|
uint32_t | light_index_ |
|
uint32_t | light_enable_mask_ |
|
float | ambient_ [3] {0.f, 0.f, 0.f} |
|
float | diffuse_ [3] {1.f, 1.f, 1.f} |
|
float | specular_ [3] {0.f, 0.f, 0.f} |
|
float | back_ambient_ [3] {0.f, 0.f, 0.f} |
|
float | back_diffuse_ [3] {1.f, 1.f, 1.f} |
|
float | back_specular_ [3] {0.f, 0.f, 0.f} |
|
Sets up a directional light.