Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    IShadowMapRenderer Interface

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

    Render shadow maps; should be set on ShadowMapRenderer.

    public interface IShadowMapRenderer
    Name Description
    Properties
    Renderers
    RenderSystem
    RenderViewsWithShadows
    Methods
    Collect(RenderContext, Dictionary<RenderView, ForwardLightingRenderFeature.RenderViewLightData>)
    Draw(RenderDrawContext)
    FindShadowMap(RenderView, RenderLight)
    Flush(RenderDrawContext)
    PrepareAtlasAsRenderTargets(CommandList)
    PrepareAtlasAsShaderResourceViews(CommandList)
    | Improve this Doc View Source

    Properties


    Renderers

    List<ILightShadowMapRenderer> Renderers { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<ILightShadowMapRenderer>

    RenderSystem

    RenderSystem RenderSystem { get; set; }
    Property Value
    Type Description
    RenderSystem

    RenderViewsWithShadows

    HashSet<RenderView> RenderViewsWithShadows { get; }
    Property Value
    Type Description
    System.Collections.Generic.HashSet<RenderView>
    | Improve this Doc View Source

    Methods


    Collect(RenderContext, Dictionary<RenderView, ForwardLightingRenderFeature.RenderViewLightData>)

    void Collect(RenderContext context, Dictionary<RenderView, ForwardLightingRenderFeature.RenderViewLightData> renderViewLightDatas)
    Parameters
    Type Name Description
    RenderContext context
    System.Collections.Generic.Dictionary<RenderView, ForwardLightingRenderFeature.RenderViewLightData> renderViewLightDatas

    Draw(RenderDrawContext)

    void Draw(RenderDrawContext drawContext)
    Parameters
    Type Name Description
    RenderDrawContext drawContext

    FindShadowMap(RenderView, RenderLight)

    LightShadowMapTexture FindShadowMap(RenderView renderView, RenderLight light)
    Parameters
    Type Name Description
    RenderView renderView
    RenderLight light
    Returns
    Type Description
    LightShadowMapTexture

    Flush(RenderDrawContext)

    void Flush(RenderDrawContext context)
    Parameters
    Type Name Description
    RenderDrawContext context

    PrepareAtlasAsRenderTargets(CommandList)

    void PrepareAtlasAsRenderTargets(CommandList commandList)
    Parameters
    Type Name Description
    CommandList commandList

    PrepareAtlasAsShaderResourceViews(CommandList)

    void PrepareAtlasAsShaderResourceViews(CommandList commandList)
    Parameters
    Type Name Description
    CommandList commandList

    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