Skip to main content
Module

x/sdl_ts/mod.ts>SDL.CreateRGBSurfaceFrom

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

Parameters

pixels: TypedArray
width: i32
height: i32
depth: i32
pitch: i32
Rmask: u32
Gmask: u32
Bmask: u32
Amask: u32