Raven Engine v0.1
A modern 3D Game Engine
Loading...
Searching...
No Matches
Raven::GPUSpotLight Struct Reference

GPU-side spot light descriptor (reserved for post-v0.1 implementation). More...

#include <LightEnvironment.h>

Public Attributes

Crux::vec3 Position
 World-space position of the light.
float Range
 Effective radius (metres).
Crux::vec3 Direction
 Normalised world-space direction.
float InnerConeAngle
 Inner cone half-angle (radians).
Crux::vec3 Color
 Linear RGB colour.
float OuterConeAngle
 Outer cone half-angle (radians).
float Intensity
 Scalar intensity factor.
float _pad [3]

Detailed Description

GPU-side spot light descriptor (reserved for post-v0.1 implementation).

Note
Spotlights are not yet wired into the render pipeline.

Member Data Documentation

◆ _pad

float Raven::GPUSpotLight::_pad[3]

◆ Color

Crux::vec3 Raven::GPUSpotLight::Color

Linear RGB colour.

◆ Direction

Crux::vec3 Raven::GPUSpotLight::Direction

Normalised world-space direction.

◆ InnerConeAngle

float Raven::GPUSpotLight::InnerConeAngle

Inner cone half-angle (radians).

◆ Intensity

float Raven::GPUSpotLight::Intensity

Scalar intensity factor.

◆ OuterConeAngle

float Raven::GPUSpotLight::OuterConeAngle

Outer cone half-angle (radians).

◆ Position

Crux::vec3 Raven::GPUSpotLight::Position

World-space position of the light.

◆ Range

float Raven::GPUSpotLight::Range

Effective radius (metres).


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