| OcclusionBufferRender Method (IListSceneNode, LightNode, SceneNodeRenderer, RenderContext) |
Clears the occlusion buffer and renders the specified list of occluders.
Namespace: DigitalRune.Graphics.RenderingAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public void Render(
IList<SceneNode> occluders,
LightNode lightNode,
SceneNodeRenderer renderer,
RenderContext context
)
Public Sub Render (
occluders As IList(Of SceneNode),
lightNode As LightNode,
renderer As SceneNodeRenderer,
context As RenderContext
)
public:
void Render(
IList<SceneNode^>^ occluders,
LightNode^ lightNode,
SceneNodeRenderer^ renderer,
RenderContext^ context
)
member Render :
occluders : IList<SceneNode> *
lightNode : LightNode *
renderer : SceneNodeRenderer *
context : RenderContext -> unit
Parameters
- occluders
- Type: System.Collections.GenericIListSceneNode
The occluders. - lightNode
- Type: DigitalRune.Graphics.SceneGraphLightNode
Optional: The light node that casts directional shadows. Only required when using shadow
caster culling.
- renderer
- Type: DigitalRune.Graphics.RenderingSceneNodeRenderer
Optional: A SceneNodeRenderer for rendering custom scene nodes into the
occlusion buffer.
- context
- Type: DigitalRune.GraphicsRenderContext
The render context.
Exceptions See Also