Table of Contents

Interface IShadowMapRenderer

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

Render shadow maps; should be set on ShadowMapRenderer.

public interface IShadowMapRenderer

Properties

RenderSystem

RenderSystem RenderSystem { get; set; }

Property Value

RenderSystem

RenderViewsWithShadows

HashSet<RenderView> RenderViewsWithShadows { get; }

Property Value

HashSet<RenderView>

Renderers

List<ILightShadowMapRenderer> Renderers { get; }

Property Value

List<ILightShadowMapRenderer>

Methods

Collect(RenderContext, Dictionary<RenderView, RenderViewLightData>)

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

Parameters

context RenderContext
renderViewLightDatas Dictionary<RenderView, ForwardLightingRenderFeature.RenderViewLightData>

Draw(RenderDrawContext)

void Draw(RenderDrawContext drawContext)

Parameters

drawContext RenderDrawContext

FindShadowMap(RenderView, RenderLight)

LightShadowMapTexture FindShadowMap(RenderView renderView, RenderLight light)

Parameters

renderView RenderView
light RenderLight

Returns

LightShadowMapTexture

Flush(RenderDrawContext)

void Flush(RenderDrawContext context)

Parameters

context RenderDrawContext

PrepareAtlasAsRenderTargets(CommandList)

void PrepareAtlasAsRenderTargets(CommandList commandList)

Parameters

commandList CommandList

PrepareAtlasAsShaderResourceViews(CommandList)

void PrepareAtlasAsShaderResourceViews(CommandList commandList)

Parameters

commandList CommandList