Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    LightSpotTextureProjectionRenderer.LightSpotTextureProjectionGroupShaderData Class

    Namespace: Stride.Rendering.Lights
    Assembly: Stride.Rendering.dll
    System.Object → LightSpotTextureProjectionRenderer.LightSpotTextureProjectionGroupShaderData
    Derived from LightSpotTextureProjectionRenderer.LightSpotTextureProjectionGroupShaderData:

    public class LightSpotTextureProjectionGroupShaderData : ITextureProjectionShaderGroupData
    Name Description
    Constructors
    LightSpotTextureProjectionGroupShaderData(SpotLightTextureParameters)

    Initializes a new instance of the LightSpotTextureProjectionRenderer.LightSpotTextureProjectionGroupShaderData class.

    Properties
    TextureProjectionShader
    Methods
    ApplyDrawParameters(RenderDrawContext, ParameterCollection, FastListStruct<LightDynamicEntry>, ref BoundingBoxExt)
    ApplyShader(ShaderMixinSource)
    UpdateLayout(String)
    UpdateLightCount(Int32, Int32)
    | Improve this Doc View Source

    Constructors


    LightSpotTextureProjectionGroupShaderData(SpotLightTextureParameters)

    Initializes a new instance of the LightSpotTextureProjectionRenderer.LightSpotTextureProjectionGroupShaderData class.

    public LightSpotTextureProjectionGroupShaderData(SpotLightTextureParameters parameters)
    Parameters
    Type Name Description
    SpotLightTextureParameters parameters
    | Improve this Doc View Source

    Properties


    TextureProjectionShader

    public ShaderMixinSource TextureProjectionShader { get; }
    Property Value
    Type Description
    ShaderMixinSource
    | Improve this Doc View Source

    Methods


    ApplyDrawParameters(RenderDrawContext, ParameterCollection, FastListStruct<LightDynamicEntry>, ref BoundingBoxExt)

    public void ApplyDrawParameters(RenderDrawContext context, ParameterCollection parameters, FastListStruct<LightDynamicEntry> currentLights, ref BoundingBoxExt boundingBox)
    Parameters
    Type Name Description
    RenderDrawContext context
    ParameterCollection parameters
    FastListStruct<LightDynamicEntry> currentLights
    BoundingBoxExt boundingBox

    ApplyShader(ShaderMixinSource)

    public virtual void ApplyShader(ShaderMixinSource mixin)
    Parameters
    Type Name Description
    ShaderMixinSource mixin

    UpdateLayout(String)

    public void UpdateLayout(string compositionName)
    Parameters
    Type Name Description
    System.String compositionName

    UpdateLightCount(Int32, Int32)

    public void UpdateLightCount(int lightLastCount, int lightCurrentCount)
    Parameters
    Type Name Description
    System.Int32 lightLastCount
    System.Int32 lightCurrentCount

    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