UNPKG

wggl

Version:

A friendly interface to shaders

12 lines (11 loc) 298 B
import { GlLocatable, GlType } from "./primitives"; export declare enum UniformType { float = "float", int = "int" } export declare class Uniform implements GlLocatable { length: number; type: UniformType; glType: GlType; constructor(length?: number, type?: UniformType); }