Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    ILightShadowRenderer Interface

    Namespace: Stride.Rendering.Shadows
    Assembly: Stride.Rendering.dll

    Interface to render shadows

    public interface ILightShadowRenderer
    Name Description
    Methods
    CanRenderLight(IDirectLight)

    Test if this renderer can render this kind of light

    Reset(RenderContext)

    Reset the state of this instance before calling Render method multiple times for different shadow map textures. See remarks.

    | Improve this Doc View Source

    Methods


    CanRenderLight(IDirectLight)

    Test if this renderer can render this kind of light

    bool CanRenderLight(IDirectLight light)
    Parameters
    Type Name Description
    IDirectLight light
    Returns
    Type Description
    System.Boolean

    Reset(RenderContext)

    Reset the state of this instance before calling Render method multiple times for different shadow map textures. See remarks.

    void Reset(RenderContext context)
    Parameters
    Type Name Description
    RenderContext context
    Remarks

    This method allows the implementation to prepare some internal states before being rendered.


    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