LightDirectionalShadowMapRenderer Class
Namespace: Stride.Rendering.Shadows
Assembly: Stride.Rendering.dll
Renders a shadow map from a directional light.
Derived from LightDirectionalShadowMapRenderer:
public class LightDirectionalShadowMapRenderer : LightShadowMapRendererBase, ILightShadowMapRenderer, ILightShadowRenderer
|
Improve this Doc
View Source
Constructors
LightDirectionalShadowMapRenderer()
public LightDirectionalShadowMapRenderer()
|
Improve this Doc
View Source
Methods
CanRenderLight(IDirectLight)
public override bool CanRenderLight(IDirectLight light)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Overrides
Collect(RenderContext, RenderView, LightShadowMapTexture)
public override void Collect(RenderContext context, RenderView sourceView, LightShadowMapTexture lightShadowMap)
Parameters
Overrides
CreateShaderGroupData(LightShadowType)
public override ILightShadowMapShaderGroupData CreateShaderGroupData(LightShadowType shadowType)
Parameters
Returns
Overrides
CreateShadowMapTexture(RenderView, RenderLight, IDirectLight, Int32)
public override LightShadowMapTexture CreateShadowMapTexture(RenderView renderView, RenderLight renderLight, IDirectLight light, int shadowMapSize)
Parameters
Returns
Overrides
GetShadowType(LightShadowMap)
public override LightShadowType GetShadowType(LightShadowMap shadowMapArg)
Parameters
Returns
Overrides
Reset(RenderContext)
public override void Reset(RenderContext context)
Parameters
Overrides
Extension Methods