RavEngine
Loading...
Searching...
No Matches
WGSurface.hpp
1#pragma once
2#include <RGL/Types.hpp>
3#include <RGL/Surface.hpp>
4#include <emscripten/html5_webgpu.h>
5
6namespace RGL{
7 struct SurfaceWG : public ISurface{
8 WGPUSurface surface = nullptr;
9 SurfaceWG(const void* pointer);
10 virtual ~SurfaceWG();
11 };
12
13 RGLSurfacePtr CreateWGSurfaceFromPlatformHandle(const void* pointer);
14}
Definition Surface.hpp:8
Definition WGSurface.hpp:7