load_gltf function

  1. @Native<EntityId Function(Pointer<Void>, Pointer<Char>, Pointer<Char>)>(ffi.Pointer<ffi.Void>, ffi.Pointer<ffi.Char>, ffi.Pointer<ffi.Char>)>(symbol: '_load_gltf', assetId: 'thermion_dart')
int load_gltf(
  1. Pointer<Void> sceneManager,
  2. Pointer<Char> assetPath,
  3. Pointer<Char> relativePath
)

Implementation

@ffi.Native<
    EntityId Function(ffi.Pointer<ffi.Void>, ffi.Pointer<ffi.Char>,
        ffi.Pointer<ffi.Char>)>(symbol: '_load_gltf', assetId: 'thermion_dart')
external int load_gltf(
  ffi.Pointer<ffi.Void> sceneManager,
  ffi.Pointer<ffi.Char> assetPath,
  ffi.Pointer<ffi.Char> relativePath,
);