Table of Contents

Interface ILightShadowRenderer

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

Interface to render shadows

public interface ILightShadowRenderer

Methods

CanRenderLight(IDirectLight)

Test if this renderer can render this kind of light

bool CanRenderLight(IDirectLight light)

Parameters

light IDirectLight

Returns

bool

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

context RenderContext

Remarks

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