Search Results for

    Show / Hide Table of Contents

    Struct ForwardLightStruct

    Struct containing aligned data for sending a light to the shader.

    Namespace: Evergine.Framework.Graphics
    Assembly: Evergine.Framework.dll
    Syntax
    public struct ForwardLightStruct

    Fields

    Color

    The color.

    Declaration
    public Vector3 Color
    Field Value
    Type Description
    Vector3

    DebugMode

    Enables debug mode; 0 for false and 1 for true.

    Declaration
    public int DebugMode
    Field Value
    Type Description
    int

    Direction

    Light diffuse color.

    Declaration
    public Vector3 Direction
    Field Value
    Type Description
    Vector3

    Extra

    Additional information.

    Declaration
    public Vector4 Extra
    Field Value
    Type Description
    Vector4

    Falloff

    Light falloff (1 / falloff^2).

    Declaration
    public float Falloff
    Field Value
    Type Description
    float

    Intensity

    The intensity of the light.

    Declaration
    public float Intensity
    Field Value
    Type Description
    float

    Left

    Gets the left light vector.

    Declaration
    public Vector3 Left
    Field Value
    Type Description
    Vector3

    LightType

    Gets the light type.

    Declaration
    public LightType LightType
    Field Value
    Type Description
    LightType

    Position

    Light's position.

    Declaration
    public Vector3 Position
    Field Value
    Type Description
    Vector3

    Radius

    Gets the light radius.

    Declaration
    public float Radius
    Field Value
    Type Description
    float

    Scale

    The scaling data.

    Declaration
    public Vector2 Scale
    Field Value
    Type Description
    Vector2

    ShadowBias

    The shadow map bias.

    Declaration
    public float ShadowBias
    Field Value
    Type Description
    float

    ShadowMapIndex

    Index of the shadow map.

    Declaration
    public int ShadowMapIndex
    Field Value
    Type Description
    int

    ShadowMapResolution

    The resolution of the shadow map.

    Declaration
    public int ShadowMapResolution
    Field Value
    Type Description
    int

    ShadowOpacity

    Shadow opacity in the range of 0.0 - 1.0.

    Declaration
    public float ShadowOpacity
    Field Value
    Type Description
    float

    ShadowProjectionIndex

    The index of the shadow projection array.

    Declaration
    public int ShadowProjectionIndex
    Field Value
    Type Description
    int

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX