stbvox_set_buffer function
Call this function to initialize a mesh-maker context structure used to build meshes. You should have one context per thread that's building meshes.
Implementation
@ffi.Native<
ffi.Void Function(
ffi.Pointer<stbvox_mesh_maker>,
ffi.Int,
ffi.Int,
ffi.Pointer<ffi.Void>,
ffi.Size,
)
>()
external void stbvox_set_buffer(
ffi.Pointer<stbvox_mesh_maker> mm,
int mesh,
int slot,
ffi.Pointer<ffi.Void> buffer,
int len,
);