3d/src/renderer/helper-textures/black.ts

5 lines
187 B
TypeScript

import { Texture } from "../texture";
import { WebGLApp } from "../webgl";
import black from "./black.png";
export const createBlackTexture = (app: WebGLApp) => new Texture(app, black);