UNPKG

@types/three

Version:
19 lines (11 loc) 440 B
import { ShaderNodeObject } from "three/tsl"; import { Node, TempNode, TextureNode } from "three/webgpu"; declare class SMAANode extends TempNode { textureNode: TextureNode; constructor(textureNode: TextureNode); getTextureNode(): TextureNode; setSize(width: number, height: number): void; getAreaTexture(): string; getSearchTexture(): string; } export const smaa: (node: Node) => ShaderNodeObject<SMAANode>;