Table of Contents

Class LightSpotGroupRenderer

Namespace
Stride.Rendering.Lights
Assembly
Stride.Rendering.dll

Light renderer for LightSpot. Handles grouping by shadow type and projection texture.

public class LightSpotGroupRenderer : LightGroupRendererDynamic
Inheritance
LightSpotGroupRenderer
Inherited Members

Properties

LightTypes

public override Type[] LightTypes { get; }

Property Value

Type[]

Methods

CreateLightShaderGroup(RenderDrawContext, ILightShadowMapShaderGroupData)

public override LightShaderGroupDynamic CreateLightShaderGroup(RenderDrawContext context, ILightShadowMapShaderGroupData shadowShaderGroupData)

Parameters

context RenderDrawContext
shadowShaderGroupData ILightShadowMapShaderGroupData

Returns

LightShaderGroupDynamic

ProcessLights(ProcessLightsParameters)

public override void ProcessLights(LightGroupRendererBase.ProcessLightsParameters parameters)

Parameters

parameters LightGroupRendererBase.ProcessLightsParameters

Reset()

public override void Reset()

SetViews(FastList<RenderView>)

public override void SetViews(FastList<RenderView> views)

Parameters

views FastList<RenderView>

UpdateShaderPermutationEntry(LightShaderPermutationEntry)

public override void UpdateShaderPermutationEntry(ForwardLightingRenderFeature.LightShaderPermutationEntry shaderEntry)

Parameters

shaderEntry ForwardLightingRenderFeature.LightShaderPermutationEntry