Class LightSpotShadowMapRenderer
Renders a shadow map from a directional light.
public class LightSpotShadowMapRenderer : LightShadowMapRendererBase, ILightShadowMapRenderer, ILightShadowRenderer- Inheritance
- 
      objectLightSpotShadowMapRenderer
- Implements
- Inherited Members
Constructors
LightSpotShadowMapRenderer()
Initializes a new instance of the LightSpotShadowMapRenderer class.
public LightSpotShadowMapRenderer()Methods
CanRenderLight(IDirectLight)
Test if this renderer can render this kind of light
public override bool CanRenderLight(IDirectLight light)Parameters
- lightIDirectLight
Returns
Collect(RenderContext, RenderView, LightShadowMapTexture)
public override void Collect(RenderContext context, RenderView sourceView, LightShadowMapTexture lightShadowMap)Parameters
- contextRenderContext
- sourceViewRenderView
- lightShadowMapLightShadowMapTexture
CreateShaderGroupData(LightShadowType)
public override ILightShadowMapShaderGroupData CreateShaderGroupData(LightShadowType shadowType)Parameters
- shadowTypeLightShadowType
Returns
Reset(RenderContext)
Reset the state of this instance before calling Render method multiple times for different shadow map textures. See remarks.
public override void Reset(RenderContext context)Parameters
- contextRenderContext
Remarks
This method allows the implementation to prepare some internal states before being rendered.