Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
Divide::LightPool::LightProperties Struct Reference

#include <LightPool.h>

Public Attributes

FColour4 _diffuse = { DefaultColours::WHITE.rgb, 0.0f }
 
vec4< F32_position = { 0.0f, 0.0f, 0.0f, 0.0f }
 
vec4< F32_direction = { 0.0f, 0.0f, 0.0f, 45.0f }
 
vec4< I32_options = { 3, -1, 0, 0 }
 

Detailed Description

Definition at line 61 of file LightPool.h.

Member Data Documentation

◆ _diffuse

FColour4 Divide::LightPool::LightProperties::_diffuse = { DefaultColours::WHITE.rgb, 0.0f }

rgb = diffuse w = cosOuterConeAngle;

Definition at line 64 of file LightPool.h.

◆ _direction

vec4<F32> Divide::LightPool::LightProperties::_direction = { 0.0f, 0.0f, 0.0f, 45.0f }

xyz = light direction (spot and directional lights only. (0,0,0) for point) w = spot angle

Definition at line 70 of file LightPool.h.

◆ _options

vec4<I32> Divide::LightPool::LightProperties::_options = { 3, -1, 0, 0 }

x = light type: 0 - directional, 1 - point, 2 - spot, 3 - none y = shadow index (-1 = no shadows) z = reserved w = reserved

Definition at line 75 of file LightPool.h.

◆ _position

vec4<F32> Divide::LightPool::LightProperties::_position = { 0.0f, 0.0f, 0.0f, 0.0f }

light position ((0,0,0) for directional lights) w = range

Definition at line 67 of file LightPool.h.


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