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

x/caviar/deps.ts

⚡ Blazing fast, modern, Game Engine powered by WebGPU for Deno and the browser
Go to Latest
import * as caviar from "https://deno.land/x/caviar@2.6.7/deps.ts";

Classes

c
DwmWindow
abstract

Represents a Window

Event Loop class

Represents an opaque buffer object storing data such as vertices or colors.

This is the parent interface for all WebGL resource objects.

Combination of two compiled WebGLShaders consisting of a vertex shader and a fragment shader (both written in GLSL).

Provides an interface to the OpenGL ES 2.0 graphics rendering context for the drawing surface of a dwm window.

Can either be a vertex or a fragment shader. A WebGLProgram requires both types of shaders.

Event triggered when a window is closed

Event triggered when a window requested to close

Event triggered when a window is dropped

Base window event class

Event triggered when a window is focused

Event triggered when a window's framebuffersize is changed

Event triggered when a window receives input

Event triggered when a Key state is changed

Event triggered when a window is maximized

Event triggered when a window is minimized

Event is triggered when mouse state changes

Event triggered when a window is moved

Event triggered when a window requests a redraw event

Event triggered when a window is refreshed

Event triggered when a window is resized

Event triggered when a window is scrolled