C# Class Protogame.NullDebugRenderer

An implementation of the debug rendering which is used in headless servers.
This is bound by ProtogameCoreModule by default, and replaced with an actual implementation if ProtogameDebugModule is loaded.
Inheritance: IDebugRenderer
显示文件 Open project: RedpointGames/Protogame

Public Methods

Method Description
RenderDebugLine ( IRenderContext renderContext, Microsoft.Xna.Framework.Vector3 point1, Microsoft.Xna.Framework.Vector3 point2, Microsoft.Xna.Framework.Color color1, Microsoft.Xna.Framework.Color color2 ) : void
RenderDebugTriangle ( IRenderContext renderContext, Microsoft.Xna.Framework.Vector3 point1, Microsoft.Xna.Framework.Vector3 point2, Microsoft.Xna.Framework.Vector3 point3, Microsoft.Xna.Framework.Color color1, Microsoft.Xna.Framework.Color color2, Microsoft.Xna.Framework.Color color3 ) : void

Method Details

RenderDebugLine() public method

public RenderDebugLine ( IRenderContext renderContext, Microsoft.Xna.Framework.Vector3 point1, Microsoft.Xna.Framework.Vector3 point2, Microsoft.Xna.Framework.Color color1, Microsoft.Xna.Framework.Color color2 ) : void
renderContext IRenderContext
point1 Microsoft.Xna.Framework.Vector3
point2 Microsoft.Xna.Framework.Vector3
color1 Microsoft.Xna.Framework.Color
color2 Microsoft.Xna.Framework.Color
return void

RenderDebugTriangle() public method

public RenderDebugTriangle ( IRenderContext renderContext, Microsoft.Xna.Framework.Vector3 point1, Microsoft.Xna.Framework.Vector3 point2, Microsoft.Xna.Framework.Vector3 point3, Microsoft.Xna.Framework.Color color1, Microsoft.Xna.Framework.Color color2, Microsoft.Xna.Framework.Color color3 ) : void
renderContext IRenderContext
point1 Microsoft.Xna.Framework.Vector3
point2 Microsoft.Xna.Framework.Vector3
point3 Microsoft.Xna.Framework.Vector3
color1 Microsoft.Xna.Framework.Color
color2 Microsoft.Xna.Framework.Color
color3 Microsoft.Xna.Framework.Color
return void