35 lines
910 B
C
35 lines
910 B
C
#pragma once
|
|
|
|
#include "APIExport.h"
|
|
#include "APIBoundaryTypes.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
EMSCRIPTEN_KEEPALIVE TGltfAssetLoader *GltfAssetLoader_create(TEngine *tEngine, TMaterialProvider *tMaterialProvider);
|
|
|
|
EMSCRIPTEN_KEEPALIVE TFilamentAsset *GltfAssetLoader_load(
|
|
TEngine *tEngine,
|
|
TGltfAssetLoader *tAssetLoader,
|
|
const uint8_t *data,
|
|
size_t length,
|
|
uint8_t numInstances
|
|
);
|
|
EMSCRIPTEN_KEEPALIVE TMaterialInstance *GltfAssetLoader_getMaterialInstance(TRenderableManager *tRenderableManager, TFilamentAsset *tAsset);
|
|
EMSCRIPTEN_KEEPALIVE TMaterialProvider *GltfAssetLoader_getMaterialProvider(TGltfAssetLoader *tAssetLoader);
|
|
|
|
EMSCRIPTEN_KEEPALIVE int32_t FilamentAsset_getResourceUriCount(
|
|
TFilamentAsset *tFilamentAsset
|
|
);
|
|
|
|
EMSCRIPTEN_KEEPALIVE const char* const* FilamentAsset_getResourceUris(
|
|
TFilamentAsset *tFilamentAsset
|
|
);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|