IDebugRendererΒΆ
-
interface
IDebugRenderer
An interface which provides useful utilities for rendering debug information during a debug render pass.
-
void
RenderDebugLine
(IRenderContext renderContext, Vector3 point1, Vector3 point2, Color color1, Color color2) Renders a colored line in absolute space.
Parameters: - renderContext (Protogame.IRenderContext) – The current render context.
- point1 (Microsoft.Xna.Framework.Vector3) – The absolute point to render a line from.
- point2 (Microsoft.Xna.Framework.Vector3) – The absolute point to render a line to.
- color1 (Microsoft.Xna.Framework.Color) – The color of the line at the first point.
- color2 (Microsoft.Xna.Framework.Color) – The color of the line at the second point.
-
void
RenderDebugTriangle
(IRenderContext renderContext, Vector3 point1, Vector3 point2, Vector3 point3, Color color1, Color color2, Color color3) Renders a colored triangle in absolute space.
Parameters: - renderContext (Protogame.IRenderContext) – The current render context.
- point1 (Microsoft.Xna.Framework.Vector3) – The first point of the triangle.
- point2 (Microsoft.Xna.Framework.Vector3) – The second point of the triangle.
- point3 (Microsoft.Xna.Framework.Vector3) – The third point of the triangle.
- color1 (Microsoft.Xna.Framework.Color) – The color of the first point on the triangle.
- color2 (Microsoft.Xna.Framework.Color) – The color of the second point on the triangle.
- color3 (Microsoft.Xna.Framework.Color) – The color of the third point on the triangle.
-
void