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

x/caviar/src/entities/sprites/FrameBuffer.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.3.2/src/entities/sprites/FrameBuffer.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)