Manages graphics-related objects, like graphics screens and presentation targets, and graphics resources.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.0.0.0 (1.0.0.9509)

Syntax

C#
public interface IGraphicsService
Visual Basic
Public Interface IGraphicsService
Visual C++
public interface class IGraphicsService

Remarks

The IGraphicsService is the main interface for graphics-related tasks. It provides access to the GraphicsDevice, the game main window (see GameForm, Windows only), graphics screens (see Screens) and PresentationTargets. GraphicsScreens render game content, like the 3D scene or the HUD. The graphics service manages a collection of screens, which are rendered back to front. A presentation target (see interface IPresentationTarget) is either a window, a Windows Forms control or a WPF control where the graphics can be displayed.

See Also