C# 클래스 ModelViewer.Renderer.UserInterfaceRenderer9

Provides functionality to render a user interface using Direct3D9.
상속: UserInterfaceRenderer
파일 보기 프로젝트 열기: nohbdy/ffxivmodelviewer 1 사용 예제들

공개 메소드들

메소드 설명
UserInterfaceRenderer9 ( Device device, int width, int height ) : System

Initializes a new instance of the UserInterfaceRenderer9 class.

보호된 메소드들

메소드 설명
Dispose ( bool disposeManagedResources ) : void

Disposes of object resources.

Flush ( ) : void

In a derived class, implements logic to flush all pending rendering commands.

비공개 메소드들

메소드 설명
MeasureString ( string text ) : System.Vector2

Computes the metrics for a string if it were to be rendered with this renderer.

RenderLine ( int x0, int y0, SlimDX.Color4 color0, int x1, int y1, SlimDX.Color4 color1 ) : void

Renders a line.

RenderString ( string text, int x, int y, SlimDX.Color4 color ) : void

Renders a string.

메소드 상세

Dispose() 보호된 메소드

Disposes of object resources.
protected Dispose ( bool disposeManagedResources ) : void
disposeManagedResources bool If true, managed resources should be /// disposed of in addition to unmanaged resources.
리턴 void

Flush() 보호된 메소드

In a derived class, implements logic to flush all pending rendering commands.
protected Flush ( ) : void
리턴 void

UserInterfaceRenderer9() 공개 메소드

Initializes a new instance of the UserInterfaceRenderer9 class.
public UserInterfaceRenderer9 ( Device device, int width, int height ) : System
device Device The device.
width int The width of the renderable area.
height int The height of the renderable area.
리턴 System