| GraphicsManagerData 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 public Dictionary<string, Object> Data { get; }
Public ReadOnly Property Data As Dictionary(Of String, Object)
Get
public:
virtual property Dictionary<String^, Object^>^ Data {
Dictionary<String^, Object^>^ get () sealed;
}
abstract Data : Dictionary<string, Object> with get
override Data : Dictionary<string, Object> with get
Property Value
Type:
DictionaryString,
ObjectThe dictionary with user-defined data.
Implements
IGraphicsServiceDataRemarks
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