Skip to main content
Module

x/gluten/mod.ts>WebGLRenderingContext#activeTexture

OpenGL bindings & WebGL API implementation for Deno.
Go to Latest
method WebGLRenderingContext.prototype.activeTexture
import { WebGLRenderingContext } from "https://deno.land/x/gluten@0.1.3/mod.ts";

Specifies which texture unit to make active.

Parameters

texture: number

texture unit to activate