LightShadowMapRendererBase Class
Namespace: Stride.Rendering.Shadows
Assembly: Stride.Rendering.dll
Base class for shadow map renderers
System.Object →
LightShadowMapRendererBase
[DataContract(Inherited = true, DefaultMemberMode = DataMemberMode.Never)]
public abstract class LightShadowMapRendererBase : ILightShadowMapRenderer, ILightShadowRenderer
|
Improve this Doc
View Source
Constructors
LightShadowMapRendererBase()
protected LightShadowMapRendererBase()
|
Improve this Doc
View Source
Fields
shadowMaps
protected PoolListStruct<LightShadowMapTexture> shadowMaps
Field Value
shadowRenderViews
protected PoolListStruct<ShadowMapRenderView> shadowRenderViews
Field Value
|
Improve this Doc
View Source
Properties
ShadowCasterRenderStage
The shadow map render stage this light shadow map renderer uses
[DataMember]
public RenderStage ShadowCasterRenderStage { get; set; }
Property Value
|
Improve this Doc
View Source
Methods
ApplyViewParameters(RenderDrawContext, ParameterCollection, LightShadowMapTexture)
public virtual void ApplyViewParameters(RenderDrawContext context, ParameterCollection parameters, LightShadowMapTexture shadowMapTexture)
Parameters
CanRenderLight(IDirectLight)
public abstract bool CanRenderLight(IDirectLight light)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Collect(RenderContext, RenderView, LightShadowMapTexture)
public abstract void Collect(RenderContext context, RenderView sourceView, LightShadowMapTexture lightShadowMap)
Parameters
CreateRenderView()
Creates a default view with the shadow caster stage added to it
public virtual ShadowMapRenderView CreateRenderView()
Returns
CreateShaderGroupData(LightShadowType)
public abstract ILightShadowMapShaderGroupData CreateShaderGroupData(LightShadowType shadowType)
Parameters
Returns
CreateShadowMapTexture(RenderView, RenderLight, IDirectLight, Int32)
public virtual LightShadowMapTexture CreateShadowMapTexture(RenderView renderView, RenderLight renderLight, IDirectLight light, int shadowMapSize)
Parameters
Returns
GetShadowType(LightShadowMap)
public virtual LightShadowType GetShadowType(LightShadowMap shadowMap)
Parameters
Returns
Reset(RenderContext)
public virtual void Reset(RenderContext context)
Parameters
Extension Methods