Table of Contents

Class LightGroupRendererBase

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

Base class for light renderers.

[DataContract(Inherited = true, DefaultMemberMode = DataMemberMode.Never)]
public abstract class LightGroupRendererBase
Inheritance
LightGroupRendererBase
Derived

Constructors

LightGroupRendererBase()

protected LightGroupRendererBase()

Properties

IsEnvironmentLight

public bool IsEnvironmentLight { get; protected set; }

Property Value

bool

LightRendererId

public byte LightRendererId { get; }

Property Value

byte

LightTypes

public abstract Type[] LightTypes { get; }

Property Value

Type[]

Methods

Initialize(RenderContext)

public virtual void Initialize(RenderContext context)

Parameters

context RenderContext

PrepareResources(RenderDrawContext)

public virtual void PrepareResources(RenderDrawContext drawContext)

Parameters

drawContext RenderDrawContext

ProcessLights(ProcessLightsParameters)

public abstract void ProcessLights(LightGroupRendererBase.ProcessLightsParameters parameters)

Parameters

parameters LightGroupRendererBase.ProcessLightsParameters

Reset()

public virtual void Reset()

SetViews(FastList<RenderView>)

public virtual void SetViews(FastList<RenderView> views)

Parameters

views FastList<RenderView>

Unload()

public virtual void Unload()

UpdateShaderPermutationEntry(LightShaderPermutationEntry)

public abstract void UpdateShaderPermutationEntry(ForwardLightingRenderFeature.LightShaderPermutationEntry shaderEntry)

Parameters

shaderEntry ForwardLightingRenderFeature.LightShaderPermutationEntry