| ShadowMapRendererRenderCallback Property |
Gets or sets the method which renders the scene into the shadow map.
Namespace: DigitalRune.Graphics.RenderingAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public Func<RenderContext, bool> RenderCallback { get; set; }
Public Property RenderCallback As Func(Of RenderContext, Boolean)
Get
Set
public:
virtual property Func<RenderContext^, bool>^ RenderCallback {
Func<RenderContext^, bool>^ get () sealed;
void set (Func<RenderContext^, bool>^ value) sealed;
}
abstract RenderCallback : Func<RenderContext, bool> with get, set
override RenderCallback : Func<RenderContext, bool> with get, set
Property Value
Type:
FuncRenderContext,
BooleanThe callback method that renders the scene into the shadow map.
Implements
IShadowMapRendererRenderCallbackRemarks
The render callback renders the scene for the shadow map using the camera and the
information currently set in the render context. It returns if
any objects were rendered and if no objects were rendered (= shadow
map is empty).
See Also