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

x/caviar/deps.ts>WebGL2RenderingContext#texSubImage2D

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

Parameters

target: GLenum
level: GLint
xoffset: GLint
yoffset: GLint
width: GLsizei
height: GLsizei
format: GLenum
type: GLenum
pixels: ArrayBufferView | null

Parameters

target: GLenum
level: GLint
xoffset: GLint
yoffset: GLint
format: GLenum
type: GLenum
image: Image