namespace AcDream.App.UI;
/// Renders a 3-D mini-scene into an off-screen buffer and returns the GL color-texture
/// handle. Called by the per-frame pre-UI hook (GameWindow), NOT from UiViewport.OnDraw. Implemented
/// by PaperdollViewportRenderer in AcDream.App.Rendering. Intra-App decoupling so the UI widget
/// doesn't depend on WbDrawDispatcher/GameWindow.
public interface IUiViewportRenderer
{
/// Render at (width,height); return the color-texture GL handle, or 0 if nothing rendered.
uint Render(int width, int height);
}