UNPKG

@types/three

Version:
19 lines (11 loc) 468 B
import { NodeRepresentation, ShaderNodeObject } from "three/tsl"; import { 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: NodeRepresentation) => ShaderNodeObject<SMAANode>;