GenMeshCubicmap method

  1. @override
MeshD GenMeshCubicmap(
  1. ImageD cubicmap,
  2. Vector3D cubeSize
)
override

Generate cubes-based map mesh from image data

Implementation

@override
MeshD GenMeshCubicmap(
  ImageD cubicmap,
  Vector3D cubeSize,
) => $.Mesh$.RefCapture(
  RaylibCaptureIds.GenMeshCubicmap,
  (p) => _ffi.GenMeshCubicmap(
    $.Image$.Ref1(cubicmap).asNativePointer<ImageC>().ref,
    $.Vector3$.Ref1(cubeSize).asNativePointer<Vector3C>().ref,
  ).toDart(p.asNativePointer()),
);