C# Класс ModelViewer.Renderer.UserInterfaceRenderer

Provides baseline functionality for rendering a user interface.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

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

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