using System; using Microsoft.Iris.Render.Interop; namespace Microsoft.Iris.Render.Engine; // A custom (non-generic) delegate so ReadOnlySpan is legal here -- Span can't // be an Action/Func type argument (ref structs aren't valid generic arguments), // but a hand-declared delegate type can take one directly. public delegate void BufferReceivedHandler(ContextID sourceContext, RENDERHANDLE bufferHandle, BufferFlags flags, ReadOnlySpan data);