mirror of
https://github.com/johndoe6345789/SDL3CPlusPlus.git
synced 2026-04-26 14:44:58 +00:00
stuff
This commit is contained in:
14
MaterialX/source/JsMaterialX/JsMaterialXFormat/JsUtil.cpp
Normal file
14
MaterialX/source/JsMaterialX/JsMaterialXFormat/JsUtil.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#include <JsMaterialX/Helpers.h>
|
||||
#include <MaterialXFormat/Util.h>
|
||||
|
||||
#include <emscripten/bind.h>
|
||||
|
||||
namespace ems = emscripten;
|
||||
namespace mx = MaterialX;
|
||||
|
||||
EMSCRIPTEN_BINDINGS(xformatUtil)
|
||||
{
|
||||
ems::function("getPathListSeparator", ems::optional_override([](){ return mx::PATH_LIST_SEPARATOR; }));
|
||||
ems::function("getSearchPathEnvVar", ems::optional_override([](){ return mx::MATERIALX_SEARCH_PATH_ENV_VAR; }));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user