#include <TRenderContext.h>
Definition at line 14 of file TRenderContext.h.
◆ Add()
void TLightIDList::Add |
( |
TLightID | a_iLightId | ) |
|
Definition at line 374 of file TRenderContext.cpp.
375{
376 for (
TINT i = 0; i < 4; i++ )
377 {
378 if (
aIDs[ i ] == -1 )
379 {
380 aIDs[ i ] = a_iLightId;
381 return;
382 }
383 }
384}
TLightID aIDs[MAX_NUM_LIGHTS]
◆ operator[]()
Definition at line 394 of file TRenderContext.cpp.
395{
397 return aIDs[ a_iIndex ];
398}
static constexpr TINT MAX_NUM_LIGHTS
◆ Reset()
void TLightIDList::Reset |
( |
| ) |
|
◆ aIDs
◆ MAX_NUM_LIGHTS
TINT TLightIDList::MAX_NUM_LIGHTS = 4 |
|
inlinestaticconstexpr |
The documentation for this struct was generated from the following files: