ILightShadowRenderer Interface
Namespace: Stride.Rendering.ShadowsAssembly: Stride.Rendering.dll
Interface to render shadows
public interface ILightShadowRenderer
Name | Description | |
---|---|---|
Methods | ||
CanRenderLight(IDirectLight) | Test if this renderer can render this kind of light |
|
Reset(RenderContext) | Reset the state of this instance before calling Render method multiple times for different shadow map textures. See remarks. |
Methods
CanRenderLight(IDirectLight)
Test if this renderer can render this kind of light
bool CanRenderLight(IDirectLight light)
Parameters
Type | Name | Description |
---|---|---|
IDirectLight | light |
Returns
Type | Description |
---|---|
System.Boolean |
Reset(RenderContext)
Reset the state of this instance before calling Render method multiple times for different shadow map textures. See remarks.
void Reset(RenderContext context)
Parameters
Type | Name | Description |
---|---|---|
RenderContext | context |
Remarks
This method allows the implementation to prepare some internal states before being rendered.