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