GenMeshCubicmap method
Generate cubes-based map mesh from image data
Implementation
@override
Mesh GenMeshCubicmap(
Image cubicmap,
Vector3 cubeSize,
) => Mesh$.RefCapture(
RaylibCaptureIds.GenMeshCubicmap,
(p) => _ffi.GenMeshCubicmap(
Image$.Ref1(cubicmap).asNativePointer<ImageC>().ref,
Vector3$.Ref1(cubeSize).asNativePointer<Vector3C>().ref,
).toDart(p.asNativePointer()),
);