UNPKG

macaw-threejs

Version:

Macaw Three.js is ready to use library to connect Three.js with your project.<br/> Under the hood is a fully optimized, clean Three.js set up to make it easy to implement effects for images (future text, etc.). With effects out of the box, you don't even

29 lines (28 loc) 905 B
import type { FragmentString, FragmentStringKeys, Uniform, VertexString, VertexStringKeys } from "../../Effect"; import type { Effects } from "../Core.types"; interface Props { baseUniforms: Uniform; baseVertex: VertexString; baseFragment: FragmentString; isImage: boolean; } export declare class MacawShader { uniforms: Uniform; vertexShader: string; fragmentShader: string; readonly baseUniforms: Uniform; readonly baseVertex: VertexString; readonly baseFragment: FragmentString; readonly isImage: boolean; readonly vertexKeys: VertexStringKeys; readonly fragmentKeys: FragmentStringKeys; constructor(options: Props); create(effects?: Effects): void; get PrettyShaders(): { prettyVertex: string; prettyFragment: string; }; private _removeUndefined; private _prettifier; } export {};