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

x/sdl2/mod.ts>Surface.loadBmp

SDL2 module for Deno
Latest
method Surface.loadBmp
import { Surface } from "https://deno.land/x/sdl2@0.9.0/mod.ts";

Parameters

path: string

the path to the bmp (bitmap) file

Returns

a Surface