feat! js_interop improvements
This commit is contained in:
16
thermion_dart/native/web/include/ThermionWebApi.h
Normal file
16
thermion_dart/native/web/include/ThermionWebApi.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
#include <emscripten/html5_webgl.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void Thermion_resizeCanvas(int width, int height);
|
||||
EMSCRIPTEN_WEBGL_CONTEXT_HANDLE Thermion_createGLContext();
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user