create_geometry_ffi function
- @Native<Void Function(Pointer<Void>, Pointer<Float>, Int, Pointer<Uint16>, Int, Int, Pointer<Char>, Pointer<NativeFunction<Void Function(EntityId)>>)>(ffi.Pointer<ffi.Void>, ffi.Pointer<ffi.Float>, ffi.Int, ffi.Pointer<ffi.Uint16>, ffi.Int, ffi.Int, ffi.Pointer<ffi.Char>, ffi.Pointer<ffi.NativeFunction<ffi.Void Function(EntityId)>>)>()
void
create_geometry_ffi(
- Pointer<Void> viewer,
- Pointer<Float> vertices,
- int numVertices,
- Pointer<Uint16> indices,
- int numIndices,
- int primitiveType,
- Pointer<Char> materialPath,
- Pointer<NativeFunction<Void Function(EntityId)>> callback,
)
Implementation
@ffi.Native<
ffi.Void Function(
ffi.Pointer<ffi.Void>,
ffi.Pointer<ffi.Float>,
ffi.Int,
ffi.Pointer<ffi.Uint16>,
ffi.Int,
ffi.Int,
ffi.Pointer<ffi.Char>,
ffi.Pointer<ffi.NativeFunction<ffi.Void Function(EntityId)>>)>()
external void create_geometry_ffi(
ffi.Pointer<ffi.Void> viewer,
ffi.Pointer<ffi.Float> vertices,
int numVertices,
ffi.Pointer<ffi.Uint16> indices,
int numIndices,
int primitiveType,
ffi.Pointer<ffi.Char> materialPath,
ffi.Pointer<ffi.NativeFunction<ffi.Void Function(EntityId)>> callback,
);