Searched refs:canvasSelector (Results 1 – 1 of 1) sorted by relevance
57 wgpu::SwapChain getSwapChainForCanvas(wgpu::Device device, std::string canvasSelector, int width, i… in getSwapChainForCanvas() argument59 surfaceSelector.selector = canvasSelector.c_str(); in getSwapChainForCanvas()101 WebGPUSurface(std::string canvasSelector, int width, int height) { in WebGPUSurface() argument103 fCanvasSwap = getSwapChainForCanvas(fDevice, canvasSelector, width, height); in WebGPUSurface()