Toast Engine
Loading...
Searching...
No Matches
light.hpp File Reference

Base light node; registers with the renderer so it can be collected into the per-frame light list. More...

#include "node_3d.hpp"
#include <toast/export.hpp>
Include dependency graph for light.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  toast::Light

Enumerations

enum class  toast::LightType : uint8_t {
  none , point , directional , spot ,
  ambient
}
 Concrete light kind, tagged once by each subclass's constructor - not RTTI, not reflected.

Detailed Description

Base light node; registers with the renderer so it can be collected into the per-frame light list.

Author
Xein
Date
22 Jun 2026