GizmoRenderSystem
- Namespace: Turian.Engine.Core
- Source File: GizmoRenderSystem.cs
Renders the line segments recorded by Gizmos inside the same render pass as the scene, after the solid render systems. Lines can be split into two passes: a depth-tested "world" pass (occluded by scene geometry) and an "overlay" pass drawn on top. Each GizmoLine is expanded on the CPU into six GizmoExpandedVertex vertices (two triangles) and the shader expands them into a screen-space quad of the requested pixel thickness.
Public Methods
Render
public unsafe void Render(FrameInfo frameInfo, GlobalUbo ubo)
Parameters:
frameInfo(FrameInfo)ubo(GlobalUbo)
Dispose
public unsafe void Dispose()