| OcclusionBufferQuery Method |
Tests the specified scene nodes against the occlusion buffer to check which scene nodes are
visible. (Performs frustum culling, distance culling, occlusion culling, and shadow caster
culling.)
Namespace: DigitalRune.Graphics.RenderingAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public void Query(
IList<SceneNode> nodes,
RenderContext context
)
Public Sub Query (
nodes As IList(Of SceneNode),
context As RenderContext
)
public:
void Query(
IList<SceneNode^>^ nodes,
RenderContext^ context
)
member Query :
nodes : IList<SceneNode> *
context : RenderContext -> unit
Parameters
- nodes
- Type: System.Collections.GenericIListSceneNode
In: The scene nodes that should be tested for visibility.
Out: The list of visible scene nodes. Occluded scene nodes are replaced with null entries.
- context
- Type: DigitalRune.GraphicsRenderContext
The render context.
Exceptions See Also