Skip to main content
Module

x/sdl2/mod.ts>Texture#update

SDL2 module for Deno
Go to Latest
method Texture.prototype.update
import { Texture } from "https://deno.land/x/sdl2@0.5.1/mod.ts";

Parameters

pixels: Uint8Array
pitch: number
optional
rect: Rect