Table of Contents

Class LightClusteredPointSpotGroupRenderer

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

Light renderer for clustered shading.

public class LightClusteredPointSpotGroupRenderer : LightGroupRendererBase
Inheritance
LightClusteredPointSpotGroupRenderer
Inherited Members

Remarks

Due to the fact that it handles both Point and Spot with a single logic, it doesn't fit perfectly the current logic of one "direct light groups" per renderer.

Properties

LightTypes

public override Type[] LightTypes { get; }

Property Value

Type[]

Methods

Initialize(RenderContext)

public override void Initialize(RenderContext context)

Parameters

context RenderContext

PrepareResources(RenderDrawContext)

public override void PrepareResources(RenderDrawContext drawContext)

Parameters

drawContext RenderDrawContext

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>

Unload()

public override void Unload()

UpdateShaderPermutationEntry(LightShaderPermutationEntry)

public override void UpdateShaderPermutationEntry(ForwardLightingRenderFeature.LightShaderPermutationEntry shaderEntry)

Parameters

shaderEntry ForwardLightingRenderFeature.LightShaderPermutationEntry