C# Class Mojo.DebugRenderer

Inheritance: IDisposable
显示文件 Open project: Rhoana/Mojo Class Usage Examples

Public Methods

Method Description
DebugRenderer ( SlimDX device ) : System
Dispose ( ) : void
RenderBoxGreyScaleTexture3DOnly ( DeviceContext deviceContext, System.Vector3 p1, System.Vector3 p2, System.Vector3 t1, System.Vector3 t2, ShaderResourceView texture, Camera camera ) : void
RenderBoxGreyScaleTexture3DWireframe ( DeviceContext deviceContext, System.Vector3 p1, System.Vector3 p2, System.Vector3 t1, System.Vector3 t2, ShaderResourceView texture, System.Vector3 color, Camera camera ) : void
RenderBoxSolidOnly ( DeviceContext deviceContext, System.Vector3 p1, System.Vector3 p2, System.Vector3 color, Camera camera ) : void
RenderBoxSolidWireframe ( DeviceContext deviceContext, System.Vector3 p1, System.Vector3 p2, System.Vector3 backgroundColor, System.Vector3 foregroundColor, Camera camera ) : void
RenderBoxTexture3DOnly ( DeviceContext deviceContext, System.Vector3 p1, System.Vector3 p2, System.Vector3 t1, System.Vector3 t2, ShaderResourceView texture, Camera camera ) : void
RenderBoxTexture3DWireframe ( DeviceContext deviceContext, System.Vector3 p1, System.Vector3 p2, System.Vector3 t1, System.Vector3 t2, ShaderResourceView texture, System.Vector3 color, Camera camera ) : void
RenderBoxWireframeOnly ( DeviceContext deviceContext, System.Vector3 p1, System.Vector3 p2, System.Vector3 color, Camera camera ) : void
RenderLine ( DeviceContext deviceContext, System.Vector3 p1, System.Vector3 p2, System.Vector3 color, Camera camera ) : void
RenderPoint ( DeviceContext deviceContext, System.Vector3 p, System.Vector3 color, Camera camera ) : void
RenderQuadGreyScaleTexture3DOnly ( DeviceContext deviceContext, System.Vector3 p1, System.Vector3 p2, System.Vector3 p3, System.Vector3 p4, System.Vector3 t1, System.Vector3 t2, System.Vector3 t3, System.Vector3 t4, ShaderResourceView texture, Camera camera ) : void
RenderQuadGreyScaleTexture3DWireframe ( DeviceContext deviceContext, System.Vector3 p1, System.Vector3 p2, System.Vector3 p3, System.Vector3 p4, System.Vector3 t1, System.Vector3 t2, System.Vector3 t3, System.Vector3 t4, ShaderResourceView texture, System.Vector3 color, Camera camera ) : void
RenderQuadSolidOnly ( DeviceContext deviceContext, System.Vector3 p1, System.Vector3 p2, System.Vector3 p3, System.Vector3 p4, System.Vector3 color, Camera camera ) : void
RenderQuadSolidWireframe ( DeviceContext deviceContext, System.Vector3 p1, System.Vector3 p2, System.Vector3 p3, System.Vector3 p4, System.Vector3 backgroundColor, System.Vector3 foregroundColor, Camera camera ) : void
RenderQuadTexture3DOnly ( DeviceContext deviceContext, System.Vector3 p1, System.Vector3 p2, System.Vector3 p3, System.Vector3 p4, System.Vector3 t1, System.Vector3 t2, System.Vector3 t3, System.Vector3 t4, ShaderResourceView texture, Camera camera ) : void
RenderQuadTexture3DWireframe ( DeviceContext deviceContext, System.Vector3 p1, System.Vector3 p2, System.Vector3 p3, System.Vector3 p4, System.Vector3 t1, System.Vector3 t2, System.Vector3 t3, System.Vector3 t4, ShaderResourceView texture, System.Vector3 color, Camera camera ) : void
RenderQuadWireframeOnly ( DeviceContext deviceContext, System.Vector3 p1, System.Vector3 p2, System.Vector3 p3, System.Vector3 p4, System.Vector3 color, Camera camera ) : void
RenderSphereSolidOnly ( DeviceContext deviceContext, System.Vector3 p, float radius, System.Vector3 color, Camera camera ) : void
RenderSphereSolidWireframe ( DeviceContext deviceContext, System.Vector3 p, float radius, System.Vector3 backgroundColor, System.Vector3 foregroundColor, Camera camera ) : void
RenderSphereWireframeOnly ( DeviceContext deviceContext, System.Vector3 p, float radius, System.Vector3 color, Camera camera ) : void

