Struct DirectionalLightStruct
Struct with aligned data for sending a directional light to the shader.
Inherited Members
Namespace: Evergine.Common.Graphics
Assembly: Evergine.Common.dll
Syntax
public struct DirectionalLightStruct
Fields
Color
Light diffuse color.
Declaration
public Vector3 Color
Field Value
Type | Description |
---|---|
Vector3 |
Direction
Light direction.
Declaration
public Vector3 Direction
Field Value
Type | Description |
---|---|
Vector3 |