C# 클래스 ModelViewer.Renderer.UserInterfaceRenderer

Provides baseline functionality for rendering a user interface.
상속: IDisposable
파일 보기 프로젝트 열기: nohbdy/ffxivmodelviewer 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Disposes of object resources.

Render ( UserInterface userInterface ) : void

Renders the specified user interface.

보호된 메소드들

메소드 설명
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.

RenderRectangle ( int x, int y, int width, int height, SlimDX.Color4 color ) : void

Renders a rectangle.

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

Renders a string.

메소드 상세

Dispose() 공개 메소드

Disposes of object resources.
public Dispose ( ) : void
리턴 void

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 abstract Flush ( ) : void
리턴 void

Render() 공개 메소드

Renders the specified user interface.
public Render ( UserInterface userInterface ) : void
userInterface UserInterface The user interface to render.
리턴 void