Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/caviar/deno_gl/mod.ts>WebGL2RenderingContext#readPixels

⚡ Blazing fast, modern, Game Engine powered by WebGPU for Deno and the browser
Go to Latest
method WebGL2RenderingContext.prototype.readPixels
Re-export
import { WebGL2RenderingContext } from "https://deno.land/x/caviar@2.1.1/deno_gl/mod.ts";

Parameters

width: GLsizei
height: GLsizei
format: GLenum
type: GLenum
pixels: ArrayBufferView | null | number