RynthCore/src/RynthCore.Engine/UI/IOverlaySurfaceBridge.cs
Tom Bohar 68c301dac8 RynthCore as of 2026-09-05 (internal f9abab9)
A snapshot of the working tree for aelrynth.com/git/: the code, build files
and public docs. Internal review notes and agent instructions are left out.
MIT licensed; see LICENSE.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 21:22:59 -04:00

15 lines
537 B
C#

using System;
namespace RynthCore.Engine.UI;
internal interface IOverlaySurfaceBridge
{
string Name { get; }
bool SupportsGpuInterop { get; }
bool ShouldAttemptSharedTextures { get; }
void SubmitSoftwareFrame(IntPtr pixelData, int byteCount, int width, int height);
void SubmitSharedTexture(OverlaySurfaceKind kind, OverlaySharedTextureDescriptor descriptor);
void NotifySharedTextureOpened(IntPtr sharedHandle);
void NotifySharedTextureUnavailable();
bool TryConsume(out OverlaySurfaceFrame? frame);
}