sdlxRenderTexture9GridTiled function render
extern SDL_DECLSPEC bool SDLCALL SDL_RenderTexture9GridTiled(SDL_Renderer *renderer, SDL_Texture *texture, const SDL_FRect *srcrect, float left_width, float right_width, float top_height, float bottom_height, float scale, const SDL_FRect *dstrect, float tileScale)
See also:
Implementation
bool sdlxRenderTexture9GridTiled(
Pointer<SdlRenderer> renderer,
Pointer<SdlTexture> texture, {
required double leftWidth,
required double rightWidth,
required double topHeight,
required double bottomHeight,
SdlxFRect? srcrect,
double scale = 1,
SdlxFRect? dstrect,
double tileScale = 1,
}) => ffi.using(
(arena) => sdlRenderTexture9GridTiled(
renderer,
texture,
srcrect?.toNative(arena) ?? nullptr,
leftWidth,
rightWidth,
topHeight,
bottomHeight,
scale,
dstrect?.toNative(arena) ?? nullptr,
tileScale,
),
);