Click or drag to resize
DigitalRuneIGraphicsServiceData Property
Gets custom data associated with this graphics service or the graphics device.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
Dictionary<string, Object> Data { get; }

Property Value

Type: DictionaryString, Object
The dictionary with user-defined data.
Remarks
Some resources, like default textures, should exist only once per graphics device. Such resources can be stored in this dictionary. The disposable objects (i.e. objects that implement IDisposable) in this dictionary will be automatically disposed when the graphics device is disposed.
See Also