stbvox_set_buffer function

  1. @Native<Void Function(Pointer<stbvox_mesh_maker>, Int, Int, Pointer<Void>, Size)>(ffi.Pointer<stbvox_mesh_maker>, ffi.Int, ffi.Int, ffi.Pointer<ffi.Void>, ffi.Size)>()
void stbvox_set_buffer(
  1. Pointer<stbvox_mesh_maker> mm,
  2. int mesh,
  3. int slot,
  4. Pointer<Void> buffer,
  5. int len,
)

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,
);