rename & documentation
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#ifndef _FLUTTER_FILAMENT_FFI_API_H
|
#ifndef _DART_FILAMENT_FFI_API_H
|
||||||
#define _FLUTTER_FILAMENT_FFI_API_H
|
#define _DART_FILAMENT_FFI_API_H
|
||||||
|
|
||||||
#include "DartFilamentApi.h"
|
#include "DartFilamentApi.h"
|
||||||
|
|
||||||
@@ -9,10 +9,11 @@ extern "C"
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
///
|
///
|
||||||
/// This header replicates most of the methods in FlutterFilamentApi.h, and is only intended to be used to generate client FFI bindings.
|
/// This header replicates most of the methods in DartFilamentApi.h.
|
||||||
/// The intention is that calling one of these methods will call its respective method in FlutterFilamentApi.h, but wrapped in some kind of thread runner to ensure thread safety.
|
/// It represents the interface for:
|
||||||
|
/// - invoking those methods that must be called on the main Filament engine thread
|
||||||
|
/// - setting up a render loop
|
||||||
///
|
///
|
||||||
|
|
||||||
typedef int32_t EntityId;
|
typedef int32_t EntityId;
|
||||||
typedef void (*FilamentRenderCallback)(void *const owner);
|
typedef void (*FilamentRenderCallback)(void *const owner);
|
||||||
|
|
||||||
@@ -108,4 +109,4 @@ extern "C"
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // _FLUTTER_FILAMENT_FFI_API_H
|
#endif // _DART_FILAMENT_FFI_API_H
|
||||||
|
|||||||
Reference in New Issue
Block a user