mirror of
https://github.com/ZuneDev/MicrosoftIris.git
synced 2026-07-27 13:13:29 -07:00
More engine API work
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
using System;
|
||||
using Microsoft.Iris.Render.Interop;
|
||||
|
||||
namespace Microsoft.Iris.Render.Engine;
|
||||
|
||||
// A custom (non-generic) delegate so ReadOnlySpan<byte> is legal here -- Span<T> can't
|
||||
// be an Action<T>/Func<T> 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<byte> data);
|
||||
Reference in New Issue
Block a user