@types/three
Version:
TypeScript definitions for three
16 lines (13 loc) • 382 B
TypeScript
import { Camera, Color, Node } from "three/webgpu";
export interface DepthAwareBlendOptions {
blendColor?: Node | Color;
edgeRadius?: Node<"int"> | number;
edgeStrength?: Node<"float"> | number;
}
export const depthAwareBlend: (
baseNode: Node,
blendNode: Node,
depthNode: Node,
camera: Camera,
options?: DepthAwareBlendOptions,
) => Node<"vec4">;