Skip to main content
Module

x/caviar/mod.ts>FrameBuffer

⚡ Blazing fast, modern, Game Engine powered by WebGPU for Deno and the browser
Go to Latest
class FrameBuffer
extends Entity
import { FrameBuffer } from "https://deno.land/x/caviar@2.5.4/mod.ts";

Constructors

new
FrameBuffer(
world: World,
buffer: Uint8Array,
width?: number,
height?: number,
)

Properties

height: number
rawData: Uint8Array
requestStart: boolean
width: number

Methods

setBuffer(buffer: Uint8Array)