expose Material->getFeautureLevel

This commit is contained in:
Nick Fisher
2025-07-01 10:07:35 +08:00
parent 0b18caf4ff
commit 506d2fb562
2 changed files with 16 additions and 0 deletions

View File

@@ -73,6 +73,7 @@ extern "C"
typedef enum TTransparencyMode TTransparencyMode;
EMSCRIPTEN_KEEPALIVE TMaterialInstance *Material_createInstance(TMaterial *tMaterial);
EMSCRIPTEN_KEEPALIVE TFeatureLevel Material_getFeatureLevel(TMaterial *tMaterial);
EMSCRIPTEN_KEEPALIVE TMaterial *Material_createImageMaterial(TEngine *tEngine);
EMSCRIPTEN_KEEPALIVE TMaterial *Material_createGridMaterial(TEngine *tEngine);
EMSCRIPTEN_KEEPALIVE TMaterial *Material_createGizmoMaterial(TEngine *tEngine);