Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback


SDL2 module for Deno
import * as sdl2 from "";


SDL2 canvas.

Color is a helper class for representing colors.

Font is a helper class for rendering text.

A structure that contains the definition of a rectangle, with the origin at the upper left.

A structure that contains a collection of pixels used in software blitting.

A structure that contains an efficient, driver-specific representation of pixel data.

A class used to create textures.

A video subsystem.

A window.

A window builder to create a window.


An enum that contains structures for the different event types.

A structure that contains pixel format information.

An enumeration of texture access patterns.


An interface that contains information about a texture.