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