lingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
10 lines (9 loc) • 468 B
TypeScript
import { Texture } from "three";
import { PointType } from "../utils/isPoint";
export type TextureParams = [
texture: string,
textureRepeat: number | PointType,
textureFlipY: boolean,
textureRotation: number
];
export declare const requestTexture: (params: TextureParams, paramString?: string, context?: void) => Texture, releaseTexture: (object: Texture | null | undefined) => boolean | import("@lincode/promiselikes").Cancellable | null | undefined;