21 if (comp->_drawImpostor) {
23 descriptor.
root = comp->positionCache();
24 descriptor.
direction = comp->directionCache();
25 descriptor.
length = comp->range();
26 descriptor.
radius = comp->outerConeRadius();
#define PROFILE_SCOPE_AUTO(CATEGORY)
void PreUpdate(F32 dt) override
vector< SpotLightComponent * > _componentCache
void debugDrawCone(const I64 ID, IM::ConeDescriptor descriptor) noexcept
PlatformContext & context() noexcept
GFXDevice & gfx() noexcept
void PreUpdate(F32 dt) override
SpotLightSystem(ECS::ECSEngine &parentEngine, PlatformContext &context)
constexpr Optick::Category::Type Scene
UColour4 ToByteColour(const FColour4 &floatColour) noexcept
Handle console commands that start with a forward slash.