Class SpatialNodeSetDebugRenderer
Namespace: ValveResourceFormat.Renderer
Assembly: Renderer.dll
Debug visualization for the dynamic node set, drawing each node's bounding box. There is no hierarchy to show: the boxes are all the set holds.
csharp
public class SpatialNodeSetDebugRenderer : LineDebugRendererInheritance
object ← LineDebugRenderer ← SpatialNodeSetDebugRenderer
Inherited Members
LineDebugRenderer.Clear(), LineDebugRenderer.Upload(List<SimpleVertex>, BufferUsageHint), LineDebugRenderer.RenderLines(bool), LineDebugRenderer.Delete()
Constructors
SpatialNodeSetDebugRenderer(SpatialNodeSet, RendererContext)
Initializes the debug renderer and creates GPU resources.
csharp
public SpatialNodeSetDebugRenderer(SpatialNodeSet nodeSet, RendererContext rendererContext)Parameters
nodeSet SpatialNodeSet
The set to visualize.
rendererContext RendererContext
Renderer context for loading shaders.
Methods
Render()
Rebuilds the line geometry from the current bounds and draws it.
csharp
public void Render()
