#include <lighting_spotlight_tests.h>
Public Member Functions | |
Spotlight (const XboxMath::vector_t &position, const XboxMath::vector_t &direction, float phi, float theta, float attenuation_1, float attenuation_2, float attenuation_3, float falloff_1, float falloff_2, float falloff_3) | |
void | Commit (uint32_t light_index, const XboxMath::matrix4_t &view_matrix) const |
Describes a spotlight. See https://learn.microsoft.com/en-us/windows/uwp/graphics-concepts/attenuation-and-spotlight-factor