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

x/caviar/src/renderers/webgl/util.ts>loadTexture

⚡ Blazing fast, modern, Game Engine powered by WebGPU for Deno and the browser
Go to Latest
function loadTexture
import { loadTexture } from "https://deno.land/x/caviar@2.2.0/src/renderers/webgl/util.ts";

Parameters

image: HTMLImage
optional
level = [UNSUPPORTED]
optional
internalFormat = [UNSUPPORTED]
optional
border = [UNSUPPORTED]
optional
srcFormat = [UNSUPPORTED]
optional
srcType = [UNSUPPORTED]