Table of Contents

Interface ILightShadowMapRenderer

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

Interface to render a shadow map.

public interface ILightShadowMapRenderer : ILightShadowRenderer
Inherited Members

Properties

ShadowCasterRenderStage

RenderStage ShadowCasterRenderStage { get; }

Property Value

RenderStage

Methods

ApplyViewParameters(RenderDrawContext, ParameterCollection, LightShadowMapTexture)

void ApplyViewParameters(RenderDrawContext context, ParameterCollection parameters, LightShadowMapTexture shadowMapTexture)

Parameters

context RenderDrawContext
parameters ParameterCollection
shadowMapTexture LightShadowMapTexture

Collect(RenderContext, RenderView, LightShadowMapTexture)

void Collect(RenderContext context, RenderView sourceView, LightShadowMapTexture lightShadowMap)

Parameters

context RenderContext
sourceView RenderView
lightShadowMap LightShadowMapTexture

CreateShaderGroupData(LightShadowType)

ILightShadowMapShaderGroupData CreateShaderGroupData(LightShadowType shadowType)

Parameters

shadowType LightShadowType

Returns

ILightShadowMapShaderGroupData

CreateShadowMapTexture(RenderView, RenderLight, IDirectLight, int)

LightShadowMapTexture CreateShadowMapTexture(RenderView renderView, RenderLight renderLight, IDirectLight light, int shadowMapSize)

Parameters

renderView RenderView
renderLight RenderLight
light IDirectLight
shadowMapSize int

Returns

LightShadowMapTexture

GetShadowType(LightShadowMap)

LightShadowType GetShadowType(LightShadowMap lightShadowMap)

Parameters

lightShadowMap LightShadowMap

Returns

LightShadowType