| IGraphicsServiceData Property |
Gets custom data associated with this graphics service or the graphics device.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax Dictionary<string, Object> Data { get; }
ReadOnly Property Data As Dictionary(Of String, Object)
Get
property Dictionary<String^, Object^>^ Data {
Dictionary<String^, Object^>^ get ();
}
abstract Data : Dictionary<string, Object> with get
Property Value
Type:
DictionaryString,
ObjectThe 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