Method Details

DebugRenderer() public method

public DebugRenderer ( SlimDX device ) : System
device SlimDX
return System

Dispose() public method

public Dispose ( ) : void
return void

RenderBoxGreyScaleTexture3DOnly() public method

public RenderBoxGreyScaleTexture3DOnly ( DeviceContext deviceContext, System.Vector3 p1, System.Vector3 p2, System.Vector3 t1, System.Vector3 t2, ShaderResourceView texture, Camera camera ) : void
deviceContext DeviceContext
p1 System.Vector3
p2 System.Vector3
t1 System.Vector3
t2 System.Vector3
texture ShaderResourceView
camera Camera
return void

RenderBoxGreyScaleTexture3DWireframe() public method

public RenderBoxGreyScaleTexture3DWireframe ( DeviceContext deviceContext, System.Vector3 p1, System.Vector3 p2, System.Vector3 t1, System.Vector3 t2, ShaderResourceView texture, System.Vector3 color, Camera camera ) : void
deviceContext DeviceContext
p1 System.Vector3
p2 System.Vector3
t1 System.Vector3
t2 System.Vector3
texture ShaderResourceView
color System.Vector3
camera Camera
return void

RenderBoxSolidOnly() public method

public RenderBoxSolidOnly ( DeviceContext deviceContext, System.Vector3 p1, System.Vector3 p2, System.Vector3 color, Camera camera ) : void
deviceContext DeviceContext
p1 System.Vector3
p2 System.Vector3
color System.Vector3
camera Camera
return void

RenderBoxSolidWireframe() public method

public RenderBoxSolidWireframe ( DeviceContext deviceContext, System.Vector3 p1, System.Vector3 p2, System.Vector3 backgroundColor, System.Vector3 foregroundColor, Camera camera ) : void
deviceContext DeviceContext
p1 System.Vector3
p2 System.Vector3
backgroundColor System.Vector3
foregroundColor System.Vector3
camera Camera
return void

RenderBoxTexture3DOnly() public method

public RenderBoxTexture3DOnly ( DeviceContext deviceContext, System.Vector3 p1, System.Vector3 p2, System.Vector3 t1, System.Vector3 t2, ShaderResourceView texture, Camera camera ) : void
deviceContext DeviceContext
p1 System.Vector3
p2 System.Vector3
t1 System.Vector3
t2 System.Vector3
texture ShaderResourceView
camera Camera
return void

RenderBoxTexture3DWireframe() public method

public RenderBoxTexture3DWireframe ( DeviceContext deviceContext, System.Vector3 p1, System.Vector3 p2, System.Vector3 t1, System.Vector3 t2, ShaderResourceView texture, System.Vector3 color, Camera camera ) : void
deviceContext DeviceContext
p1 System.Vector3
p2 System.Vector3
t1 System.Vector3
t2 System.Vector3
texture ShaderResourceView
color System.Vector3
camera Camera
return void

RenderBoxWireframeOnly() public method

public RenderBoxWireframeOnly ( DeviceContext deviceContext, System.Vector3 p1, System.Vector3 p2, System.Vector3 color, Camera camera ) : void
deviceContext DeviceContext
p1 System.Vector3
p2 System.Vector3
color System.Vector3
camera Camera
return void

RenderLine() public method

public RenderLine ( DeviceContext deviceContext, System.Vector3 p1, System.Vector3 p2, System.Vector3 color, Camera camera ) : void
deviceContext DeviceContext
p1 System.Vector3
p2 System.Vector3
color System.Vector3
camera Camera
return void

RenderPoint() public method

public RenderPoint ( DeviceContext deviceContext, System.Vector3 p, System.Vector3 color, Camera camera ) : void
deviceContext DeviceContext
p System.Vector3
color System.Vector3
camera Camera
return void

RenderQuadGreyScaleTexture3DOnly() public method

public RenderQuadGreyScaleTexture3DOnly ( DeviceContext deviceContext, System.Vector3 p1, System.Vector3 p2, System.Vector3 p3, System.Vector3 p4, System.Vector3 t1, System.Vector3 t2, System.Vector3 t3, System.Vector3 t4, ShaderResourceView texture, Camera camera ) : void
deviceContext DeviceContext
p1 System.Vector3
p2 System.Vector3
p3 System.Vector3
p4 System.Vector3
t1 System.Vector3
t2 System.Vector3
t3 System.Vector3
t4 System.Vector3
texture ShaderResourceView
camera Camera
return void

