GenMeshHeightmap method
Generate heightmap mesh from image data
Implementation
@override
MeshD GenMeshHeightmap(
ImageD heightmap,
Vector3D size,
) => $.Mesh$.RefCapture(
RaylibCaptureIds.GenMeshHeightmap,
(p) => _ffi.GenMeshHeightmap(
$.Image$.Ref1(heightmap).asNativePointer<ImageC>().ref,
$.Vector3$.Ref1(size).asNativePointer<Vector3C>().ref,
).toDart(p.asNativePointer()),
);