SetShapesTexture method

  1. @override
void SetShapesTexture(
  1. TextureD texture,
  2. RectangleD source
)
override

Set texture and rectangle to be used on shapes drawing

Implementation

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