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

x/gluten/src/webgl/renderingContext.ts>WebGLRenderingContext#framebufferTexture2D

OpenGL bindings & WebGL API implementation for Deno.
Go to Latest
method WebGLRenderingContext.prototype.framebufferTexture2D
import { WebGLRenderingContext } from "https://deno.land/x/gluten@0.1.0/src/webgl/renderingContext.ts";

Attaches a texture to a WebGLFramebuffer.

Parameters

target: number
attachment: number
textarget: number
texture: WebGLTexture | null
level: number