ImageFromChannel method
Create an image from a selected channel of another image (GRAYSCALE)
Implementation
@override
ImageD ImageFromChannel(
ImageD image,
int selectedChannel,
) => $.Image$.RefCapture(
RaylibCaptureIds.ImageFromChannel,
(p) => _ffi.ImageFromChannel(
$.Image$.Ref1(image).asNativePointer<ImageC>().ref,
selectedChannel,
).toDart(p.asNativePointer()),
);