resonance 1.0.1
Loading...
Searching...
No Matches
Rnd::DirectionalLightRecord Struct Reference

One directional light as the vertex lighting path consumes it. More...

#include <psenviron.h>

Collaboration diagram for Rnd::DirectionalLightRecord:

Public Attributes

Vector3 mDirection
Vector3 mTransformedDirection
 mDirection in the space of the transform TransformLightRecords() last took.
Color mAmbient
Color mDiffuse

Detailed Description

One directional light as the vertex lighting path consumes it.

The record is not polymorphic and does not emit an RTTI descriptor. The name is inferred. PsEnviron::DrawShowing() fills every member except mTransformedDirection.

Member Data Documentation

◆ mDirection

Vector3 Rnd::DirectionalLightRecord::mDirection

Negated second row of the light's world transform.

◆ mTransformedDirection

Vector3 Rnd::DirectionalLightRecord::mTransformedDirection

mDirection in the space of the transform TransformLightRecords() last took.

+0x10

◆ mAmbient

Color Rnd::DirectionalLightRecord::mAmbient

Copied from Rnd::Light::mAmbient.

◆ mDiffuse

Color Rnd::DirectionalLightRecord::mDiffuse

Copied from Rnd::Light::mDiffuse.


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