SetShapesTexture method

  1. @override
void SetShapesTexture(
  1. Texture texture,
  2. Rectangle source
)
override

Set texture and rectangle to be used on shapes drawing

Implementation

@override
void SetShapesTexture(
  Texture texture,
  Rectangle source,
) => _ffi.SetShapesTexture(
  Texture$.Ref1(texture).asNativePointer<TextureC>().ref,
  Rectangle$.Ref1(source).asNativePointer<RectangleC>().ref,
);