载入中...
搜索中...
未找到
WindowSurfaceHost.h
浏览该文件的文档.
Render-surface host for the window module (provided by graphics).
Definition WindowSurfaceHost.h:27
virtual void onNativeWindowDestroyed()=0
Native window is about to be destroyed; drop the surface/swapchain.
virtual ~IWindowSurfaceHost()=default
virtual void setViewportSize(int logicalWidth, int logicalHeight, int pixelWidth, int pixelHeight)=0
Logical and pixel viewport after creation or resize.
virtual void initWithWindow(void *nativeWindow)=0
Bind the render surface to a freshly created native window.
virtual void requestSurfaceRecreate()=0
Rebuild the render surface on the next frame (mobile foreground).
virtual void setActive(bool active)=0
Pause/resume presenting (mobile background/foreground).
Definition Build.cpp:11