Table of Contents

Delegate GraphicsDevice.CreateSharedData<T>

Namespace
Stride.Graphics
Assembly
Stride.Graphics.dll

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.