GenMeshCubicmap method
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()),
);