RenderQuadGreyScaleTexture3DWireframe() public method

public RenderQuadGreyScaleTexture3DWireframe ( DeviceContext deviceContext, System.Vector3 p1, System.Vector3 p2, System.Vector3 p3, System.Vector3 p4, System.Vector3 t1, System.Vector3 t2, System.Vector3 t3, System.Vector3 t4, ShaderResourceView texture, System.Vector3 color, Camera camera ) : void
deviceContext DeviceContext
p1 System.Vector3
p2 System.Vector3
p3 System.Vector3
p4 System.Vector3
t1 System.Vector3
t2 System.Vector3
t3 System.Vector3
t4 System.Vector3
texture ShaderResourceView
color System.Vector3
camera Camera
return void

RenderQuadSolidOnly() public method

public RenderQuadSolidOnly ( DeviceContext deviceContext, System.Vector3 p1, System.Vector3 p2, System.Vector3 p3, System.Vector3 p4, System.Vector3 color, Camera camera ) : void
deviceContext DeviceContext
p1 System.Vector3
p2 System.Vector3
p3 System.Vector3
p4 System.Vector3
color System.Vector3
camera Camera
return void

RenderQuadSolidWireframe() public method

public RenderQuadSolidWireframe ( DeviceContext deviceContext, System.Vector3 p1, System.Vector3 p2, System.Vector3 p3, System.Vector3 p4, System.Vector3 backgroundColor, System.Vector3 foregroundColor, Camera camera ) : void
deviceContext DeviceContext
p1 System.Vector3
p2 System.Vector3
p3 System.Vector3
p4 System.Vector3
backgroundColor System.Vector3
foregroundColor System.Vector3
camera Camera
return void

RenderQuadTexture3DOnly() public method

public RenderQuadTexture3DOnly ( DeviceContext deviceContext, System.Vector3 p1, System.Vector3 p2, System.Vector3 p3, System.Vector3 p4, System.Vector3 t1, System.Vector3 t2, System.Vector3 t3, System.Vector3 t4, ShaderResourceView texture, Camera camera ) : void
deviceContext DeviceContext
p1 System.Vector3
p2 System.Vector3
p3 System.Vector3
p4 System.Vector3
t1 System.Vector3
t2 System.Vector3
t3 System.Vector3
t4 System.Vector3
texture ShaderResourceView
camera Camera
return void

RenderQuadTexture3DWireframe() public method

public RenderQuadTexture3DWireframe ( DeviceContext deviceContext, System.Vector3 p1, System.Vector3 p2, System.Vector3 p3, System.Vector3 p4, System.Vector3 t1, System.Vector3 t2, System.Vector3 t3, System.Vector3 t4, ShaderResourceView texture, System.Vector3 color, Camera camera ) : void
deviceContext DeviceContext
p1 System.Vector3
p2 System.Vector3
p3 System.Vector3
p4 System.Vector3
t1 System.Vector3
t2 System.Vector3
t3 System.Vector3
t4 System.Vector3
texture ShaderResourceView
color System.Vector3
camera Camera
return void

RenderQuadWireframeOnly() public method

public RenderQuadWireframeOnly ( DeviceContext deviceContext, System.Vector3 p1, System.Vector3 p2, System.Vector3 p3, System.Vector3 p4, System.Vector3 color, Camera camera ) : void
deviceContext DeviceContext
p1 System.Vector3
p2 System.Vector3
p3 System.Vector3
p4 System.Vector3
color System.Vector3
camera Camera
return void

RenderSphereSolidOnly() public method

public RenderSphereSolidOnly ( DeviceContext deviceContext, System.Vector3 p, float radius, System.Vector3 color, Camera camera ) : void
deviceContext DeviceContext
p System.Vector3
radius float
color System.Vector3
camera Camera
return void

RenderSphereSolidWireframe() public method

public RenderSphereSolidWireframe ( DeviceContext deviceContext, System.Vector3 p, float radius, System.Vector3 backgroundColor, System.Vector3 foregroundColor, Camera camera ) : void
deviceContext DeviceContext
p System.Vector3
radius float
backgroundColor System.Vector3
foregroundColor System.Vector3
camera Camera
return void

RenderSphereWireframeOnly() public method

public RenderSphereWireframeOnly ( DeviceContext deviceContext, System.Vector3 p, float radius, System.Vector3 color, Camera camera ) : void
deviceContext DeviceContext
p System.Vector3
radius float
color System.Vector3
camera Camera
return void