Delegate GraphicsDevice.CreateSharedData<T>
A delegate called to create shareable data. See remarks.
public delegate T GraphicsDevice.CreateSharedData<out T>(GraphicsDevice device) where T : class, IDisposable
Parameters
device
GraphicsDevice
Returns
- T
A new instance of the data to share.
Type Parameters
T
Type of the data to create.
Remarks
Because this method is being called from a lock region, this method should not be time consuming.