|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
#include <WebGPUDevice.hpp>
Public Attributes | |
| NativeWindowKind | kind |
| void * | handle |
| void * | instance = nullptr |
A CAMetalLayer* / ANativeWindow* / HWND / wl_surface* for a native-C++ build; compiled out of the wasm build, where the host injects an already-built surface instead.
Definition at line 272 of file WebGPUDevice.hpp.
| void* esengine::WebGPUDevice::NativeSurface::handle |
The window: an HWND, a wl_surface* — or, for Xlib, the Window XID, which is an integer and travels here as one.
Definition at line 276 of file WebGPUDevice.hpp.
Referenced by esengine::WebGPUDevice::configureSurface().
| void* esengine::WebGPUDevice::NativeSurface::instance = nullptr |
What the window belongs to, which the descriptor asks for beside it: the HINSTANCE on Win32, the wl_display* on Wayland, the Display* on Xlib.
Definition at line 280 of file WebGPUDevice.hpp.
Referenced by esengine::WebGPUDevice::configureSurface().
| NativeWindowKind esengine::WebGPUDevice::NativeSurface::kind |
Definition at line 273 of file WebGPUDevice.hpp.
Referenced by esengine::WebGPUDevice::configureSurface().