Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    LightGroupRendererBase Class

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

    Base class for light renderers.

    System.Object → LightGroupRendererBase
    Derived from LightGroupRendererBase: LightProbeRenderer LightAmbientRenderer LightClusteredPointSpotGroupRenderer LightGroupRendererDynamic LightSkyboxRenderer

    [DataContract(Inherited = true, DefaultMemberMode = DataMemberMode.Never)]
    public abstract class LightGroupRendererBase
    Name Description
    Constructors
    LightGroupRendererBase()
    Properties
    IsEnvironmentLight
    LightRendererId
    LightTypes
    Methods
    Initialize(RenderContext)
    PrepareResources(RenderDrawContext)
    ProcessLights(LightGroupRendererBase.ProcessLightsParameters)
    Reset()
    SetViews(FastList<RenderView>)
    Unload()
    UpdateShaderPermutationEntry(ForwardLightingRenderFeature.LightShaderPermutationEntry)
    | Improve this Doc View Source

    Constructors


    LightGroupRendererBase()

    protected LightGroupRendererBase()
    | Improve this Doc View Source

    Properties


    IsEnvironmentLight

    public bool IsEnvironmentLight { get; protected set; }
    Property Value
    Type Description
    System.Boolean

    LightRendererId

    public byte LightRendererId { get; }
    Property Value
    Type Description
    System.Byte

    LightTypes

    public abstract Type[] LightTypes { get; }
    Property Value
    Type Description
    System.Type[]
    | Improve this Doc View Source

    Methods


    Initialize(RenderContext)

    public virtual void Initialize(RenderContext context)
    Parameters
    Type Name Description
    RenderContext context

    PrepareResources(RenderDrawContext)

    public virtual void PrepareResources(RenderDrawContext drawContext)
    Parameters
    Type Name Description
    RenderDrawContext drawContext

    ProcessLights(LightGroupRendererBase.ProcessLightsParameters)

    public abstract void ProcessLights(LightGroupRendererBase.ProcessLightsParameters parameters)
    Parameters
    Type Name Description
    LightGroupRendererBase.ProcessLightsParameters parameters

    Reset()

    public virtual void Reset()

    SetViews(FastList<RenderView>)

    public virtual void SetViews(FastList<RenderView> views)
    Parameters
    Type Name Description
    FastList<RenderView> views

    Unload()

    public virtual void Unload()

    UpdateShaderPermutationEntry(ForwardLightingRenderFeature.LightShaderPermutationEntry)

    public abstract void UpdateShaderPermutationEntry(ForwardLightingRenderFeature.LightShaderPermutationEntry shaderEntry)
    Parameters
    Type Name Description
    ForwardLightingRenderFeature.LightShaderPermutationEntry shaderEntry

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation