载入中...
搜索中...
未找到
WindowSurfaceHost.h
浏览该文件的文档.
#define EVENGINE_API_FOUNDATION_INLINE
仅供"只有内联成员"的类型使用的组宏:拥有者 dllexport,消费方不导入。
Definition Export.h:170
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
I window surface host.
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).