Nebula
Loading...
Searching...
No Matches
Lighting::LightContext::SpotLightSetupInfo Struct Reference

#include <lightcontext.h>

Public Attributes

Math::vec3 color = Math::vec3(1)
float intensity = 1.0f
float innerConeAngle = 30_rad
float outerConeAngle = 45_rad
float range = 10.0f
Graphics::StageMask stageMask = 0xFFFF
bool castShadows = false
CoreGraphics::TextureId projection = CoreGraphics::InvalidTextureId

Member Data Documentation

◆ castShadows

bool Lighting::LightContext::SpotLightSetupInfo::castShadows = false

◆ color

Math::vec3 Lighting::LightContext::SpotLightSetupInfo::color = Math::vec3(1)

◆ innerConeAngle

float Lighting::LightContext::SpotLightSetupInfo::innerConeAngle = 30_rad

◆ intensity

float Lighting::LightContext::SpotLightSetupInfo::intensity = 1.0f

◆ outerConeAngle

float Lighting::LightContext::SpotLightSetupInfo::outerConeAngle = 45_rad

◆ projection

CoreGraphics::TextureId Lighting::LightContext::SpotLightSetupInfo::projection = CoreGraphics::InvalidTextureId

◆ range

float Lighting::LightContext::SpotLightSetupInfo::range = 10.0f

◆ stageMask

Graphics::StageMask Lighting::LightContext::SpotLightSetupInfo::stageMask = 0xFFFF

The documentation for this struct was generated from the following file: