C# Класс Mojo.DebugRenderer

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

DebugRenderer() публичный Метод

public DebugRenderer ( SlimDX device ) : System
device SlimDX
Результат System

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

RenderBoxGreyScaleTexture3DOnly() публичный Метод

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
Результат void

RenderBoxGreyScaleTexture3DWireframe() публичный Метод

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
Результат void

RenderBoxSolidOnly() публичный Метод

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
Результат void

RenderBoxSolidWireframe() публичный Метод

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
Результат void

RenderBoxTexture3DOnly() публичный Метод

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
Результат void

RenderBoxTexture3DWireframe() публичный Метод

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
Результат void

RenderBoxWireframeOnly() публичный Метод

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
Результат void

RenderLine() публичный Метод

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
Результат void

RenderPoint() публичный Метод

public RenderPoint ( DeviceContext deviceContext, System.Vector3 p, System.Vector3 color, Camera camera ) : void
deviceContext DeviceContext
p System.Vector3
color System.Vector3
camera Camera
Результат void

RenderQuadGreyScaleTexture3DOnly() публичный Метод

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
Результат void

RenderQuadGreyScaleTexture3DWireframe() публичный Метод

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
Результат void

RenderQuadSolidOnly() публичный Метод

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
Результат void

RenderQuadSolidWireframe() публичный Метод

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
Результат void

RenderQuadTexture3DOnly() публичный Метод

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
Результат void

RenderQuadTexture3DWireframe() публичный Метод

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
Результат void

RenderQuadWireframeOnly() публичный Метод

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
Результат void

RenderSphereSolidOnly() публичный Метод

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
Результат void

RenderSphereSolidWireframe() публичный Метод

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
Результат void

RenderSphereWireframeOnly() публичный Метод

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
Результат void