GenImageChecked method

  1. @override
ImageD GenImageChecked(
  1. int width,
  2. int height,
  3. int checksX,
  4. int checksY,
  5. ColorD col1,
  6. ColorD col2,
)
override

Generate image: checked

Implementation

@override
ImageD GenImageChecked(
  int width,
  int height,
  int checksX,
  int checksY,
  ColorD col1,
  ColorD col2,
) => $.Image$.RefCapture(
  RaylibCaptureIds.GenImageChecked,
  (p) => _ffi.GenImageChecked(
    width,
    height,
    checksX,
    checksY,
    $.Color$.Ref1(col1).asNativePointer<ColorC>().ref,
    $.Color$.Ref2(col2).asNativePointer<ColorC>().ref,
  ).toDart(p.asNativePointer()),
);