apl-easy-gl
Version:
Various easy WebGL helper functions
10 lines (9 loc) • 377 B
TypeScript
import { ShaderUniform } from "./ShaderUniform";
import { ShaderAttribute } from "./ShaderAttribute";
export interface ShaderProgram {
program: WebGLProgram;
uniforms: Record<string, ShaderUniform>;
attributes: Record<string, ShaderAttribute>;
setUniforms: (hash: Record<string, any>) => void;
setAttributes: (hash: Record<string, any>) => void;
}