C# Class ModelViewer.Renderer.UserInterfaceRenderer9

Provides functionality to render a user interface using Direct3D9.
Inheritance: UserInterfaceRenderer
Afficher le fichier Open project: nohbdy/ffxivmodelviewer Class Usage Examples

Méthodes publiques

Méthode Description
UserInterfaceRenderer9 ( Device device, int width, int height ) : System

Initializes a new instance of the UserInterfaceRenderer9 class.

Méthodes protégées

Méthode Description
Dispose ( bool disposeManagedResources ) : void

Disposes of object resources.

Flush ( ) : void

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

Private Methods

Méthode Description
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.

Method Details

Dispose() protected méthode

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

Flush() protected méthode

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

UserInterfaceRenderer9() public méthode

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.
Résultat System