Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/sdl_ts/mod.ts>SDL.RenderCopy

SDL TypeScript bindings.
Latest
function SDL.RenderCopy
import { SDL } from "https://deno.land/x/sdl_ts@0.0.6/mod.ts";
const { RenderCopy } = SDL;

Parameters

renderer: PointerTo<Renderer>
texture: PointerTo<Texture>
srcrect: PointerTo<Rect> | null
dstrect: PointerTo<Rect> | null