Class LineDebugRenderer
Namespace: ValveResourceFormat.Renderer
Assembly: Renderer.dll
Base class for debug overlays that draw a line batch blended and without depth writes.
csharp
public abstract class LineDebugRendererInheritance
Derived
OctreeDebugRenderer, PhysicsTraceDebugRenderer, SelectedNodeRenderer
Constructors
LineDebugRenderer(RendererContext, string)
Creates the GPU line buffer.
csharp
protected LineDebugRenderer(RendererContext rendererContext, string label)Parameters
rendererContext RendererContext
label string
Methods
Clear()
Drops the uploaded vertices.
csharp
protected void Clear()Delete()
Deletes the GL objects.
csharp
public void Delete()RenderLines(bool)
Draws the uploaded lines, on top of everything when depth test is disabled.
csharp
protected void RenderLines(bool disableDepthTest = false)Parameters
disableDepthTest bool
Upload(List<SimpleVertex>, BufferUsageHint)
Uploads the line vertices, two per segment.
csharp
protected void Upload(List<SimpleVertex> vertices, BufferUsageHint usageHint = BufferUsageHint.DynamicDraw)Parameters
vertices List<SimpleVertex>
usageHint BufferUsageHint

