ShadowMapRenderer Class
Namespace: Stride.Rendering.Shadows
Assembly: Stride.Rendering.dll
Handles rendering of shadow map casters.
System.Object →
ShadowMapRenderer
Derived from ShadowMapRenderer:
[DataContract(DefaultMemberMode = DataMemberMode.Never)]
public class ShadowMapRenderer : IShadowMapRenderer
|
Improve this Doc
View Source
Constructors
ShadowMapRenderer()
public ShadowMapRenderer()
|
Improve this Doc
View Source
Fields
ProfilingKey
public static readonly ProfilingKey ProfilingKey
Field Value
|
Improve this Doc
View Source
Properties
Renderers
[DataMember]
public List<ILightShadowMapRenderer> Renderers { get; }
Property Value
RenderSystem
public RenderSystem RenderSystem { get; set; }
Property Value
RenderViewsWithShadows
public HashSet<RenderView> RenderViewsWithShadows { get; }
Property Value
Type |
Description |
System.Collections.Generic.HashSet<RenderView> |
|
ShadowMapRenderStages
public IReadOnlyList<RenderStage> ShadowMapRenderStages { get; }
Property Value
Type |
Description |
System.Collections.Generic.IReadOnlyList<RenderStage> |
|
|
Improve this Doc
View Source
Methods
Collect(RenderContext, Dictionary<RenderView, ForwardLightingRenderFeature.RenderViewLightData>)
public void Collect(RenderContext context, Dictionary<RenderView, ForwardLightingRenderFeature.RenderViewLightData> renderViewLightDatas)
Parameters
Draw(RenderDrawContext)
public void Draw(RenderDrawContext drawContext)
Parameters
FindRenderer(IDirectLight)
public ILightShadowMapRenderer FindRenderer(IDirectLight light)
Parameters
Returns
FindShadowMap(RenderView, RenderLight)
public LightShadowMapTexture FindShadowMap(RenderView renderView, RenderLight light)
Parameters
Returns
Flush(RenderDrawContext)
public void Flush(RenderDrawContext context)
Parameters
PrepareAtlasAsRenderTargets(CommandList)
public void PrepareAtlasAsRenderTargets(CommandList commandList)
Parameters
PrepareAtlasAsShaderResourceViews(CommandList)
public void PrepareAtlasAsShaderResourceViews(CommandList commandList)
Parameters
Extension Methods