create_geometry function
- @Native<EntityId Function(Pointer<Void>, Pointer<Float>, Int, Pointer<Uint16>, Int, Int, Pointer<Char>)>(ffi.Pointer<ffi.Void>, ffi.Pointer<ffi.Float>, ffi.Int, ffi.Pointer<ffi.Uint16>, ffi.Int, ffi.Int, ffi.Pointer<ffi.Char>)>(symbol: '_create_geometry', assetId: 'thermion_dart')
int
create_geometry(
- Pointer<Void> viewer,
- Pointer<Float> vertices,
- int numVertices,
- Pointer<Uint16> indices,
- int numIndices,
- int primitiveType,
- Pointer<Char> materialPath,
)
Implementation
@ffi.Native<
EntityId Function(
ffi.Pointer<ffi.Void>,
ffi.Pointer<ffi.Float>,
ffi.Int,
ffi.Pointer<ffi.Uint16>,
ffi.Int,
ffi.Int,
ffi.Pointer<ffi.Char>)>(
symbol: '_create_geometry', assetId: 'thermion_dart')
external int create_geometry(
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,
);