UNPKG

gl-layer

Version:

A lightweight WebGL setup layer that simplifies renderer management, uniform handling, and cleanup.

3 lines (2 loc) 163 B
import { TextureParams } from "../../types/texture-shader.types"; export declare const loadTexture: ({ gl, url, }: TextureParams) => Promise<WebGLTexture | null>;