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

x/caviar/src/entities/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.4.11/src/entities/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)