Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    LightDirectionalShadowMapRenderer.ShaderData Class

    Namespace: Stride.Rendering.Shadows
    Assembly: Stride.Rendering.dll
    System.Object → LightDirectionalShadowMapRenderer.ShaderData
    Derived from LightDirectionalShadowMapRenderer.ShaderData:

    public class ShaderData : ILightShadowMapShaderData
    Name Description
    Constructors
    ShaderData(Int32)
    Fields
    CascadeSplits
    DepthBias
    DepthRange
    OffsetScale
    ProjectionMatrix
    Texture
    TextureCoords
    ViewMatrix
    WorldToShadowCascadeUV
    | Improve this Doc View Source

    Constructors


    ShaderData(Int32)

    public ShaderData(int cascadeCount)
    Parameters
    Type Name Description
    System.Int32 cascadeCount
    | Improve this Doc View Source

    Fields


    CascadeSplits

    public readonly float[] CascadeSplits
    Field Value
    Type Description
    System.Single[]

    DepthBias

    public float DepthBias
    Field Value
    Type Description
    System.Single

    DepthRange

    public readonly Vector2[] DepthRange
    Field Value
    Type Description
    Vector2[]

    OffsetScale

    public float OffsetScale
    Field Value
    Type Description
    System.Single

    ProjectionMatrix

    public readonly Matrix[] ProjectionMatrix
    Field Value
    Type Description
    Matrix[]

    Texture

    public Texture Texture
    Field Value
    Type Description
    Texture

    TextureCoords

    public readonly Vector4[] TextureCoords
    Field Value
    Type Description
    Vector4[]

    ViewMatrix

    public readonly Matrix[] ViewMatrix
    Field Value
    Type Description
    Matrix[]

    WorldToShadowCascadeUV

    public readonly Matrix[] WorldToShadowCascadeUV
    Field Value
    Type Description
    Matrix[]

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation